22 lines
814 B
JSON
22 lines
814 B
JSON
{
|
|
"agent": "646",
|
|
"chain_next": null,
|
|
"description": "Box HTTP endpoint health \u2014 every 15 minutes",
|
|
"followup": {
|
|
"escalate": "opm",
|
|
"expect_reply": true,
|
|
"nudges": 2,
|
|
"route": "box-health",
|
|
"timeout": "30m"
|
|
},
|
|
"name": "box-http-health",
|
|
"on_failure": "alert",
|
|
"prompt_template": "Box HTTP endpoint health check.\nJob ID: {job_id}\nTime: {datetime}\n\nRun the fleet health check:\n[TOOL health.check {}]\n\nCheck recent scheduled runs:\n[TOOL cron.runs {}]\n\nIf all endpoints and fleet nodes return green, reply with [RESULT {job_id}] OK.\nOtherwise reply with [RESULT {job_id}] FAIL <summary>.",
|
|
"schedule": "*/15 * * * *",
|
|
"sidechat": {
|
|
"create": true,
|
|
"name_template": "box-http-health-{datetime}",
|
|
"reuse_key": "box-http-health"
|
|
},
|
|
"timeout": 600
|
|
} |