[root@sensuapp sensu]# cat debug-event.json
{
"timestamp": 1602120925,
"entity": {
"entity_class": "agent",
"system": {
"hostname": "agent2",
"os": "linux",
"platform": "centos",
"platform_family": "rhel",
"platform_version": "8.0.1905",
"network": {
"interfaces": [
{
"name": "lo",
"addresses": [
"127.0.0.1/8",
"::1/128"
]
},
{
"name": "eth0",
"mac": "52:54:00:72:fe:6e",
"addresses": [
"10.0.2.15/24",
"fe80::5054:ff:fe72:fe6e/64"
]
},
{
"name": "eth1",
"mac": "08:00:27:75:10:15",
"addresses": [
"10.0.0.34/24",
"fe80::a00:27ff:fe75:1015/64"
]
}
]
},
"arch": "amd64"
},
"subscriptions": [
"sla-sub",
"entity:agent2"
],
"last_seen": 1602120921,
"deregister": false,
"deregistration": {
"handler": "example_handler"
},
"user": "admin",
"redact": [
"password",
"passwd",
"pass",
"api_key",
"api_token",
"access_key",
"secret_key",
"private_key",
"secret"
],
"metadata": {
"name": "agent2",
"namespace": "default"
}
},
"check": {
"command": "check-path.bin -t 3 8.8.8.8",
"handlers": [
"debug"
],
"high_flap_threshold": 0,
"interval": 10,
"low_flap_threshold": 0,
"publish": true,
"runtime_assets": null,
"subscriptions": [
"sla-sub"
],
"proxy_entity_name": "",
"check_hooks": null,
"stdin": false,
"subdue": null,
"ttl": 0,
"timeout": 0,
"round_robin": false,
"duration": 3.5689155809999997,
"executed": 1602120921,
"history": [
{
"status": 0,
"executed": 1602120721
},
{
"status": 0,
"executed": 1602120731
},
{
"status": 0,
"executed": 1602120741
},
{
"status": 0,
"executed": 1602120751
},
{
"status": 0,
"executed": 1602120761
},
{
"status": 0,
"executed": 1602120771
},
{
"status": 0,
"executed": 1602120781
},
{
"status": 0,
"executed": 1602120791
},
{
"status": 0,
"executed": 1602120801
},
{
"status": 0,
"executed": 1602120811
},
{
"status": 0,
"executed": 1602120821
},
{
"status": 0,
"executed": 1602120831
},
{
"status": 0,
"executed": 1602120841
},
{
"status": 0,
"executed": 1602120851
},
{
"status": 0,
"executed": 1602120861
},
{
"status": 0,
"executed": 1602120871
},
{
"status": 0,
"executed": 1602120881
},
{
"status": 0,
"executed": 1602120891
},
{
"status": 0,
"executed": 1602120901
},
{
"status": 0,
"executed": 1602120911
},
{
"status": 0,
"executed": 1602120921
}
],
"issued": 1602120921,
"output": "HOST OK - RTT 6.363ms; | hop=1,addr=10.0.2.2,rtt=0.285ms;\nhop=2,addr=10.16.4.1,rtt=1.729ms;\nhop=3,addr=203.219.198.39,rtt=6.255ms;\nhop=4,addr=203.29.134.61,rtt=5.674ms;\nhop=5,addr=209.85.149.84,rtt=6.333ms;\nhop=6,addr=108.170.247.65,rtt=5.799ms;\nhop=7,addr=209.85.254.119,rtt=5.88ms;\nhop=8,addr=8.8.8.8,rtt=6.695ms;\n",
"state": "passing",
"status": 0,
"total_state_change": 0,
"last_ok": 1602120921,
"occurrences": 56,
"occurrences_watermark": 56,
"output_metric_format": "nagios_perfdata",
"output_metric_handlers": [
"influx-db"
],
"env_vars": null,
"metadata": {
"name": "check-path",
"namespace": "default"
}
},
"metrics": {
"handlers": [
"influx-db"
],
"points": [
{
"name": "check-path.status",
"value": 0,
"timestamp": 1602120925,
"tags": [
{
"name": "entity",
"value": "agent2"
},
{
"name": "check",
"value": "check-path"
},
{
"name": "state",
"value": "passing"
},
{
"name": "occurrences",
"value": "56"
},
{
"name": "occurrences_watermark",
"value": "56"
}
]
}
]
},
"metadata": {
"namespace": "default"
}
}