r/devops • • Oct 24 '26

Observability What are some use cases for an internal system monitoring bot?

Hey everyone! I’m exploring ways to extend an existing internal production health-check bot that monitors systems checks whether the important pages loads or not and sends status updates to Microsoft Teams.

I’m looking for ideas beyond basic health checks, such as proactive alerts, log analysis, incident detection, automated troubleshooting, or AI-powered features.

What useful automations have you built around monitoring bots? Which ones have made the biggest difference in real-world scenarios?

Would love to hear your suggestions and experiences!

8 Upvotes

18 comments sorted by

12

u/sdely Oct 24 '26

Two things matter more than any smart feature:

  1. Only post when something changes. One message when a check fails, then update that same message (or reply in its thread) while it keeps failing, and one message when it recovers. A bot that posts every check result gets muted in a week.
  2. Watch the bot itself. If the bot dies, the channel goes quiet, and quiet looks like everything is fine. Have something outside expect a ping from the bot every few minutes, and alert when the pings stop.

A small extra: an "I'm on it" button on the message, so two people don't chase the same problem.

2

u/adept2051 Oct 25 '26

We always hooked ours into the payment system and monitor the throughput level over time of related systems. Something is wrong if your payments take an unexpected drop, we spent some time setting up the metrics so we were seeing median over time slots we were interested in and then did comparative monitoring based on those and adjusted them over time (i.e as engagement declines you seen slow drops and have to account for them in future monitoring).
Normally it’ great at catching paymemnt platform integration issues, 3rd party issues it’s normally a symptom of an unhealthy game system, but we learnt that immediate payment drops off after new releases as people explore change/features. So can’t be trusted as symptomatic after an update.

1

u/ThreeAMOperator Oct 24 '26

Biggest upgrade for us was making the check look at the page content , not just the status code. Half our "outages" were a 200 OK serving an error page or a blank shell , so check for a string that only shows up when the page actually rendered properly.

Other stuff that paid off:

  • Cert and domain expiry warnings at 30 and 7 days. Boring , but an expired cert is the most embarrassing outage u can have 😂
  • Every alert says what changed recently. Last deploy , last config change , who did it. Most incidents are "something changed 20 mins ago" and that saves the first 10 mins of the call.
  • Check from outside ur own network too. If the bot runs on the same infra it's watching , it goes down with it and tells u nothing.
  • AI is actually useful for one thing here , summarising the last N log lines around the failure into 3 lines in the alert. I wouldn't let it auto-fix anything in prod without a human clicking approve.

Also if ur Teams alerts still go through the old Office 365 connector webhooks , move them to Workflows. Microsoft has been retiring those connectors.

1

u/AndreyBegma Oct 24 '26

Building on the add to cart point: when a scripted check fails, attach a recording of the run to the alert. I record user flows as Playwright scenarios with asserts, and when one fails the run and its video are marked failed, so you see what was actually on screen. In a Teams alert that's the useful attachment, whoever picks it up sees the broken page before opening the site.

1

u/josejulianariza Nov 02 '26

The biggest leap from a "status" bot to an "operations" bot is when it stops saying "this failed" and starts saying "this failed, here's the evidence."

What works best is having the bot fetch traces (via OpenTelemetry) and the last deployment when an alert fires, and paste it into the Teams thread. It saves you the first minutes of an incident, which are usually spent opening three tabs to figure out what happened.

Another use case that adds a lot of value is controlled remediation. Simple stuff, like restarting a pod or clearing a cache, but with an "Approve" button in Teams. The bot doesn't execute anything on its own; it only does it when a human gives the green light. That way you add automation without the risk of a false positive taking down production.

1

u/xGolden123 19d ago

Alert on unusual error rate spikes expiring certificates and rising response times before services go down. A bot that links alerts to relevant logs and recent deployments can also save a lot of time during incidents.

1

u/Disastrous-Town-4820 Oct 24 '26

the useful one clicks add to cart

the homepage check gives the spinner a green check

1

u/Puzzled-Garage584 Oct 31 '26

Most useful one imo is boring: when a check fails, the bot posts the last deploy and who did it right under the alert, so nobody has to go digging. I'd also swap "page loads" for a fake user actually logging in and doing the main action, since pages love returning 200 while the button behind them is dead. Watch the volume though, once a Teams channel gets chatty people mute it and then the bot is just talking to itself.

2

u/[deleted] Oct 24 '26

[removed] — view removed comment

1

u/Nimda_lel Oct 24 '26

This is super cool!

I made a PoC plugin for argo rollouts taking that a step further - the plugin calls ML model (currently only tried with DeepSeek’s models), the model going through Loki and Prometheus, detecting anomalies and deciding whether to accept/revert or ask for manual user decision.

The main idea was to detect unexpected issues like errors not previously encountered, latency issues, etc.

If you are using something like Argo Rollouts, you should give something like it a shot - code is cheap.