← Status reporting (self-severity)
Batch — report crit batch
Sends a self-reported crit. Use for hard failures (service down, backup didn't run, disk full). Wakes everyone subscribed to crit 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-crit.cmd — tell site1.erralert.com something is broken.
REM Customise the SUMMARY value to describe what failed.
set "SUMMARY=backup script failed at last run"
curl --silent --show-error --max-time 15 -X POST ^
-H "Content-Type: application/json" ^
--data-raw "{\"hostname\": \"%COMPUTERNAME%\", \"summary\": \"%SUMMARY%\"}" ^
"YOUR_URL/crit"
Recommended pairing
Add a capture.severity check to this capture object.
capture.severity reads this and fires a crit-level alert via every channel subscribed to crit (incl. SMS if configured).
What is the filename?
status-crit.cmd — this is the suggested name for the downloaded file. Rename freely if you prefer.
site1.erralert.com