Heartbeat Monitor
Heartbeat Monitor #
Watch your cron jobs and scheduled tasks. At the end of each run, your job sends an HTTP ping to a unique URL. If the ping doesn't arrive within the expected interval, Callisto emails you.
Configuration
- Go to Uptimes → Heartbeats → New monitor.
- Give the heartbeat a name, such as "Nightly backup" or "Inventory sync".
- Set how often you expect a ping (e.g. 5 min) and a grace period (e.g. 1 min).
- Copy the ping URL it generates. It looks like
https://ping.callistosignal.com/<uuid>. - At the end of your cron job, add an HTTP call to that URL.
Add the ping to your job
curl -fsS https://ping.callistosignal.com/<uuid>
*/5 * * * * /usr/bin/php /path/to/job.php && curl -fsS https://ping.callistosignal.com/<uuid>
// At the end of your job:
file_get_contents('https://ping.callistosignal.com/<uuid>');
The ping is a GET request. A valid ping answers 200 {"ok": true, "monitor": "…", "received_at": "…"}. An unknown id returns 404. Past 60 pings a minute from the same IP address, the URL answers 429.
Notifications: you get an email if no ping arrives within the expected window (interval + grace period).
Pricing: billed monthly per monitor. See the pricing.
A public API to manage heartbeats is on the way. For now, set them up in the dashboard.