My heartbeat was missed
An incident on a heartbeat means no ping arrived by the deadline. Alopex cannot see your job, only its pings, so this page helps you work out which of these happened: the job did not run, the job ran but did not ping, the ping did not reach Alopex, or the deadline is tighter than the job's real timing.
Heartbeat missed
What you see
The incident is headed Missed heartbeat, with the cause Heartbeat missed. It opened at once, with no count of failures in a row. The alert went out under the Goes down alert type. The deadline was the last ping, or the heartbeat's creation if it never had one, plus Expected every (minutes) plus Grace period (minutes).
Likely causes
- The job did not run. The scheduler or cron daemon is stopped, the server was down or restarted, the crontab entry was lost in a deploy, or the job is stuck.
- The job ran and failed, so the ping that follows it was never sent. This is the intended behaviour when you ping only on success.
- The job runs, but the ping does not reach Alopex. Outbound
httpsis blocked, the URL is mistyped, or the request fails quietly because the output is discarded. - The heartbeat is new and the job has not pinged. The clock starts when you create it.
- The deadline is tighter than the job's timing. The ping can arrive later than Expected every (minutes) plus Grace period (minutes) after the previous one, for example when the job takes longer on some nights.
- The heartbeat was paused or the domain switched off and then resumed. The clock restarts from the moment you resume, so the next ping is due within the expected interval plus the grace period after that. A job that does not run within that time is reported as missed. Ping by hand after resuming, or raise Expected every (minutes) to cover the gap to the job's next run.
How to check
On the domain's Checks tab, note the time the heartbeat was last seen. Alopex shows only the latest ping, not a list of earlier ones, so use your job's own log for the history.
On the server, check whether the job ran at its scheduled time, using its own log or your scheduler's.
Send a ping by hand from the same machine:
curl -fsS -m 10 https://et.alopex.uk/<token>
The answer
OKmeans Alopex received it, and the incident recovers. Ifcurlfails, the message tells you why, such as a failed connection or a404for a token that does not match.Compare the time the job really pinged, from its own log, with Expected every (minutes) and Grace period (minutes). Open the heartbeat from the domain's Checks tab and choose Edit.
How to fix
- If the job did not run, fix the scheduler or the entry that starts it. The incident closes with the next ping.
- If the job failed, fix the failure. The job's own log is the place to look, because Alopex does not see inside it.
- If the ping cannot reach Alopex, allow outbound
httpsto the ping host, and correct the URL. Copy it again from the Heartbeat ping URL field. - If the deadline is too tight, raise Grace period (minutes) to cover the real variation, or set Expected every (minutes) to match the schedule.
- If you expected the job to stop, for example during planned work, pause the heartbeat or use a maintenance window next time.
The incident closes when the next ping arrives, and Alopex sends a recovery alert under Recovers.