-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-event.json
104 lines (104 loc) · 2.16 KB
/
test-event.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"timestamp": 1522170515,
"entity": {
"class": "agent",
"deregister": false,
"deregistration": {},
"environment": "default",
"id": "example-entity",
"keepalive_timeout": 120,
"organization": "default",
"redact": [
"password",
"passwd",
"pass",
"api_key",
"api_token",
"access_key",
"secret_key",
"private_key",
"secret"
],
"subscriptions": [
"web",
"entity:example-entity"
],
"system": {
"hostname": "example-host",
"os": "linux",
"platform": "ubuntu",
"platform_family": "debian",
"platform_version": "16.04",
"network": {
"interfaces": [
{
"name": "lo",
"addresses": [
"127.0.0.1/8",
"::1/128"
]
},
{
"name": "eth0",
"mac": "52:54:00:20:1b:3c",
"addresses": [
"192.168.1.1/25",
"fd9e:a92d:eddd:12d1:119/10"
]
}
]
},
"arch": "amd64"
},
"user": "agent"
},
"check": {
"check_hooks": null,
"command": "check-http-response-time.rb -a example.com -C 5000 -w 3000",
"duration": 2.033888684,
"environment": "default",
"executed": 1522170513,
"handlers": [
"example-handler"
],
"high_flap_threshold": 0,
"history": [
{
"executed": 1522169313
},
{
"executed": 1522169613
},
{
"executed": 1522169913
},
{
"executed": 1522170213
},
{
"executed": 1522170513
}
],
"interval": 300,
"last_ok": 1522170515,
"low_flap_threshold": 0,
"name": "example-http-check",
"occurrences": 1,
"occurrences_watermark": 1,
"organization": "default",
"output": "CheckHttpResponseTime OK: 1771 is acceptable\n",
"proxy_entity_id": "",
"publish": true,
"round_robin": false,
"runtime_assets": [],
"state": "passing",
"status": 0,
"stdin": false,
"subdue": null,
"subscriptions": [
"web"
],
"timeout": 30,
"total_state_change": 0
}
}