site1.erralert.com

← all categories

Heartbeats & check-ins

Periodic "I am alive" signals — the simplest capture pattern. Pair with a capture.freshness check that alerts when nothing arrives for N minutes.

bash

Bash heartbeat

Minimal heartbeat for Linux / macOS. Put in cron at any cadence; pair with capture.freshness.

batch

Batch / Cmd heartbeat

One-line heartbeat from cmd.exe — useful when you cannot enable PowerShell script execution. Calls powershell.exe inline to POST.

powershell

PowerShell heartbeat

Posts an empty heartbeat every time it runs. Schedule via Task Scheduler (see Scheduled-task setup) every N minutes; pair with a capture.freshness check at max_silence = 2x the schedule interval.

powershell

PowerShell heartbeat (HMAC-signed)

Same as the basic heartbeat but signs each request with HMAC-SHA256, so the receiving capture endpoint can reject anything that lacks the signing secret. Use this when allow_unsigned is OFF on the endpoint.