← Status reporting (self-severity)
Batch — report ok batch
One-line cmd.exe POST to the /ok severity URL. Pair with a capture.severity check (and a capture.freshness check on the same object, so silence also alerts).
Placeholders only. Before running, replace
YOUR_URL with your capture endpoint's POST URL
.
(Open this page from your capture object to have these auto-filled.)
@echo off
REM status-ok.cmd — tell site1.erralert.com this machine/script is healthy.
REM Replace YOUR_URL with the capture POST URL from your object's detail page.
curl --silent --show-error --max-time 15 -X POST ^
-H "Content-Type: application/json" ^
--data-raw "{\"hostname\": \"%COMPUTERNAME%\", \"summary\": \"all checks passing\"}" ^
"YOUR_URL/ok"
Recommended pairing
Add a capture.severity check to this capture object.
capture.severity with max_age_seconds = 2x your schedule interval. Add a capture.freshness check too if you want to alert when the script stops checking in entirely.
What is the filename?
status-ok.cmd — this is the suggested name for the downloaded file. Rename freely if you prefer.
site1.erralert.com