Blog Alerting & Notifications

How to Test WatchLog Alert Delivery End to End

Verify a notification channel, route a rule to it, and confirm firing and recovery from a controlled WatchLog alert.

WatchLog Kubernetes Overview with current workloads and conditions that need attention.

A test message arriving in Slack tells you WatchLog can reach that channel. It does not tell you that the rule for an unavailable workload will send there. Before relying on an alert route, verify the destination, the rule and one controlled firing and recovery.

Test the channel first

Choose where someone will actually see the alert: a Slack or Telegram channel, an email address, or a webhook receiver. In the channel settings, use Send test and confirm it arrived at the intended destination. If it does not, read the channel’s delivery status before touching thresholds. For example, a Telegram bot blocked by the chat needs a chat or bot fix, not a rule change. The cover shows WatchLog’s Overview, where problems surface; it is not the notification settings screen.

Assign the channel to one rule

Start with a built-in rule against a symptom someone can act on, such as a crash-looping workload or an agent that stops reporting. Open that rule in Alerts and select the tested channel. Keep the first route simple so it is clear which person or team should respond. Confirm the rule applies to the environment you plan to test.

Use a built-in rule for this walkthrough, including on Cloud Free. Cloud Free can display metrics you submit but cannot alert on them. Cloud Pro and supported self-hosted editions offer custom-metric rules; see the feature comparison for your metrics for the rule types available in each edition.

Verify both firing and recovery in staging

Use an isolated staging workload and a test destination. For a crash-loop rule, a disposable staging workload that repeatedly exits unsuccessfully creates a controlled condition. Leave it active long enough to meet the rule. Check that the alert appears in WatchLog, the firing message reaches the channel, and the link points to the right workload. Restore the workload and confirm the alert resolves and the channel reports recovery. A reminder means the same condition is still firing; it does not by itself mean a new incident began.

If the channel test passes but the alert is silent

  • No firing condition in WatchLog: Check the rule is enabled, applies to the target, and that enough fresh data meets its threshold and duration.
  • Alert is held back: Open Held back in Alerts. For example, a crash loop on the same workload can hold a low-ready-replica message, and an OOM alert can hold the related crash-loop notification. WatchLog still evaluates the held alerts and can send one if it outlasts the stronger alert. A cluster or fleet that stops reporting can also hold alerts based on stale data.
  • Alert fired but the destination is empty: Check the rule’s assigned channel, then that channel’s delivery status. A firing alert without a likely-cause line is not a delivery error; that line depends on what the evidence supports.

See WatchLog’s alert and notification setup for Slack, Telegram, email and webhooks, including the message and retry behavior. If you have not connected an environment yet, set up a staging installation before you test the route.

See your own servers in five minutes.

Free on WatchLog Cloud for 5 servers or nodes, or run it yourself, open source.