init monlet repo with stage 0-2 (docs, contract, agent MVP)
This commit is contained in:
29
examples/event-batch.json
Normal file
29
examples/event-batch.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"agent_id": "host-01.prod",
|
||||
"events": [
|
||||
{
|
||||
"event_id": "018f5b3a-0a3d-7c5b-9a1e-2c4f6a8b0c11",
|
||||
"check_id": "disk_root",
|
||||
"observed_at": "2026-05-26T12:00:05Z",
|
||||
"status": "ok",
|
||||
"exit_code": 0,
|
||||
"duration_ms": 42,
|
||||
"output": "/ 18% used (180G/1.0T)",
|
||||
"output_truncated": false,
|
||||
"notification_owner": "server",
|
||||
"incident_key": "host-01.prod:disk_root"
|
||||
},
|
||||
{
|
||||
"event_id": "018f5b3a-1f7e-7d2a-8b3c-9e1d2f3a4b5c",
|
||||
"check_id": "postgres_up",
|
||||
"observed_at": "2026-05-26T12:00:05Z",
|
||||
"status": "critical",
|
||||
"exit_code": 2,
|
||||
"duration_ms": 1503,
|
||||
"output": "could not connect to server: Connection refused",
|
||||
"output_truncated": false,
|
||||
"notification_owner": "server",
|
||||
"incident_key": "host-01.prod:postgres_up"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user