quill: add health-monitor cron draft artifact
This commit is contained in:
1 parent
791c78d09f
commit
c22da0fa98
1 file changed
+16
@@ -0,0 +1,16 @@
|
||||
cron:
|
||||
name: health-monitor
|
||||
schedule: "*/5 * * * *"
|
||||
command: >
|
||||
curl -sS -o /dev/null -w "%{http_code}"
|
||||
https://httpbin.org/status/200
|
||||
|| echo "FAIL"
|
||||
log: /root/.hermes/cron/health-monitor.log
|
||||
expected_http_ok: "200"
|
||||
expected_fail: "FAIL"
|
||||
notify: all
|
||||
context: |
|
||||
Endpoint probe for httpbin /status/200.
|
||||
Expected output: 200.
|
||||
Non-200 or curl failure logs FAIL.
|
||||
Designed for 5-minute health checks.
|
||||
Reference in new issue
Block a user