@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"