Files
Pulse/docs/ALERTING.md
pulse-triage[bot] 8a0355a602 Explain what a healthy watchdog does not prove
Help operators distinguish a responsive Pulse server and recent watchdog heartbeat from completed polls, current agent reports and alert evaluation. Point them to existing sample times and result counters without asking for a restart or a test notification.

Refs: #5089
Contract-Neutral: Clarifies existing health and monitoring signals without changing watchdog, polling, alert evaluation, public assets routing or settings.
Change-source: pulse-maintainer
2026-11-24 23:06:40 +00:00

7.8 KiB

Set up alerting

Pulse can notify you about infrastructure problems without keeping the dashboard open. Core monitoring and threshold-based alerts are included in Community. An LLM is optional: Patrol adds scheduled analysis, while Pro adds investigations and governed fixes.

Start with one resource and one notification destination. A saved rule, an active incident and a delivered message are three separate things to check.

Choose what needs attention

Open Alerts → Thresholds, choose the platform and resource, and review the units and inherited defaults before changing a rule. Save Changes, then reload to confirm the saved value. A resource override takes precedence over its group default. Turning a metric rule Off leaves its readings visible.

Usage alerts have separate trigger and clear values to avoid repeatedly opening and closing around one threshold. Evaluation windows and activation or recovery delays can also apply. See thresholds and inheritance for the exact semantics. Do not lower a threshold or interrupt a workload just to make a test alert fire.

Choose where notifications go

Open Alerts → Notifications to configure email or a webhook destination, including supported chat and notification services. Check that notifications and the destination are enabled. For ordinary firing alerts, the destination's minimum severity and resource-tag filter must both match.

Use the destination's Test to check its connection. A successful Test sends directly and bypasses normal alert routing, schedules and the persistent delivery queue. It does not prove that an ordinary incident will reach you.

For an incident that occurs naturally, check all three steps:

  1. In Alerts → Overview, find the resource, incident and current reading.
  2. In Alerts → Notifications, inspect Recent delivery activity for the matching destination. Distinguish a policy hold from a failed delivery.
  3. Confirm that the intended recipient received the message. Provider acceptance alone does not establish receipt or that a person read it.

Rehearse the saved delivery path

In Alerts → Notifications, expand Delivery rehearsal. Save or discard settings edits first: the rehearsal uses saved email, webhook and Apprise destinations, never an unsaved destination draft.

  1. Choose a severity and optional comma-separated routing tags, then select Send rehearsal alert. The message is clearly labelled as a rehearsal.
  2. Inspect Notification admission and each destination's firing result. Passed means the destination accepted the delivery. Failed means a delivery failed. Suppressed means policy prevented delivery. Pending and Deferred remain unfinished, including grouping, quiet hours and retries. Unavailable means evidence cannot establish the outcome.
  3. Confirm receipt in the intended inbox or service. When ready, select Send recovery and finish rehearsal. This cancels pending firing messages and sends recovery only to destinations with a successful firing receipt for that rehearsal occurrence, subject to the saved recovery policy.

Rehearsals use the ordinary routing, grouping, persistent queue, transports, retry budgets and recovery receipts. They create no infrastructure incident and do not test metric detection, resource acknowledgement/maintenance, push delivery, or the independent external watchdog. Failed queue admission never falls back to a direct rehearsal send. Recent delivery activity retains actual attempts. Failed rehearsals affect ordinary delivery health. Expand Delivery details for redacted transport diagnostics and failure categories. The sample uses the performance-alert quiet-hours category, including the saved setting for suppressing critical performance alerts.

Results survive reloads and restarts. The latest 20 rehearsals are shown from a seven-day history. Finish the current rehearsal before starting another. An unconfirmed request must be refreshed or retried with its original ID, never assumed failed and resent as a new rehearsal. Expiration cancels remaining rehearsal work without inventing delivery or recovery.

If the Test succeeds but the incident does not arrive, follow missing alert notifications and severity and tag routing.

Control reminders and handle an incident

Alerts → Schedule controls delivery timing. A cooldown sets the minimum interval before an ordinary reminder, not a guaranteed delivery time. Turning cooldown Off stops ordinary reminders for that occurrence after its first notification. It does not turn off monitoring or initial delivery.

In Alerts → Overview:

Action What it means
Acknowledge Marks the incident as seen and suppresses further firing, escalation and recovery notifications while acknowledged. Monitoring continues.
Snooze Pauses that incident's notifications and escalation until the selected time. Monitoring can still detect recovery.
Unacknowledge or Resume Removes the corresponding hold. Other delivery policies still apply, so this does not guarantee an immediate resend.

Use Show acknowledged to inspect acknowledged incidents. An incident hidden from the default list has not necessarily recovered. These actions do not repair a workload or retry a failed notification.

Quiet hours are also delivery controls. Non-critical notifications are held; critical notifications remain eligible unless you explicitly suppress their categories. Resource maintenance is separate and applies to the selected resource scope. See quiet hours and incident actions before relying on a hold during maintenance.

Confirm recovery separately

Inspect fresh readings and the incident in Overview or History. A disabled rule or missing reading is not measured recovery.

When recovery notifications are enabled, a destination needs a successful firing-delivery record for that same occurrence to receive an eligible recovery message. Acknowledgement, snooze, schedules and delivery failures can still prevent it. See reminders and recovery.

Detect an outage of Pulse itself

Pulse needs its server and an outbound connection to send notifications. Configure the External watchdog under Alerts → Notifications with an independent Healthchecks-compatible service outside the power and network failure you want to detect. The watchdog setup and verification recipe explains heartbeat timing and a controlled outage test.

For website, port and device reachability, use availability checks. Pro remote probe agents report back to Pulse. They do not replace the independent watchdog or deliver notifications while Pulse is down.

A successful watchdog heartbeat means the receiver heard from Pulse. Pulse sends it based on recent activity in the monitoring loop, not on whether polls finished, agent reports were accepted or alert rules ran. A 200 from /api/health only means the web server answered.

If readings look frozen while the monitored systems still respond, compare the newest sample times in History and the reporting agents' Seen times in Machines. Allow for normal poll and report intervals, including retry delays. If you already scrape Prometheus, compare pulse_monitor_poll_total by result. Rising errors mean Pulse is still recording poll outcomes. If several expected sources give no new results, check whether collection has stopped. Check real alert delivery separately.