How to notify a supervisor when an agent fails silently

The watchdog alerts a URL you choose, so the supervisor hears it instead of nothing happening.

Run it

curl -s -X POST https://api.model.tools/api/v1/watchdog -H 'Content-Type: application/json' -d '{"id":"w1","alert_url":"https://sup.test/alert","deadline_sec":60}'

Response

{"ok":true,"id":"w1","state":"armed"}