forked from m-kraus/check_nsc_web
-
Notifications
You must be signed in to change notification settings - Fork 1
/
payload_examples
144 lines (140 loc) · 4.88 KB
/
payload_examples
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
"payload":[
{
"command":"check_drivesize",
"lines":[
{
"message":"OK All 1 drive(s) are ok",
"perf":[
{
"alias":"c: free",
"float_value":{
"critical":5.9656246183440089,
"maximum":59.656246185302734,
"minimum":0.00000000000000000,
"unit":"GB",
"value":50.322532653808594,
"warning":0.00000000000000000
}
},
{
"alias":"c: free %",
"float_value":{
"critical":10.000000000000000,
"maximum":100.00000000000000,
"minimum":0.00000000000000000,
"unit":"%",
"value":84.000000000000000,
"warning":0.00000000000000000
}
},
{
"alias":"c: used",
"float_value":{
"critical":0.00000000000000000,
"maximum":59.656246185302734,
"minimum":0.00000000000000000,
"unit":"GB",
"value":9.3337135314941406,
"warning":47.724996947683394
}
},
{
"alias":"c: used %",
"float_value":{
"critical":0.00000000000000000,
"maximum":100.00000000000000,
"minimum":0.00000000000000000,
"unit":"%",
"value":16.000000000000000,
"warning":80.000000000000000
}
}
]
}
],
"result":"OK"
}
]
"payload":[
{
"command":"check_pdh",
"lines":[
{
"message":"WARNING: \\\\System\\\\System Up Time = 459",
"perf":[
{
"alias":"\\\\System\\\\System Up Time_value",
"float_value":{
"critical":9999.0000000000000,
"value":459.00000000000000,
"warning":5.0000000000000000
}
}
]
}
],
"result":"WARNING"
}
]
"payload":[
{
"command":"check_cpu",
"lines":[
{
"message":"OK: CPU load is ok.",
"perf":[
{
"alias":"total 5m",
"int_value":{
"critical":90,
"unit":"%",
"value":2,
"warning":80
}
},
{
"alias":"total 1m",
"int_value":{
"critical":90,
"unit":"%",
"value":0,
"warning":80
}
},
{
"alias":"total 5s",
"int_value":{
"critical":90,
"unit":"%",
"value":0,
"warning":80
}
}
]
}
],
"result":"OK"
}
]
"payload": [{
"command": "check_eventlog",
"lines": [{
"message": "CRITICAL: 1 message(s) critical(The system time has changed to â\u0080\u008E2016â\u0080\u008E-â\u0080\u008E09â\u0080\u008E-â\u0080\u008E19T06:48:47.308000000Z from â\u0080\u008E2016â\u0080\u008E-â\u0080\u008E09â\u0080\u008E-â\u0080\u008E19T13:48:45.811693700Z. Change Reason: An application or system component changed the time.), The system time has changed to â\u0080\u008E2016â\u0080\u008E-â\u0080\u008E09â\u0080\u008E-â\u0080\u008E19T06:48:47.308000000Z from â\u0080\u008E2016â\u0080\u008E-â\u0080\u008E09â\u0080\u008E-â\u0080\u008E19T13:48:45.811693700Z. Change Reason: An application or system component changed the time.",
"perf": [{
"alias": "count",
"int_value": {
"critical": 0,
"value": 1,
"warning": 0
}
}, {
"alias": "problem_count",
"int_value": {
"critical": 0,
"value": 0,
"warning": 0
}
}]
}],
"result": "CRITICAL"
}]