← Status reporting (self-severity)
Batch — report warn batch
Sends a self-reported warn. Use when something is degraded but still working (high disk usage, slow response, partial outage). Body's `summary` field is shown in the alert.
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-warn.cmd — tell site1.erralert.com something is degraded.
REM Customise the SUMMARY value to describe what's wrong.
set "SUMMARY=disk free below 20%%"
curl --silent --show-error --max-time 15 -X POST ^
-H "Content-Type: application/json" ^
--data-raw "{\"hostname\": \"%COMPUTERNAME%\", \"summary\": \"%SUMMARY%\"}" ^
"YOUR_URL/warn"
Recommended pairing
Add a capture.severity check to this capture object.
capture.severity reads this and fires a warn-level alert. Channels subscribed to warn or higher will be notified.
What is the filename?
status-warn.cmd — this is the suggested name for the downloaded file. Rename freely if you prefer.
site1.erralert.com