Monitors
Use heartbeat monitors to detect missed check-ins and alert when a process stops reporting.
TrigRun monitors are heartbeat checks. Instead of TrigRun calling your service, your process calls a unique ping_url on a schedule. If no ping arrives within the expected interval plus grace period, the monitor transitions to down.
This is ideal for:
- cron jobs that already run on your infrastructure
- batch pipelines
- backup jobs
- workers that need dead-man-switch monitoring
How monitors work
- Create a monitor with
expected_interval_sec - TrigRun returns a unique
ping_url - Your process calls that URL with
GETorPOST - TrigRun records the ping and moves the monitor to
up - If pings stop arriving on time, the scheduler marks it
downand can send notifications
Monitor states
| State | Meaning |
|---|---|
pending | Created, but no successful ping yet |
up | Pings are arriving on time |
down | Expected ping window elapsed without a ping |
paused | Temporarily disabled |
Create a monitor
Response:
Send a ping
Both GET and POST are supported:
Successful pings return:
If the monitor is paused:
List and inspect monitors
Pause, resume, and delete
View ping history
TrigRun stores recent monitor pings with IP and user agent metadata.
Notifications for down and recovery
Monitor rules use these events:
on_downon_recovery
Attach a rule:
When a down monitor recovers on a later ping, TrigRun automatically emits on_recovery.
See Notifications for channel setup and payload examples.
CLI reference
What monitors are not
Monitors are heartbeat checks, not multi-region synthetic uptime checks. TrigRun does not probe your website from multiple geographic regions or render browsers. If you need that style of observability, pair TrigRun monitors with a dedicated uptime product.