ruby-nagios 0.0.2 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +3 -0
- data/Rakefile +18 -0
- data/bin/check_check +10 -2
- data/bin/nagsrv +7 -3
- data/lib/nagios/config.rb +61 -21
- data/lib/nagios/external_commands/list.rb +186 -0
- data/lib/nagios/external_commands.rb +142 -0
- data/lib/nagios/objects.rb +11 -10
- data/lib/nagios/status.rb +34 -8
- data/lib/nagios.rb +15 -0
- data/ruby-nagios.gemspec +1 -1
- data/spec/00_configuration_spec.rb +79 -0
- data/spec/spec_helper.rb +14 -0
- data/test/benchmark.rb +26 -0
- data/test/data/bad/README +1 -0
- data/test/data/bad/nagios.cfg +1305 -0
- data/test/data/bad/objects.cache +1868 -0
- data/test/data/bad/status.dat +1766 -0
- data/test/data/nagios.cfg +1305 -0
- data/test/data/objects.cache +1868 -0
- data/test/data/status.dat +1766 -0
- metadata +64 -29
@@ -0,0 +1,1868 @@
|
|
1
|
+
########################################
|
2
|
+
# NAGIOS OBJECT CACHE FILE
|
3
|
+
#
|
4
|
+
# THIS FILE IS AUTOMATICALLY GENERATED
|
5
|
+
# BY NAGIOS. DO NOT MODIFY THIS FILE!
|
6
|
+
#
|
7
|
+
# Created: Sun Dec 25 18:21:41 2011
|
8
|
+
########################################
|
9
|
+
|
10
|
+
define timeperiod {
|
11
|
+
timeperiod_name _24x7
|
12
|
+
alias 24 Hours A Day, 7 Days A Week
|
13
|
+
sunday 00:00-24:00
|
14
|
+
monday 00:00-24:00
|
15
|
+
tuesday 00:00-24:00
|
16
|
+
wednesday 00:00-24:00
|
17
|
+
thursday 00:00-24:00
|
18
|
+
friday 00:00-24:00
|
19
|
+
saturday 00:00-24:00
|
20
|
+
}
|
21
|
+
|
22
|
+
define timeperiod {
|
23
|
+
timeperiod_name never
|
24
|
+
alias Never
|
25
|
+
}
|
26
|
+
|
27
|
+
define timeperiod {
|
28
|
+
timeperiod_name nonworkhours
|
29
|
+
alias Non-Work Hours
|
30
|
+
sunday 00:00-24:00
|
31
|
+
monday 00:00-09:00,17:00-24:00
|
32
|
+
tuesday 00:00-09:00,17:00-24:00
|
33
|
+
wednesday 00:00-09:00,17:00-24:00
|
34
|
+
thursday 00:00-09:00,17:00-24:00
|
35
|
+
friday 00:00-09:00,17:00-24:00
|
36
|
+
saturday 00:00-24:00
|
37
|
+
}
|
38
|
+
|
39
|
+
define timeperiod {
|
40
|
+
timeperiod_name not_backup_time
|
41
|
+
alias When backup is run, 3am, 15pm, exception for viy
|
42
|
+
sunday 00:00-03:00,06:00-15:00,16:30-24:00
|
43
|
+
monday 00:00-03:00,06:00-15:00,16:30-24:00
|
44
|
+
tuesday 00:00-03:00,06:00-15:00,16:30-24:00
|
45
|
+
wednesday 00:00-03:00,06:00-15:00,16:30-24:00
|
46
|
+
thursday 00:00-03:00,06:00-15:00,16:30-24:00
|
47
|
+
friday 00:00-03:00,06:00-15:00,16:30-24:00
|
48
|
+
saturday 00:00-03:00,06:00-15:00,16:30-24:00
|
49
|
+
}
|
50
|
+
|
51
|
+
define timeperiod {
|
52
|
+
timeperiod_name workhours
|
53
|
+
alias Standard Work Hours
|
54
|
+
monday 09:00-17:00
|
55
|
+
tuesday 09:00-17:00
|
56
|
+
wednesday 09:00-17:00
|
57
|
+
thursday 09:00-17:00
|
58
|
+
friday 09:00-17:00
|
59
|
+
}
|
60
|
+
|
61
|
+
define command {
|
62
|
+
command_name check-fast-alive
|
63
|
+
command_line /usr/lib/nagios/plugins/check_fping -H '$HOSTADDRESS$'
|
64
|
+
}
|
65
|
+
|
66
|
+
define command {
|
67
|
+
command_name check-host-alive
|
68
|
+
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1
|
69
|
+
}
|
70
|
+
|
71
|
+
define command {
|
72
|
+
command_name check-host-alive_4
|
73
|
+
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4
|
74
|
+
}
|
75
|
+
|
76
|
+
define command {
|
77
|
+
command_name check-nfs
|
78
|
+
command_line /usr/lib/nagios/plugins/check_rpc -H '$HOSTADDRESS$' -C nfs -c2,3
|
79
|
+
}
|
80
|
+
|
81
|
+
define command {
|
82
|
+
command_name check-printer-alive
|
83
|
+
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1
|
84
|
+
}
|
85
|
+
|
86
|
+
define command {
|
87
|
+
command_name check-printer-alive_4
|
88
|
+
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4
|
89
|
+
}
|
90
|
+
|
91
|
+
define command {
|
92
|
+
command_name check-router-alive
|
93
|
+
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1
|
94
|
+
}
|
95
|
+
|
96
|
+
define command {
|
97
|
+
command_name check-router-alive_4
|
98
|
+
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4
|
99
|
+
}
|
100
|
+
|
101
|
+
define command {
|
102
|
+
command_name check-rpc
|
103
|
+
command_line /usr/lib/nagios/plugins/check_rpc -H '$HOSTADDRESS$' -C '$ARG1$'
|
104
|
+
}
|
105
|
+
|
106
|
+
define command {
|
107
|
+
command_name check-switch-alive
|
108
|
+
command_line /usr/lib/nagios/plugins/check_ping '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1
|
109
|
+
}
|
110
|
+
|
111
|
+
define command {
|
112
|
+
command_name check-switch-alive_4
|
113
|
+
command_line /usr/lib/nagios/plugins/check_ping '$HOSTADDRESS$' -w 5000,100% -c 5000,100% -p 1 -4
|
114
|
+
}
|
115
|
+
|
116
|
+
define command {
|
117
|
+
command_name check_all_disks
|
118
|
+
command_line /usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -e
|
119
|
+
}
|
120
|
+
|
121
|
+
define command {
|
122
|
+
command_name check_apt
|
123
|
+
command_line /usr/lib/nagios/plugins/check_apt
|
124
|
+
}
|
125
|
+
|
126
|
+
define command {
|
127
|
+
command_name check_apt_distupgrade
|
128
|
+
command_line /usr/lib/nagios/plugins/check_apt -d
|
129
|
+
}
|
130
|
+
|
131
|
+
define command {
|
132
|
+
command_name check_breeze
|
133
|
+
command_line /usr/lib/nagios/plugins/check_breeze -H '$HOSTADDRESS$' -w '$ARG1$' -c '$ARG2$'
|
134
|
+
}
|
135
|
+
|
136
|
+
define command {
|
137
|
+
command_name check_compaq_thermalCondition
|
138
|
+
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.232.6.2.1.0,.1.3.6.1.4.1.232.6.2.2.0,.1.3.6.1.4.1.232.6.2.3.0,.1.3.6.1.4.1.232.6.2.4.0 -u 'ThermalCondition','ThermalTemp','ThermalSystem','ThermalCPUFan' -w 2:2,2:2,2:2,2:2 -c 1:2,1:2,1:2,1:2 -l "Thermal status "
|
139
|
+
}
|
140
|
+
|
141
|
+
define command {
|
142
|
+
command_name check_cups
|
143
|
+
command_line /usr/lib/nagios/plugins/check_http -I '$HOSTADDRESS$' -p 631
|
144
|
+
}
|
145
|
+
|
146
|
+
define command {
|
147
|
+
command_name check_cups_4
|
148
|
+
command_line /usr/lib/nagios/plugins/check_http -I '$HOSTADDRESS$' -p 631 -4
|
149
|
+
}
|
150
|
+
|
151
|
+
define command {
|
152
|
+
command_name check_dhcp
|
153
|
+
command_line /usr/lib/nagios/plugins/check_dhcp -s '$HOSTADDRESS$'
|
154
|
+
}
|
155
|
+
|
156
|
+
define command {
|
157
|
+
command_name check_dhcp_interface
|
158
|
+
command_line /usr/lib/nagios/plugins/check_dhcp -s '$HOSTADDRESS$' -i '$ARG1$'
|
159
|
+
}
|
160
|
+
|
161
|
+
define command {
|
162
|
+
command_name check_dig
|
163
|
+
command_line /usr/lib/nagios/plugins/check_dig -H '$HOSTADDRESS$' -l '$ARG1$'
|
164
|
+
}
|
165
|
+
|
166
|
+
define command {
|
167
|
+
command_name check_disk
|
168
|
+
command_line /usr/lib/nagios/plugins/check_disk -w '$ARG1$' -c '$ARG2$' -e -p '$ARG3$'
|
169
|
+
}
|
170
|
+
|
171
|
+
define command {
|
172
|
+
command_name check_disk_smb
|
173
|
+
command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$'
|
174
|
+
}
|
175
|
+
|
176
|
+
define command {
|
177
|
+
command_name check_disk_smb_host
|
178
|
+
command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$'
|
179
|
+
}
|
180
|
+
|
181
|
+
define command {
|
182
|
+
command_name check_disk_smb_host_user
|
183
|
+
command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$' -u '$ARG3$' -p '$ARG4$'
|
184
|
+
}
|
185
|
+
|
186
|
+
define command {
|
187
|
+
command_name check_disk_smb_user
|
188
|
+
command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$' -u '$ARG3$' -p '$ARG4$' -w '$ARG5$' -c '$ARG6$'
|
189
|
+
}
|
190
|
+
|
191
|
+
define command {
|
192
|
+
command_name check_disk_smb_workgroup
|
193
|
+
command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$' -W '$ARG3$'
|
194
|
+
}
|
195
|
+
|
196
|
+
define command {
|
197
|
+
command_name check_disk_smb_workgroup_host
|
198
|
+
command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$' -W '$ARG3$'
|
199
|
+
}
|
200
|
+
|
201
|
+
define command {
|
202
|
+
command_name check_disk_smb_workgroup_host_user
|
203
|
+
command_line /usr/lib/nagios/plugins/check_disk_smb -a '$HOSTADDRESS$' -H '$ARG1$' -s '$ARG2$' -W '$ARG3$' -u '$ARG4$' -p '$ARG5$'
|
204
|
+
}
|
205
|
+
|
206
|
+
define command {
|
207
|
+
command_name check_disk_smb_workgroup_user
|
208
|
+
command_line /usr/lib/nagios/plugins/check_disk_smb -H '$ARG1$' -s '$ARG2$' -W '$ARG3$' -u '$ARG4$' -p '$ARG5$'
|
209
|
+
}
|
210
|
+
|
211
|
+
define command {
|
212
|
+
command_name check_dns
|
213
|
+
command_line /usr/lib/nagios/plugins/check_dns -H www.google.com -s '$HOSTADDRESS$'
|
214
|
+
}
|
215
|
+
|
216
|
+
define command {
|
217
|
+
command_name check_flexlm
|
218
|
+
command_line /usr/lib/nagios/plugins/check_flexlm -F '$ARG1$'
|
219
|
+
}
|
220
|
+
|
221
|
+
define command {
|
222
|
+
command_name check_ftp
|
223
|
+
command_line /usr/lib/nagios/plugins/check_ftp -H '$HOSTADDRESS$'
|
224
|
+
}
|
225
|
+
|
226
|
+
define command {
|
227
|
+
command_name check_ftp_4
|
228
|
+
command_line /usr/lib/nagios/plugins/check_ftp -H '$HOSTADDRESS$' -4
|
229
|
+
}
|
230
|
+
|
231
|
+
define command {
|
232
|
+
command_name check_hpjd
|
233
|
+
command_line /usr/lib/nagios/plugins/check_hpjd -H '$HOSTADDRESS$' -C public
|
234
|
+
}
|
235
|
+
|
236
|
+
define command {
|
237
|
+
command_name check_http
|
238
|
+
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -I '$HOSTADDRESS$'
|
239
|
+
}
|
240
|
+
|
241
|
+
define command {
|
242
|
+
command_name check_http2
|
243
|
+
command_line /usr/lib/nagios/plugins/check_http -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$'
|
244
|
+
}
|
245
|
+
|
246
|
+
define command {
|
247
|
+
command_name check_http2_4
|
248
|
+
command_line /usr/lib/nagios/plugins/check_http -H '$ARG1$' -I '$HOSTADDRESS$' -w '$ARG2$' -c '$ARG3$' -4
|
249
|
+
}
|
250
|
+
|
251
|
+
define command {
|
252
|
+
command_name check_http_4
|
253
|
+
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4
|
254
|
+
}
|
255
|
+
|
256
|
+
define command {
|
257
|
+
command_name check_httpname
|
258
|
+
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTNAME' -I '$HOSTADDRESS$'
|
259
|
+
}
|
260
|
+
|
261
|
+
define command {
|
262
|
+
command_name check_httpname_4
|
263
|
+
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4
|
264
|
+
}
|
265
|
+
|
266
|
+
define command {
|
267
|
+
command_name check_https
|
268
|
+
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$'
|
269
|
+
}
|
270
|
+
|
271
|
+
define command {
|
272
|
+
command_name check_https_4
|
273
|
+
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -4
|
274
|
+
}
|
275
|
+
|
276
|
+
define command {
|
277
|
+
command_name check_https_auth
|
278
|
+
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$'
|
279
|
+
}
|
280
|
+
|
281
|
+
define command {
|
282
|
+
command_name check_https_auth_4
|
283
|
+
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -a '$ARG1$' -4
|
284
|
+
}
|
285
|
+
|
286
|
+
define command {
|
287
|
+
command_name check_https_auth_hostname
|
288
|
+
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -a '$ARG1$'
|
289
|
+
}
|
290
|
+
|
291
|
+
define command {
|
292
|
+
command_name check_https_auth_hostname_4
|
293
|
+
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME' -I '$HOSTADDRESS$' -a '$ARG1$' -4
|
294
|
+
}
|
295
|
+
|
296
|
+
define command {
|
297
|
+
command_name check_https_hostname
|
298
|
+
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$'
|
299
|
+
}
|
300
|
+
|
301
|
+
define command {
|
302
|
+
command_name check_https_hostname_4
|
303
|
+
command_line /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTNAME$' -I '$HOSTADDRESS$' -4
|
304
|
+
}
|
305
|
+
|
306
|
+
define command {
|
307
|
+
command_name check_ifoperstatus_ifdescr
|
308
|
+
command_line /usr/lib/nagios/plugins/check_ifoperstatus -H '$HOSTADDRESS$' -C '$ARG1$' -d '$ARG2$'
|
309
|
+
}
|
310
|
+
|
311
|
+
define command {
|
312
|
+
command_name check_ifoperstatus_ifindex
|
313
|
+
command_line /usr/lib/nagios/plugins/check_ifoperstatus -H '$HOSTADDRESS$' -C '$ARG1$' -k '$ARG2$'
|
314
|
+
}
|
315
|
+
|
316
|
+
define command {
|
317
|
+
command_name check_ifstatus
|
318
|
+
command_line /usr/lib/nagios/plugins/check_ifstatus -H '$HOSTADDRESS$' -C '$ARG1$'
|
319
|
+
}
|
320
|
+
|
321
|
+
define command {
|
322
|
+
command_name check_ifstatus_exclude
|
323
|
+
command_line /usr/lib/nagios/plugins/check_ifstatus -H '$HOSTADDRESS$' -C '$ARG1$' -x '$ARG2$'
|
324
|
+
}
|
325
|
+
|
326
|
+
define command {
|
327
|
+
command_name check_imap
|
328
|
+
command_line /usr/lib/nagios/plugins/check_imap -H '$HOSTADDRESS$'
|
329
|
+
}
|
330
|
+
|
331
|
+
define command {
|
332
|
+
command_name check_imap_4
|
333
|
+
command_line /usr/lib/nagios/plugins/check_imap -H '$HOSTADDRESS$' -4
|
334
|
+
}
|
335
|
+
|
336
|
+
define command {
|
337
|
+
command_name check_ldap
|
338
|
+
command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -b '$ARG1$'
|
339
|
+
}
|
340
|
+
|
341
|
+
define command {
|
342
|
+
command_name check_ldap_4
|
343
|
+
command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -b '$ARG1$' -4
|
344
|
+
}
|
345
|
+
|
346
|
+
define command {
|
347
|
+
command_name check_ldaps
|
348
|
+
command_line /usr/lib/nagios/plugins/check_ldaps -H '$HOSTADDRESS$' -b '$ARG1$'
|
349
|
+
}
|
350
|
+
|
351
|
+
define command {
|
352
|
+
command_name check_ldaps_4
|
353
|
+
command_line /usr/lib/nagios/plugins/check_ldaps -H '$HOSTADDRESS$' -b '$ARG1$' -4
|
354
|
+
}
|
355
|
+
|
356
|
+
define command {
|
357
|
+
command_name check_load
|
358
|
+
command_line /usr/lib/nagios/plugins/check_load --warning='$ARG1$,$ARG2$,$ARG3$' --critical='$ARG4$,$ARG5$,$ARG6$'
|
359
|
+
}
|
360
|
+
|
361
|
+
define command {
|
362
|
+
command_name check_mailq_exim
|
363
|
+
command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M exim
|
364
|
+
}
|
365
|
+
|
366
|
+
define command {
|
367
|
+
command_name check_mailq_postfix
|
368
|
+
command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M postfix
|
369
|
+
}
|
370
|
+
|
371
|
+
define command {
|
372
|
+
command_name check_mailq_qmail
|
373
|
+
command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M qmail
|
374
|
+
}
|
375
|
+
|
376
|
+
define command {
|
377
|
+
command_name check_mailq_sendmail
|
378
|
+
command_line /usr/lib/nagios/plugins/check_mailq -w '$ARG1$' -c '$ARG2$' -M sendmail
|
379
|
+
}
|
380
|
+
|
381
|
+
define command {
|
382
|
+
command_name check_mrtg
|
383
|
+
command_line /usr/lib/nagios/plugins/check_mrtg '$ARG1$' 10 AVG '$ARG2$' '$ARG3$' '$ARG4$' '$ARG5$' '$ARG6$'
|
384
|
+
}
|
385
|
+
|
386
|
+
define command {
|
387
|
+
command_name check_mysql
|
388
|
+
command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$'
|
389
|
+
}
|
390
|
+
|
391
|
+
define command {
|
392
|
+
command_name check_mysql_cmdlinecred
|
393
|
+
command_line /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$' -u '$ARG1$' -p '$ARG2$'
|
394
|
+
}
|
395
|
+
|
396
|
+
define command {
|
397
|
+
command_name check_mysql_database
|
398
|
+
command_line /usr/lib/nagios/plugins/check_mysql -d '$ARG3$' -H '$HOSTADDRESS$' -u '$ARG1$' -p '$ARG2$'
|
399
|
+
}
|
400
|
+
|
401
|
+
define command {
|
402
|
+
command_name check_netapp_cpuload
|
403
|
+
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.789.1.2.1.3.0 -w 90 -c 95 -u '%' -l "CPU LOAD "
|
404
|
+
}
|
405
|
+
|
406
|
+
define command {
|
407
|
+
command_name check_netapp_numdisks
|
408
|
+
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.789.1.6.4.1.0,.1.3.6.1.4.1.789.1.6.4.2.0,.1.3.6.1.4.1.789.1.6.4.8.0,.1.3.6.1.4.1.789.1.6.4.7.0 -u 'Total Disks','Active','Spare','Failed' -l ""
|
409
|
+
}
|
410
|
+
|
411
|
+
define command {
|
412
|
+
command_name check_netapp_uptime
|
413
|
+
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.2.1.1.3.0 --delimiter=')' -l "Uptime is"
|
414
|
+
}
|
415
|
+
|
416
|
+
define command {
|
417
|
+
command_name check_netware_15load
|
418
|
+
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOAD15" -w 70 -c 90
|
419
|
+
}
|
420
|
+
|
421
|
+
define command {
|
422
|
+
command_name check_netware_1load
|
423
|
+
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOAD1" -w 70 -c 90
|
424
|
+
}
|
425
|
+
|
426
|
+
define command {
|
427
|
+
command_name check_netware_5load
|
428
|
+
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOAD5" -w 70 -c 90
|
429
|
+
}
|
430
|
+
|
431
|
+
define command {
|
432
|
+
command_name check_netware_abend
|
433
|
+
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "ABENDS" -w 10 -c 30
|
434
|
+
}
|
435
|
+
|
436
|
+
define command {
|
437
|
+
command_name check_netware_logins
|
438
|
+
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v "LOGINS" -w '$ARG1$' -c '$ARG2$'
|
439
|
+
}
|
440
|
+
|
441
|
+
define command {
|
442
|
+
command_name check_nntp
|
443
|
+
command_line /usr/lib/nagios/plugins/check_nntp -H '$HOSTADDRESS$'
|
444
|
+
}
|
445
|
+
|
446
|
+
define command {
|
447
|
+
command_name check_nntp_4
|
448
|
+
command_line /usr/lib/nagios/plugins/check_nntp -H '$HOSTADDRESS$' -4
|
449
|
+
}
|
450
|
+
|
451
|
+
define command {
|
452
|
+
command_name check_nt
|
453
|
+
command_line /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -v '$ARG1$'
|
454
|
+
}
|
455
|
+
|
456
|
+
define command {
|
457
|
+
command_name check_ntp
|
458
|
+
command_line /usr/lib/nagios/plugins/check_ntp_peer -H '$HOSTADDRESS$'
|
459
|
+
}
|
460
|
+
|
461
|
+
define command {
|
462
|
+
command_name check_ntp_ntpq
|
463
|
+
command_line /usr/lib/nagios/plugins/check_ntp_peer -H '$HOSTADDRESS$' -j 10 -k 15
|
464
|
+
}
|
465
|
+
|
466
|
+
define command {
|
467
|
+
command_name check_nwstat_conns
|
468
|
+
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v CONNS -w '$ARG1$' -c '$ARG2$'
|
469
|
+
}
|
470
|
+
|
471
|
+
define command {
|
472
|
+
command_name check_nwstat_csprocs
|
473
|
+
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v CSPROCS -w '$ARG1$' -c '$ARG2$'
|
474
|
+
}
|
475
|
+
|
476
|
+
define command {
|
477
|
+
command_name check_nwstat_dsdb
|
478
|
+
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v DSDB
|
479
|
+
}
|
480
|
+
|
481
|
+
define command {
|
482
|
+
command_name check_nwstat_ltch
|
483
|
+
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v LTCH -w '$ARG1$' -c '$ARG2$'
|
484
|
+
}
|
485
|
+
|
486
|
+
define command {
|
487
|
+
command_name check_nwstat_puprb
|
488
|
+
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v PUPRB -w '$ARG1$' -c '$ARG2$'
|
489
|
+
}
|
490
|
+
|
491
|
+
define command {
|
492
|
+
command_name check_nwstat_vol_k
|
493
|
+
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v VKF'$ARG1$' -w '$ARG2$' -c '$ARG3$'
|
494
|
+
}
|
495
|
+
|
496
|
+
define command {
|
497
|
+
command_name check_nwstat_vol_p
|
498
|
+
command_line /usr/lib/nagios/plugins/check_nwstat -H '$HOSTADDRESS$' -v VPF'$ARG1$' -w '$ARG2$' -c '$ARG3$'
|
499
|
+
}
|
500
|
+
|
501
|
+
define command {
|
502
|
+
command_name check_pgsql
|
503
|
+
command_line /usr/lib/nagios/plugins/check_pgsql -H '$HOSTADDRESS$'
|
504
|
+
}
|
505
|
+
|
506
|
+
define command {
|
507
|
+
command_name check_pgsql_4
|
508
|
+
command_line /usr/lib/nagios/plugins/check_pgsql -H '$HOSTADDRESS$' -4
|
509
|
+
}
|
510
|
+
|
511
|
+
define command {
|
512
|
+
command_name check_ping
|
513
|
+
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w '$ARG1$' -c '$ARG2$'
|
514
|
+
}
|
515
|
+
|
516
|
+
define command {
|
517
|
+
command_name check_ping_4
|
518
|
+
command_line /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w '$ARG1$' -c '$ARG2$' -4
|
519
|
+
}
|
520
|
+
|
521
|
+
define command {
|
522
|
+
command_name check_pop
|
523
|
+
command_line /usr/lib/nagios/plugins/check_pop -H '$HOSTADDRESS$'
|
524
|
+
}
|
525
|
+
|
526
|
+
define command {
|
527
|
+
command_name check_pop_4
|
528
|
+
command_line /usr/lib/nagios/plugins/check_pop -H '$HOSTADDRESS$' -4
|
529
|
+
}
|
530
|
+
|
531
|
+
define command {
|
532
|
+
command_name check_procs
|
533
|
+
command_line /usr/lib/nagios/plugins/check_procs -w '$ARG1$' -c '$ARG2$'
|
534
|
+
}
|
535
|
+
|
536
|
+
define command {
|
537
|
+
command_name check_procs_httpd
|
538
|
+
command_line /usr/lib/nagios/plugins/check_procs -w 5:'$ARG1$' -c 1:'$ARG2$' -C httpd
|
539
|
+
}
|
540
|
+
|
541
|
+
define command {
|
542
|
+
command_name check_procs_zombie
|
543
|
+
command_line /usr/lib/nagios/plugins/check_procs -w '$ARG1$' -c '$ARG2$' -s Z
|
544
|
+
}
|
545
|
+
|
546
|
+
define command {
|
547
|
+
command_name check_quake
|
548
|
+
command_line /usr/lib/nagios/plugins/check_game qs '$HOSTADDRESS$'
|
549
|
+
}
|
550
|
+
|
551
|
+
define command {
|
552
|
+
command_name check_radius
|
553
|
+
command_line /usr/lib/nagios/plugins/check_radius -F /etc/radiusclient/radiusclient.conf -H '$HOSTADDRESS$' -P '$ARG4$' -t '$ARG3$' -u '$ARG1$' -p '$ARG2$'
|
554
|
+
}
|
555
|
+
|
556
|
+
define command {
|
557
|
+
command_name check_real
|
558
|
+
command_line /usr/lib/nagios/plugins/check_real '$HOSTADDRESS$' -p '$ARG1$' -wt '$ARG2$' -ct '$ARG3$' -to 5
|
559
|
+
}
|
560
|
+
|
561
|
+
define command {
|
562
|
+
command_name check_real_url
|
563
|
+
command_line /usr/lib/nagios/plugins/check_real '$HOSTADDRESS$' -p '$ARG1$' -wt '$ARG2$' -ct '$ARG3$' -to 5 -u '$ARG4$'
|
564
|
+
}
|
565
|
+
|
566
|
+
define command {
|
567
|
+
command_name check_simap
|
568
|
+
command_line /usr/lib/nagios/plugins/check_imap -p 993 -H '$HOSTADDRESS$' -S
|
569
|
+
}
|
570
|
+
|
571
|
+
define command {
|
572
|
+
command_name check_simap_4
|
573
|
+
command_line /usr/lib/nagios/plugins/check_imap -p 993 -H '$HOSTADDRESS$' -S -4
|
574
|
+
}
|
575
|
+
|
576
|
+
define command {
|
577
|
+
command_name check_smtp
|
578
|
+
command_line /usr/lib/nagios/plugins/check_smtp -H '$HOSTADDRESS$'
|
579
|
+
}
|
580
|
+
|
581
|
+
define command {
|
582
|
+
command_name check_smtp_4
|
583
|
+
command_line /usr/lib/nagios/plugins/check_smtp -H '$HOSTADDRESS$' -4
|
584
|
+
}
|
585
|
+
|
586
|
+
define command {
|
587
|
+
command_name check_snmp_bgpstate
|
588
|
+
command_line /usr/lib/nagios/plugins/check_bgpstate '$HOSTADDRESS$' -c '$ARG1$'
|
589
|
+
}
|
590
|
+
|
591
|
+
define command {
|
592
|
+
command_name check_spop
|
593
|
+
command_line /usr/lib/nagios/plugins/check_pop -p 995 -H '$HOSTADDRESS$' -S
|
594
|
+
}
|
595
|
+
|
596
|
+
define command {
|
597
|
+
command_name check_spop_4
|
598
|
+
command_line /usr/lib/nagios/plugins/check_pop -p 995 -H '$HOSTADDRESS$' -S -4
|
599
|
+
}
|
600
|
+
|
601
|
+
define command {
|
602
|
+
command_name check_squid
|
603
|
+
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$' -e 'HTTP/1.0 200 OK'
|
604
|
+
}
|
605
|
+
|
606
|
+
define command {
|
607
|
+
command_name check_squid_4
|
608
|
+
command_line /usr/lib/nagios/plugins/check_http -H '$HOSTADDRESS$' -p '$ARG1$' -u '$ARG2$' -e 'HTTP/1.0 200 OK' -4
|
609
|
+
}
|
610
|
+
|
611
|
+
define command {
|
612
|
+
command_name check_ssh
|
613
|
+
command_line /usr/lib/nagios/plugins/check_ssh '$HOSTADDRESS$'
|
614
|
+
}
|
615
|
+
|
616
|
+
define command {
|
617
|
+
command_name check_ssh_4
|
618
|
+
command_line /usr/lib/nagios/plugins/check_ssh -4 '$HOSTADDRESS$'
|
619
|
+
}
|
620
|
+
|
621
|
+
define command {
|
622
|
+
command_name check_ssh_port
|
623
|
+
command_line /usr/lib/nagios/plugins/check_ssh -p '$ARG1$' '$HOSTADDRESS$'
|
624
|
+
}
|
625
|
+
|
626
|
+
define command {
|
627
|
+
command_name check_ssh_port_4
|
628
|
+
command_line /usr/lib/nagios/plugins/check_ssh -4 -p '$ARG1$' '$HOSTADDRESS$'
|
629
|
+
}
|
630
|
+
|
631
|
+
define command {
|
632
|
+
command_name check_ssmtp
|
633
|
+
command_line /usr/lib/nagios/plugins/check_ssmtp -H '$HOSTADDRESS$'
|
634
|
+
}
|
635
|
+
|
636
|
+
define command {
|
637
|
+
command_name check_ssmtp_4
|
638
|
+
command_line /usr/lib/nagios/plugins/check_ssmtp -H '$HOSTADDRESS$' -4
|
639
|
+
}
|
640
|
+
|
641
|
+
define command {
|
642
|
+
command_name check_tcp
|
643
|
+
command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p '$ARG1$'
|
644
|
+
}
|
645
|
+
|
646
|
+
define command {
|
647
|
+
command_name check_tcp_4
|
648
|
+
command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p '$ARG1$' -4
|
649
|
+
}
|
650
|
+
|
651
|
+
define command {
|
652
|
+
command_name check_telnet
|
653
|
+
command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p 23
|
654
|
+
}
|
655
|
+
|
656
|
+
define command {
|
657
|
+
command_name check_telnet_4
|
658
|
+
command_line /usr/lib/nagios/plugins/check_tcp -H '$HOSTADDRESS$' -p 23 -4
|
659
|
+
}
|
660
|
+
|
661
|
+
define command {
|
662
|
+
command_name check_time
|
663
|
+
command_line /usr/lib/nagios/plugins/check_time -H '$HOSTADDRESS$'
|
664
|
+
}
|
665
|
+
|
666
|
+
define command {
|
667
|
+
command_name check_udp
|
668
|
+
command_line /usr/lib/nagios/plugins/check_udp -H '$HOSTADDRESS$' -p '$ARG1$'
|
669
|
+
}
|
670
|
+
|
671
|
+
define command {
|
672
|
+
command_name check_udp_4
|
673
|
+
command_line /usr/lib/nagios/plugins/check_udp -H '$HOSTADDRESS$' -p '$ARG1$' -4
|
674
|
+
}
|
675
|
+
|
676
|
+
define command {
|
677
|
+
command_name check_unreal
|
678
|
+
command_line /usr/lib/nagios/plugins/check_game uns '$HOSTADDRESS$' -P '$ARG1$' -p 8
|
679
|
+
}
|
680
|
+
|
681
|
+
define command {
|
682
|
+
command_name check_users
|
683
|
+
command_line /usr/lib/nagios/plugins/check_users -w '$ARG1$' -c '$ARG2$'
|
684
|
+
}
|
685
|
+
|
686
|
+
define command {
|
687
|
+
command_name check_vsz
|
688
|
+
command_line /usr/lib/nagios/plugins/check_vsz -w 8096 -c 16182 -C httpd
|
689
|
+
}
|
690
|
+
|
691
|
+
define command {
|
692
|
+
command_name notify-host-by-email
|
693
|
+
command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$
|
694
|
+
}
|
695
|
+
|
696
|
+
define command {
|
697
|
+
command_name notify-service-by-email
|
698
|
+
command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
|
699
|
+
}
|
700
|
+
|
701
|
+
define command {
|
702
|
+
command_name process-host-perfdata
|
703
|
+
command_line /usr/bin/printf "%b" "$LASTHOSTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$HOSTSTATETYPE$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$\n" >> /var/lib/nagios3/host-perfdata.out
|
704
|
+
}
|
705
|
+
|
706
|
+
define command {
|
707
|
+
command_name process-service-perfdata
|
708
|
+
command_line /usr/bin/printf "%b" "$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n" >> /var/lib/nagios3/service-perfdata.out
|
709
|
+
}
|
710
|
+
|
711
|
+
define command {
|
712
|
+
command_name return-critical
|
713
|
+
command_line /usr/lib/nagios/plugins/check_dummy 2
|
714
|
+
}
|
715
|
+
|
716
|
+
define command {
|
717
|
+
command_name return-numeric
|
718
|
+
command_line /usr/lib/nagios/plugins/check_dummy '$ARG1$'
|
719
|
+
}
|
720
|
+
|
721
|
+
define command {
|
722
|
+
command_name return-ok
|
723
|
+
command_line /usr/lib/nagios/plugins/check_dummy 0
|
724
|
+
}
|
725
|
+
|
726
|
+
define command {
|
727
|
+
command_name return-unknown
|
728
|
+
command_line /usr/lib/nagios/plugins/check_dummy 3
|
729
|
+
}
|
730
|
+
|
731
|
+
define command {
|
732
|
+
command_name return-warning
|
733
|
+
command_line /usr/lib/nagios/plugins/check_dummy 1
|
734
|
+
}
|
735
|
+
|
736
|
+
define command {
|
737
|
+
command_name snmp_cpustats
|
738
|
+
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.11.9.0,.1.3.6.1.4.1.2021.11.10.0,.1.3.6.1.4.1.2021.11.11.0 -l 'CPU usage (user system idle)' -u '%'
|
739
|
+
}
|
740
|
+
|
741
|
+
define command {
|
742
|
+
command_name snmp_disk
|
743
|
+
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.9.1.7.'$ARG2$',.1.3.6.1.4.1.2021.9.1.9.'$ARG2$' -w '$ARG3$':,:'$ARG4$' -c '$ARG5$':,:'$ARG6$' -u 'kB free (','% used)' -l 'disk space'
|
744
|
+
}
|
745
|
+
|
746
|
+
define command {
|
747
|
+
command_name snmp_disk2
|
748
|
+
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$' -w '$ARG3$' -c '$ARG4$'
|
749
|
+
}
|
750
|
+
|
751
|
+
define command {
|
752
|
+
command_name snmp_load
|
753
|
+
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.10.1.5.1,.1.3.6.1.4.1.2021.10.1.5.2,.1.3.6.1.4.1.2021.10.1.5.3 -w :'$ARG2$',:'$ARG3$',:'$ARG4$' -c :'$ARG5$',:'$ARG6$',:'$ARG7$' -l load
|
754
|
+
}
|
755
|
+
|
756
|
+
define command {
|
757
|
+
command_name snmp_mem
|
758
|
+
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.4.6.0,.1.3.6.1.4.1.2021.4.5.0 -w '$ARG2$': -c '$ARG3$':
|
759
|
+
}
|
760
|
+
|
761
|
+
define command {
|
762
|
+
command_name snmp_mem2
|
763
|
+
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$'
|
764
|
+
}
|
765
|
+
|
766
|
+
define command {
|
767
|
+
command_name snmp_mem3
|
768
|
+
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$'
|
769
|
+
}
|
770
|
+
|
771
|
+
define command {
|
772
|
+
command_name snmp_procname
|
773
|
+
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.2.1.5.'$ARG2$' -w '$ARG3$':'$ARG4$' -c '$ARG5$':'$ARG6$'
|
774
|
+
}
|
775
|
+
|
776
|
+
define command {
|
777
|
+
command_name snmp_procs
|
778
|
+
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrSystem.hrSystemProcesses -w :'$ARG2$' -c :'$ARG3$' -l processes
|
779
|
+
}
|
780
|
+
|
781
|
+
define command {
|
782
|
+
command_name snmp_swap
|
783
|
+
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o .1.3.6.1.4.1.2021.4.4.0,.1.3.6.1.4.1.2021.4.3.0 -w '$ARG2$': -c '$ARG3$':
|
784
|
+
}
|
785
|
+
|
786
|
+
define command {
|
787
|
+
command_name snmp_swap2
|
788
|
+
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$'
|
789
|
+
}
|
790
|
+
|
791
|
+
define command {
|
792
|
+
command_name snmp_swap3
|
793
|
+
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.'$ARG2$',host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.'$ARG2$' -w '$ARG3$' -c '$ARG4$'
|
794
|
+
}
|
795
|
+
|
796
|
+
define command {
|
797
|
+
command_name snmp_tcpopen
|
798
|
+
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o tcp.tcpCurrEstab.0 -w '$ARG2$' -c '$ARG3$'
|
799
|
+
}
|
800
|
+
|
801
|
+
define command {
|
802
|
+
command_name snmp_tcpstats
|
803
|
+
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o tcp.tcpActiveOpens.0,tcp.tcpPassiveOpens.0,tcp.tcpInSegs.0,tcp.tcpOutSegs.0,tcp.tcpRetransSegs.0 -l 'TCP stats'
|
804
|
+
}
|
805
|
+
|
806
|
+
define command {
|
807
|
+
command_name snmp_users
|
808
|
+
command_line /usr/lib/nagios/plugins/check_snmp -H '$HOSTADDRESS$' -C '$ARG1$' -o host.hrSystem.hrSystemNumUsers -w :'$ARG2$' -c :'$ARG3$' -l users
|
809
|
+
}
|
810
|
+
|
811
|
+
define command {
|
812
|
+
command_name ssh_disk
|
813
|
+
command_line /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C '/usr/lib/nagios/plugins/check_disk -w '\''$ARG1$' -c '\''$ARG2$'\'' -e -p '\''$ARG3$'\'
|
814
|
+
}
|
815
|
+
|
816
|
+
define command {
|
817
|
+
command_name ssh_disk_4
|
818
|
+
command_line /usr/lib/nagios/plugins/check_by_ssh -H '$HOSTADDRESS$' -C '/usr/lib/nagios/plugins/check_disk -w '\''$ARG1$'\'' -c '\''$ARG2$'\'' -e -p '\''$ARG3$'\' -4
|
819
|
+
}
|
820
|
+
|
821
|
+
define command {
|
822
|
+
command_name traffic_average
|
823
|
+
command_line /usr/lib/nagios/plugins/check_mrtgtraf '$ARG1$' 10 AVG '$ARG2$' '$ARG3$' '$ARG4$' '$ARG5$'
|
824
|
+
}
|
825
|
+
|
826
|
+
define contactgroup {
|
827
|
+
contactgroup_name admins
|
828
|
+
alias Nagios Administrators
|
829
|
+
members root
|
830
|
+
}
|
831
|
+
|
832
|
+
define hostgroup {
|
833
|
+
hostgroup_name all
|
834
|
+
alias All Servers
|
835
|
+
members gateway,yarylo,tv,airport,archive,kurobka,viy
|
836
|
+
}
|
837
|
+
|
838
|
+
define hostgroup {
|
839
|
+
hostgroup_name debian-servers
|
840
|
+
alias Debian GNU/Linux Servers
|
841
|
+
members archive,kurobka,viy
|
842
|
+
}
|
843
|
+
|
844
|
+
define hostgroup {
|
845
|
+
hostgroup_name http-servers
|
846
|
+
alias HTTP servers
|
847
|
+
members viy
|
848
|
+
}
|
849
|
+
|
850
|
+
define hostgroup {
|
851
|
+
hostgroup_name ping-servers
|
852
|
+
alias Pingable servers
|
853
|
+
members airport,yarylo,tv,archive,kurobka,viy
|
854
|
+
}
|
855
|
+
|
856
|
+
define hostgroup {
|
857
|
+
hostgroup_name ssh-servers
|
858
|
+
alias SSH servers
|
859
|
+
members yarylo,tv,archive,kurobka,viy
|
860
|
+
}
|
861
|
+
|
862
|
+
define hostgroup {
|
863
|
+
hostgroup_name time-check
|
864
|
+
alias Time check servers
|
865
|
+
members archive,kurobka,viy
|
866
|
+
}
|
867
|
+
|
868
|
+
define contact {
|
869
|
+
contact_name root
|
870
|
+
alias Root
|
871
|
+
service_notification_period _24x7
|
872
|
+
host_notification_period _24x7
|
873
|
+
service_notification_options w,u,c,r
|
874
|
+
host_notification_options d,r
|
875
|
+
service_notification_commands notify-service-by-email
|
876
|
+
host_notification_commands notify-host-by-email
|
877
|
+
email root@localhost
|
878
|
+
host_notifications_enabled 1
|
879
|
+
service_notifications_enabled 1
|
880
|
+
can_submit_commands 1
|
881
|
+
retain_status_information 1
|
882
|
+
retain_nonstatus_information 1
|
883
|
+
}
|
884
|
+
|
885
|
+
define host {
|
886
|
+
host_name airport
|
887
|
+
address airport.sakae
|
888
|
+
check_command check-host-alive
|
889
|
+
contact_groups admins
|
890
|
+
notification_period _24x7
|
891
|
+
initial_state o
|
892
|
+
check_interval 5.000000
|
893
|
+
retry_interval 1.000000
|
894
|
+
max_check_attempts 10
|
895
|
+
active_checks_enabled 1
|
896
|
+
passive_checks_enabled 1
|
897
|
+
obsess_over_host 1
|
898
|
+
event_handler_enabled 1
|
899
|
+
low_flap_threshold 0.000000
|
900
|
+
high_flap_threshold 0.000000
|
901
|
+
flap_detection_enabled 1
|
902
|
+
flap_detection_options o,d,u
|
903
|
+
freshness_threshold 0
|
904
|
+
check_freshness 0
|
905
|
+
notification_options d,u,r
|
906
|
+
notifications_enabled 1
|
907
|
+
notification_interval 0.000000
|
908
|
+
first_notification_delay 0.000000
|
909
|
+
stalking_options n
|
910
|
+
process_perf_data 1
|
911
|
+
failure_prediction_enabled 1
|
912
|
+
retain_status_information 1
|
913
|
+
retain_nonstatus_information 1
|
914
|
+
}
|
915
|
+
|
916
|
+
define host {
|
917
|
+
host_name archive
|
918
|
+
alias archive
|
919
|
+
address 192.168.2.72
|
920
|
+
check_command check-host-alive
|
921
|
+
contact_groups admins
|
922
|
+
notification_period _24x7
|
923
|
+
initial_state o
|
924
|
+
check_interval 5.000000
|
925
|
+
retry_interval 1.000000
|
926
|
+
max_check_attempts 10
|
927
|
+
active_checks_enabled 1
|
928
|
+
passive_checks_enabled 1
|
929
|
+
obsess_over_host 1
|
930
|
+
event_handler_enabled 1
|
931
|
+
low_flap_threshold 0.000000
|
932
|
+
high_flap_threshold 0.000000
|
933
|
+
flap_detection_enabled 1
|
934
|
+
flap_detection_options o,d,u
|
935
|
+
freshness_threshold 0
|
936
|
+
check_freshness 0
|
937
|
+
notification_options d,u,r
|
938
|
+
notifications_enabled 1
|
939
|
+
notification_interval 0.000000
|
940
|
+
first_notification_delay 0.000000
|
941
|
+
stalking_options n
|
942
|
+
process_perf_data 1
|
943
|
+
failure_prediction_enabled 1
|
944
|
+
icon_image base/debian.png
|
945
|
+
icon_image_alt Debian GNU/Linux
|
946
|
+
vrml_image debian.png
|
947
|
+
statusmap_image base/debian.gd2
|
948
|
+
notes Debian GNU/Linux servers
|
949
|
+
retain_status_information 1
|
950
|
+
retain_nonstatus_information 1
|
951
|
+
}
|
952
|
+
|
953
|
+
define host {
|
954
|
+
host_name gateway
|
955
|
+
alias Default Gateway
|
956
|
+
address 0.0.0.0
|
957
|
+
check_command check-host-alive
|
958
|
+
contact_groups admins
|
959
|
+
notification_period _24x7
|
960
|
+
initial_state o
|
961
|
+
check_interval 5.000000
|
962
|
+
retry_interval 1.000000
|
963
|
+
max_check_attempts 10
|
964
|
+
active_checks_enabled 1
|
965
|
+
passive_checks_enabled 1
|
966
|
+
obsess_over_host 1
|
967
|
+
event_handler_enabled 1
|
968
|
+
low_flap_threshold 0.000000
|
969
|
+
high_flap_threshold 0.000000
|
970
|
+
flap_detection_enabled 1
|
971
|
+
flap_detection_options o,d,u
|
972
|
+
freshness_threshold 0
|
973
|
+
check_freshness 0
|
974
|
+
notification_options d,u,r
|
975
|
+
notifications_enabled 1
|
976
|
+
notification_interval 0.000000
|
977
|
+
first_notification_delay 0.000000
|
978
|
+
stalking_options n
|
979
|
+
process_perf_data 1
|
980
|
+
failure_prediction_enabled 1
|
981
|
+
retain_status_information 1
|
982
|
+
retain_nonstatus_information 1
|
983
|
+
}
|
984
|
+
|
985
|
+
define host {
|
986
|
+
host_name kurobka
|
987
|
+
alias kurobka
|
988
|
+
address 192.168.2.208
|
989
|
+
check_command check-host-alive
|
990
|
+
contact_groups admins
|
991
|
+
notification_period _24x7
|
992
|
+
initial_state o
|
993
|
+
check_interval 5.000000
|
994
|
+
retry_interval 1.000000
|
995
|
+
max_check_attempts 10
|
996
|
+
active_checks_enabled 1
|
997
|
+
passive_checks_enabled 1
|
998
|
+
obsess_over_host 1
|
999
|
+
event_handler_enabled 1
|
1000
|
+
low_flap_threshold 0.000000
|
1001
|
+
high_flap_threshold 0.000000
|
1002
|
+
flap_detection_enabled 1
|
1003
|
+
flap_detection_options o,d,u
|
1004
|
+
freshness_threshold 0
|
1005
|
+
check_freshness 0
|
1006
|
+
notification_options d,u,r
|
1007
|
+
notifications_enabled 1
|
1008
|
+
notification_interval 0.000000
|
1009
|
+
first_notification_delay 0.000000
|
1010
|
+
stalking_options n
|
1011
|
+
process_perf_data 1
|
1012
|
+
failure_prediction_enabled 1
|
1013
|
+
icon_image base/debian.png
|
1014
|
+
icon_image_alt Debian GNU/Linux
|
1015
|
+
vrml_image debian.png
|
1016
|
+
statusmap_image base/debian.gd2
|
1017
|
+
notes Debian GNU/Linux servers
|
1018
|
+
retain_status_information 1
|
1019
|
+
retain_nonstatus_information 1
|
1020
|
+
}
|
1021
|
+
|
1022
|
+
define host {
|
1023
|
+
host_name tv
|
1024
|
+
address tv.sakae
|
1025
|
+
check_command check-host-alive
|
1026
|
+
contact_groups admins
|
1027
|
+
notification_period _24x7
|
1028
|
+
initial_state o
|
1029
|
+
check_interval 5.000000
|
1030
|
+
retry_interval 1.000000
|
1031
|
+
max_check_attempts 10
|
1032
|
+
active_checks_enabled 1
|
1033
|
+
passive_checks_enabled 1
|
1034
|
+
obsess_over_host 1
|
1035
|
+
event_handler_enabled 1
|
1036
|
+
low_flap_threshold 0.000000
|
1037
|
+
high_flap_threshold 0.000000
|
1038
|
+
flap_detection_enabled 1
|
1039
|
+
flap_detection_options o,d,u
|
1040
|
+
freshness_threshold 0
|
1041
|
+
check_freshness 0
|
1042
|
+
notification_options d,u,r
|
1043
|
+
notifications_enabled 1
|
1044
|
+
notification_interval 0.000000
|
1045
|
+
first_notification_delay 0.000000
|
1046
|
+
stalking_options n
|
1047
|
+
process_perf_data 1
|
1048
|
+
failure_prediction_enabled 1
|
1049
|
+
retain_status_information 1
|
1050
|
+
retain_nonstatus_information 1
|
1051
|
+
}
|
1052
|
+
|
1053
|
+
define host {
|
1054
|
+
host_name viy
|
1055
|
+
alias viy
|
1056
|
+
address 192.168.2.11
|
1057
|
+
check_command check-host-alive
|
1058
|
+
contact_groups admins
|
1059
|
+
notification_period _24x7
|
1060
|
+
initial_state o
|
1061
|
+
check_interval 5.000000
|
1062
|
+
retry_interval 1.000000
|
1063
|
+
max_check_attempts 10
|
1064
|
+
active_checks_enabled 1
|
1065
|
+
passive_checks_enabled 1
|
1066
|
+
obsess_over_host 1
|
1067
|
+
event_handler_enabled 1
|
1068
|
+
low_flap_threshold 0.000000
|
1069
|
+
high_flap_threshold 0.000000
|
1070
|
+
flap_detection_enabled 1
|
1071
|
+
flap_detection_options o,d,u
|
1072
|
+
freshness_threshold 0
|
1073
|
+
check_freshness 0
|
1074
|
+
notification_options d,u,r
|
1075
|
+
notifications_enabled 1
|
1076
|
+
notification_interval 0.000000
|
1077
|
+
first_notification_delay 0.000000
|
1078
|
+
stalking_options n
|
1079
|
+
process_perf_data 1
|
1080
|
+
failure_prediction_enabled 1
|
1081
|
+
icon_image base/debian.png
|
1082
|
+
icon_image_alt Debian GNU/Linux
|
1083
|
+
vrml_image debian.png
|
1084
|
+
statusmap_image base/debian.gd2
|
1085
|
+
notes Debian GNU/Linux servers
|
1086
|
+
retain_status_information 1
|
1087
|
+
retain_nonstatus_information 1
|
1088
|
+
}
|
1089
|
+
|
1090
|
+
define host {
|
1091
|
+
host_name yarylo
|
1092
|
+
address yarylo.sakae
|
1093
|
+
check_command check-host-alive
|
1094
|
+
contact_groups admins
|
1095
|
+
notification_period _24x7
|
1096
|
+
initial_state o
|
1097
|
+
check_interval 5.000000
|
1098
|
+
retry_interval 1.000000
|
1099
|
+
max_check_attempts 10
|
1100
|
+
active_checks_enabled 1
|
1101
|
+
passive_checks_enabled 1
|
1102
|
+
obsess_over_host 1
|
1103
|
+
event_handler_enabled 1
|
1104
|
+
low_flap_threshold 0.000000
|
1105
|
+
high_flap_threshold 0.000000
|
1106
|
+
flap_detection_enabled 1
|
1107
|
+
flap_detection_options o,d,u
|
1108
|
+
freshness_threshold 0
|
1109
|
+
check_freshness 0
|
1110
|
+
notification_options d,u,r
|
1111
|
+
notifications_enabled 1
|
1112
|
+
notification_interval 0.000000
|
1113
|
+
first_notification_delay 0.000000
|
1114
|
+
stalking_options n
|
1115
|
+
process_perf_data 1
|
1116
|
+
failure_prediction_enabled 1
|
1117
|
+
retain_status_information 1
|
1118
|
+
retain_nonstatus_information 1
|
1119
|
+
}
|
1120
|
+
|
1121
|
+
define service {
|
1122
|
+
host_name airport
|
1123
|
+
service_description PING
|
1124
|
+
check_period _24x7
|
1125
|
+
check_command check_ping!100.0,20%!500.0,60%
|
1126
|
+
contact_groups admins
|
1127
|
+
notification_period _24x7
|
1128
|
+
initial_state o
|
1129
|
+
check_interval 1.000000
|
1130
|
+
retry_interval 1.000000
|
1131
|
+
max_check_attempts 4
|
1132
|
+
is_volatile 0
|
1133
|
+
parallelize_check 1
|
1134
|
+
active_checks_enabled 1
|
1135
|
+
passive_checks_enabled 1
|
1136
|
+
obsess_over_service 1
|
1137
|
+
event_handler_enabled 1
|
1138
|
+
low_flap_threshold 0.000000
|
1139
|
+
high_flap_threshold 0.000000
|
1140
|
+
flap_detection_enabled 1
|
1141
|
+
flap_detection_options o,w,u,c
|
1142
|
+
freshness_threshold 0
|
1143
|
+
check_freshness 0
|
1144
|
+
notification_options u,w,c,r
|
1145
|
+
notifications_enabled 1
|
1146
|
+
notification_interval 0.000000
|
1147
|
+
first_notification_delay 0.000000
|
1148
|
+
stalking_options n
|
1149
|
+
process_perf_data 1
|
1150
|
+
failure_prediction_enabled 1
|
1151
|
+
retain_status_information 1
|
1152
|
+
retain_nonstatus_information 1
|
1153
|
+
}
|
1154
|
+
|
1155
|
+
define service {
|
1156
|
+
host_name archive
|
1157
|
+
service_description Check time
|
1158
|
+
check_period _24x7
|
1159
|
+
check_command check_time!${HOSTNAME}
|
1160
|
+
contact_groups admins
|
1161
|
+
notification_period _24x7
|
1162
|
+
initial_state o
|
1163
|
+
check_interval 5.000000
|
1164
|
+
retry_interval 1.000000
|
1165
|
+
max_check_attempts 4
|
1166
|
+
is_volatile 0
|
1167
|
+
parallelize_check 1
|
1168
|
+
active_checks_enabled 1
|
1169
|
+
passive_checks_enabled 1
|
1170
|
+
obsess_over_service 1
|
1171
|
+
event_handler_enabled 1
|
1172
|
+
low_flap_threshold 0.000000
|
1173
|
+
high_flap_threshold 0.000000
|
1174
|
+
flap_detection_enabled 1
|
1175
|
+
flap_detection_options o,w,u,c
|
1176
|
+
freshness_threshold 0
|
1177
|
+
check_freshness 0
|
1178
|
+
notification_options u,w,c,r
|
1179
|
+
notifications_enabled 1
|
1180
|
+
notification_interval 0.000000
|
1181
|
+
first_notification_delay 0.000000
|
1182
|
+
stalking_options n
|
1183
|
+
process_perf_data 1
|
1184
|
+
failure_prediction_enabled 1
|
1185
|
+
retain_status_information 1
|
1186
|
+
retain_nonstatus_information 1
|
1187
|
+
}
|
1188
|
+
|
1189
|
+
define service {
|
1190
|
+
host_name archive
|
1191
|
+
service_description PING
|
1192
|
+
check_period _24x7
|
1193
|
+
check_command check_ping!100.0,20%!500.0,60%
|
1194
|
+
contact_groups admins
|
1195
|
+
notification_period _24x7
|
1196
|
+
initial_state o
|
1197
|
+
check_interval 1.000000
|
1198
|
+
retry_interval 1.000000
|
1199
|
+
max_check_attempts 4
|
1200
|
+
is_volatile 0
|
1201
|
+
parallelize_check 1
|
1202
|
+
active_checks_enabled 1
|
1203
|
+
passive_checks_enabled 1
|
1204
|
+
obsess_over_service 1
|
1205
|
+
event_handler_enabled 1
|
1206
|
+
low_flap_threshold 0.000000
|
1207
|
+
high_flap_threshold 0.000000
|
1208
|
+
flap_detection_enabled 1
|
1209
|
+
flap_detection_options o,w,u,c
|
1210
|
+
freshness_threshold 0
|
1211
|
+
check_freshness 0
|
1212
|
+
notification_options u,w,c,r
|
1213
|
+
notifications_enabled 1
|
1214
|
+
notification_interval 0.000000
|
1215
|
+
first_notification_delay 0.000000
|
1216
|
+
stalking_options n
|
1217
|
+
process_perf_data 1
|
1218
|
+
failure_prediction_enabled 1
|
1219
|
+
retain_status_information 1
|
1220
|
+
retain_nonstatus_information 1
|
1221
|
+
}
|
1222
|
+
|
1223
|
+
define service {
|
1224
|
+
host_name archive
|
1225
|
+
service_description SSH
|
1226
|
+
check_period _24x7
|
1227
|
+
check_command check_ssh
|
1228
|
+
contact_groups admins
|
1229
|
+
notification_period _24x7
|
1230
|
+
initial_state o
|
1231
|
+
check_interval 5.000000
|
1232
|
+
retry_interval 1.000000
|
1233
|
+
max_check_attempts 4
|
1234
|
+
is_volatile 0
|
1235
|
+
parallelize_check 1
|
1236
|
+
active_checks_enabled 1
|
1237
|
+
passive_checks_enabled 1
|
1238
|
+
obsess_over_service 1
|
1239
|
+
event_handler_enabled 1
|
1240
|
+
low_flap_threshold 0.000000
|
1241
|
+
high_flap_threshold 0.000000
|
1242
|
+
flap_detection_enabled 1
|
1243
|
+
flap_detection_options o,w,u,c
|
1244
|
+
freshness_threshold 0
|
1245
|
+
check_freshness 0
|
1246
|
+
notification_options u,w,c,r
|
1247
|
+
notifications_enabled 1
|
1248
|
+
notification_interval 0.000000
|
1249
|
+
first_notification_delay 0.000000
|
1250
|
+
stalking_options n
|
1251
|
+
process_perf_data 1
|
1252
|
+
failure_prediction_enabled 1
|
1253
|
+
retain_status_information 1
|
1254
|
+
retain_nonstatus_information 1
|
1255
|
+
}
|
1256
|
+
|
1257
|
+
define service {
|
1258
|
+
host_name kurobka
|
1259
|
+
service_description Check time
|
1260
|
+
check_period _24x7
|
1261
|
+
check_command check_time!${HOSTNAME}
|
1262
|
+
contact_groups admins
|
1263
|
+
notification_period _24x7
|
1264
|
+
initial_state o
|
1265
|
+
check_interval 5.000000
|
1266
|
+
retry_interval 1.000000
|
1267
|
+
max_check_attempts 4
|
1268
|
+
is_volatile 0
|
1269
|
+
parallelize_check 1
|
1270
|
+
active_checks_enabled 1
|
1271
|
+
passive_checks_enabled 1
|
1272
|
+
obsess_over_service 1
|
1273
|
+
event_handler_enabled 1
|
1274
|
+
low_flap_threshold 0.000000
|
1275
|
+
high_flap_threshold 0.000000
|
1276
|
+
flap_detection_enabled 1
|
1277
|
+
flap_detection_options o,w,u,c
|
1278
|
+
freshness_threshold 0
|
1279
|
+
check_freshness 0
|
1280
|
+
notification_options u,w,c,r
|
1281
|
+
notifications_enabled 1
|
1282
|
+
notification_interval 0.000000
|
1283
|
+
first_notification_delay 0.000000
|
1284
|
+
stalking_options n
|
1285
|
+
process_perf_data 1
|
1286
|
+
failure_prediction_enabled 1
|
1287
|
+
retain_status_information 1
|
1288
|
+
retain_nonstatus_information 1
|
1289
|
+
}
|
1290
|
+
|
1291
|
+
define service {
|
1292
|
+
host_name kurobka
|
1293
|
+
service_description PING
|
1294
|
+
check_period _24x7
|
1295
|
+
check_command check_ping!100.0,20%!500.0,60%
|
1296
|
+
contact_groups admins
|
1297
|
+
notification_period _24x7
|
1298
|
+
initial_state o
|
1299
|
+
check_interval 1.000000
|
1300
|
+
retry_interval 1.000000
|
1301
|
+
max_check_attempts 4
|
1302
|
+
is_volatile 0
|
1303
|
+
parallelize_check 1
|
1304
|
+
active_checks_enabled 1
|
1305
|
+
passive_checks_enabled 1
|
1306
|
+
obsess_over_service 1
|
1307
|
+
event_handler_enabled 1
|
1308
|
+
low_flap_threshold 0.000000
|
1309
|
+
high_flap_threshold 0.000000
|
1310
|
+
flap_detection_enabled 1
|
1311
|
+
flap_detection_options o,w,u,c
|
1312
|
+
freshness_threshold 0
|
1313
|
+
check_freshness 0
|
1314
|
+
notification_options u,w,c,r
|
1315
|
+
notifications_enabled 1
|
1316
|
+
notification_interval 0.000000
|
1317
|
+
first_notification_delay 0.000000
|
1318
|
+
stalking_options n
|
1319
|
+
process_perf_data 1
|
1320
|
+
failure_prediction_enabled 1
|
1321
|
+
retain_status_information 1
|
1322
|
+
retain_nonstatus_information 1
|
1323
|
+
}
|
1324
|
+
|
1325
|
+
define service {
|
1326
|
+
host_name kurobka
|
1327
|
+
service_description SSH
|
1328
|
+
check_period _24x7
|
1329
|
+
check_command check_ssh
|
1330
|
+
contact_groups admins
|
1331
|
+
notification_period _24x7
|
1332
|
+
initial_state o
|
1333
|
+
check_interval 5.000000
|
1334
|
+
retry_interval 1.000000
|
1335
|
+
max_check_attempts 4
|
1336
|
+
is_volatile 0
|
1337
|
+
parallelize_check 1
|
1338
|
+
active_checks_enabled 1
|
1339
|
+
passive_checks_enabled 1
|
1340
|
+
obsess_over_service 1
|
1341
|
+
event_handler_enabled 1
|
1342
|
+
low_flap_threshold 0.000000
|
1343
|
+
high_flap_threshold 0.000000
|
1344
|
+
flap_detection_enabled 1
|
1345
|
+
flap_detection_options o,w,u,c
|
1346
|
+
freshness_threshold 0
|
1347
|
+
check_freshness 0
|
1348
|
+
notification_options u,w,c,r
|
1349
|
+
notifications_enabled 1
|
1350
|
+
notification_interval 0.000000
|
1351
|
+
first_notification_delay 0.000000
|
1352
|
+
stalking_options n
|
1353
|
+
process_perf_data 1
|
1354
|
+
failure_prediction_enabled 1
|
1355
|
+
retain_status_information 1
|
1356
|
+
retain_nonstatus_information 1
|
1357
|
+
}
|
1358
|
+
|
1359
|
+
define service {
|
1360
|
+
host_name tv
|
1361
|
+
service_description PING
|
1362
|
+
check_period _24x7
|
1363
|
+
check_command check_ping!100.0,20%!500.0,60%
|
1364
|
+
contact_groups admins
|
1365
|
+
notification_period _24x7
|
1366
|
+
initial_state o
|
1367
|
+
check_interval 1.000000
|
1368
|
+
retry_interval 1.000000
|
1369
|
+
max_check_attempts 4
|
1370
|
+
is_volatile 0
|
1371
|
+
parallelize_check 1
|
1372
|
+
active_checks_enabled 1
|
1373
|
+
passive_checks_enabled 1
|
1374
|
+
obsess_over_service 1
|
1375
|
+
event_handler_enabled 1
|
1376
|
+
low_flap_threshold 0.000000
|
1377
|
+
high_flap_threshold 0.000000
|
1378
|
+
flap_detection_enabled 1
|
1379
|
+
flap_detection_options o,w,u,c
|
1380
|
+
freshness_threshold 0
|
1381
|
+
check_freshness 0
|
1382
|
+
notification_options u,w,c,r
|
1383
|
+
notifications_enabled 1
|
1384
|
+
notification_interval 0.000000
|
1385
|
+
first_notification_delay 0.000000
|
1386
|
+
stalking_options n
|
1387
|
+
process_perf_data 1
|
1388
|
+
failure_prediction_enabled 1
|
1389
|
+
retain_status_information 1
|
1390
|
+
retain_nonstatus_information 1
|
1391
|
+
}
|
1392
|
+
|
1393
|
+
define service {
|
1394
|
+
host_name tv
|
1395
|
+
service_description SSH
|
1396
|
+
check_period _24x7
|
1397
|
+
check_command check_ssh
|
1398
|
+
contact_groups admins
|
1399
|
+
notification_period _24x7
|
1400
|
+
initial_state o
|
1401
|
+
check_interval 5.000000
|
1402
|
+
retry_interval 1.000000
|
1403
|
+
max_check_attempts 4
|
1404
|
+
is_volatile 0
|
1405
|
+
parallelize_check 1
|
1406
|
+
active_checks_enabled 1
|
1407
|
+
passive_checks_enabled 1
|
1408
|
+
obsess_over_service 1
|
1409
|
+
event_handler_enabled 1
|
1410
|
+
low_flap_threshold 0.000000
|
1411
|
+
high_flap_threshold 0.000000
|
1412
|
+
flap_detection_enabled 1
|
1413
|
+
flap_detection_options o,w,u,c
|
1414
|
+
freshness_threshold 0
|
1415
|
+
check_freshness 0
|
1416
|
+
notification_options u,w,c,r
|
1417
|
+
notifications_enabled 1
|
1418
|
+
notification_interval 0.000000
|
1419
|
+
first_notification_delay 0.000000
|
1420
|
+
stalking_options n
|
1421
|
+
process_perf_data 1
|
1422
|
+
failure_prediction_enabled 1
|
1423
|
+
retain_status_information 1
|
1424
|
+
retain_nonstatus_information 1
|
1425
|
+
}
|
1426
|
+
|
1427
|
+
define service {
|
1428
|
+
host_name viy
|
1429
|
+
service_description Check time
|
1430
|
+
check_period _24x7
|
1431
|
+
check_command check_time!${HOSTNAME}
|
1432
|
+
contact_groups admins
|
1433
|
+
notification_period _24x7
|
1434
|
+
initial_state o
|
1435
|
+
check_interval 5.000000
|
1436
|
+
retry_interval 1.000000
|
1437
|
+
max_check_attempts 4
|
1438
|
+
is_volatile 0
|
1439
|
+
parallelize_check 1
|
1440
|
+
active_checks_enabled 1
|
1441
|
+
passive_checks_enabled 1
|
1442
|
+
obsess_over_service 1
|
1443
|
+
event_handler_enabled 1
|
1444
|
+
low_flap_threshold 0.000000
|
1445
|
+
high_flap_threshold 0.000000
|
1446
|
+
flap_detection_enabled 1
|
1447
|
+
flap_detection_options o,w,u,c
|
1448
|
+
freshness_threshold 0
|
1449
|
+
check_freshness 0
|
1450
|
+
notification_options u,w,c,r
|
1451
|
+
notifications_enabled 1
|
1452
|
+
notification_interval 0.000000
|
1453
|
+
first_notification_delay 0.000000
|
1454
|
+
stalking_options n
|
1455
|
+
process_perf_data 1
|
1456
|
+
failure_prediction_enabled 1
|
1457
|
+
retain_status_information 1
|
1458
|
+
retain_nonstatus_information 1
|
1459
|
+
}
|
1460
|
+
|
1461
|
+
define service {
|
1462
|
+
host_name viy
|
1463
|
+
service_description Current Load
|
1464
|
+
check_period _24x7
|
1465
|
+
check_command check_load!5.0!4.0!3.0!10.0!6.0!4.0
|
1466
|
+
contact_groups admins
|
1467
|
+
notification_period not_backup_time
|
1468
|
+
initial_state o
|
1469
|
+
check_interval 5.000000
|
1470
|
+
retry_interval 1.000000
|
1471
|
+
max_check_attempts 4
|
1472
|
+
is_volatile 0
|
1473
|
+
parallelize_check 1
|
1474
|
+
active_checks_enabled 1
|
1475
|
+
passive_checks_enabled 1
|
1476
|
+
obsess_over_service 1
|
1477
|
+
event_handler_enabled 1
|
1478
|
+
low_flap_threshold 0.000000
|
1479
|
+
high_flap_threshold 0.000000
|
1480
|
+
flap_detection_enabled 1
|
1481
|
+
flap_detection_options o,w,u,c
|
1482
|
+
freshness_threshold 0
|
1483
|
+
check_freshness 0
|
1484
|
+
notification_options u,w,c,r
|
1485
|
+
notifications_enabled 1
|
1486
|
+
notification_interval 0.000000
|
1487
|
+
first_notification_delay 0.000000
|
1488
|
+
stalking_options n
|
1489
|
+
process_perf_data 1
|
1490
|
+
failure_prediction_enabled 1
|
1491
|
+
retain_status_information 1
|
1492
|
+
retain_nonstatus_information 1
|
1493
|
+
}
|
1494
|
+
|
1495
|
+
define service {
|
1496
|
+
host_name viy
|
1497
|
+
service_description Current Users
|
1498
|
+
check_period _24x7
|
1499
|
+
check_command check_users!20!50
|
1500
|
+
contact_groups admins
|
1501
|
+
notification_period _24x7
|
1502
|
+
initial_state o
|
1503
|
+
check_interval 5.000000
|
1504
|
+
retry_interval 1.000000
|
1505
|
+
max_check_attempts 4
|
1506
|
+
is_volatile 0
|
1507
|
+
parallelize_check 1
|
1508
|
+
active_checks_enabled 1
|
1509
|
+
passive_checks_enabled 1
|
1510
|
+
obsess_over_service 1
|
1511
|
+
event_handler_enabled 1
|
1512
|
+
low_flap_threshold 0.000000
|
1513
|
+
high_flap_threshold 0.000000
|
1514
|
+
flap_detection_enabled 1
|
1515
|
+
flap_detection_options o,w,u,c
|
1516
|
+
freshness_threshold 0
|
1517
|
+
check_freshness 0
|
1518
|
+
notification_options u,w,c,r
|
1519
|
+
notifications_enabled 1
|
1520
|
+
notification_interval 0.000000
|
1521
|
+
first_notification_delay 0.000000
|
1522
|
+
stalking_options n
|
1523
|
+
process_perf_data 1
|
1524
|
+
failure_prediction_enabled 1
|
1525
|
+
retain_status_information 1
|
1526
|
+
retain_nonstatus_information 1
|
1527
|
+
}
|
1528
|
+
|
1529
|
+
define service {
|
1530
|
+
host_name viy
|
1531
|
+
service_description DNS service
|
1532
|
+
check_period _24x7
|
1533
|
+
check_command check_dns!viy
|
1534
|
+
contact_groups admins
|
1535
|
+
notification_period _24x7
|
1536
|
+
initial_state o
|
1537
|
+
check_interval 5.000000
|
1538
|
+
retry_interval 1.000000
|
1539
|
+
max_check_attempts 4
|
1540
|
+
is_volatile 0
|
1541
|
+
parallelize_check 1
|
1542
|
+
active_checks_enabled 1
|
1543
|
+
passive_checks_enabled 1
|
1544
|
+
obsess_over_service 1
|
1545
|
+
event_handler_enabled 1
|
1546
|
+
low_flap_threshold 0.000000
|
1547
|
+
high_flap_threshold 0.000000
|
1548
|
+
flap_detection_enabled 1
|
1549
|
+
flap_detection_options o,w,u,c
|
1550
|
+
freshness_threshold 0
|
1551
|
+
check_freshness 0
|
1552
|
+
notification_options u,w,c,r
|
1553
|
+
notifications_enabled 1
|
1554
|
+
notification_interval 0.000000
|
1555
|
+
first_notification_delay 0.000000
|
1556
|
+
stalking_options n
|
1557
|
+
process_perf_data 1
|
1558
|
+
failure_prediction_enabled 1
|
1559
|
+
retain_status_information 1
|
1560
|
+
retain_nonstatus_information 1
|
1561
|
+
}
|
1562
|
+
|
1563
|
+
define service {
|
1564
|
+
host_name viy
|
1565
|
+
service_description Disk Space
|
1566
|
+
check_period _24x7
|
1567
|
+
check_command check_disk!500m!200m!/www_dk
|
1568
|
+
contact_groups admins
|
1569
|
+
notification_period _24x7
|
1570
|
+
initial_state o
|
1571
|
+
check_interval 30.000000
|
1572
|
+
retry_interval 1.000000
|
1573
|
+
max_check_attempts 4
|
1574
|
+
is_volatile 0
|
1575
|
+
parallelize_check 1
|
1576
|
+
active_checks_enabled 1
|
1577
|
+
passive_checks_enabled 1
|
1578
|
+
obsess_over_service 1
|
1579
|
+
event_handler_enabled 1
|
1580
|
+
low_flap_threshold 0.000000
|
1581
|
+
high_flap_threshold 0.000000
|
1582
|
+
flap_detection_enabled 1
|
1583
|
+
flap_detection_options o,w,u,c
|
1584
|
+
freshness_threshold 0
|
1585
|
+
check_freshness 0
|
1586
|
+
notification_options u,w,c,r
|
1587
|
+
notifications_enabled 1
|
1588
|
+
notification_interval 0.000000
|
1589
|
+
first_notification_delay 0.000000
|
1590
|
+
stalking_options n
|
1591
|
+
process_perf_data 1
|
1592
|
+
failure_prediction_enabled 1
|
1593
|
+
retain_status_information 1
|
1594
|
+
retain_nonstatus_information 1
|
1595
|
+
}
|
1596
|
+
|
1597
|
+
define service {
|
1598
|
+
host_name viy
|
1599
|
+
service_description Exim queue
|
1600
|
+
check_period _24x7
|
1601
|
+
check_command check_mailq_exim!10!20
|
1602
|
+
contact_groups admins
|
1603
|
+
notification_period _24x7
|
1604
|
+
initial_state o
|
1605
|
+
check_interval 2.000000
|
1606
|
+
retry_interval 1.000000
|
1607
|
+
max_check_attempts 4
|
1608
|
+
is_volatile 0
|
1609
|
+
parallelize_check 1
|
1610
|
+
active_checks_enabled 1
|
1611
|
+
passive_checks_enabled 1
|
1612
|
+
obsess_over_service 1
|
1613
|
+
event_handler_enabled 1
|
1614
|
+
low_flap_threshold 0.000000
|
1615
|
+
high_flap_threshold 0.000000
|
1616
|
+
flap_detection_enabled 1
|
1617
|
+
flap_detection_options o,w,u,c
|
1618
|
+
freshness_threshold 0
|
1619
|
+
check_freshness 0
|
1620
|
+
notification_options u,w,c,r
|
1621
|
+
notifications_enabled 1
|
1622
|
+
notification_interval 0.000000
|
1623
|
+
first_notification_delay 0.000000
|
1624
|
+
stalking_options n
|
1625
|
+
process_perf_data 1
|
1626
|
+
failure_prediction_enabled 1
|
1627
|
+
retain_status_information 1
|
1628
|
+
retain_nonstatus_information 1
|
1629
|
+
}
|
1630
|
+
|
1631
|
+
define service {
|
1632
|
+
host_name viy
|
1633
|
+
service_description HTTP
|
1634
|
+
check_period _24x7
|
1635
|
+
check_command check_http
|
1636
|
+
contact_groups admins
|
1637
|
+
notification_period _24x7
|
1638
|
+
initial_state o
|
1639
|
+
check_interval 5.000000
|
1640
|
+
retry_interval 1.000000
|
1641
|
+
max_check_attempts 4
|
1642
|
+
is_volatile 0
|
1643
|
+
parallelize_check 1
|
1644
|
+
active_checks_enabled 1
|
1645
|
+
passive_checks_enabled 1
|
1646
|
+
obsess_over_service 1
|
1647
|
+
event_handler_enabled 1
|
1648
|
+
low_flap_threshold 0.000000
|
1649
|
+
high_flap_threshold 0.000000
|
1650
|
+
flap_detection_enabled 1
|
1651
|
+
flap_detection_options o,w,u,c
|
1652
|
+
freshness_threshold 0
|
1653
|
+
check_freshness 0
|
1654
|
+
notification_options u,w,c,r
|
1655
|
+
notifications_enabled 1
|
1656
|
+
notification_interval 0.000000
|
1657
|
+
first_notification_delay 0.000000
|
1658
|
+
stalking_options n
|
1659
|
+
process_perf_data 1
|
1660
|
+
failure_prediction_enabled 1
|
1661
|
+
retain_status_information 1
|
1662
|
+
retain_nonstatus_information 1
|
1663
|
+
}
|
1664
|
+
|
1665
|
+
define service {
|
1666
|
+
host_name viy
|
1667
|
+
service_description High Load
|
1668
|
+
check_period _24x7
|
1669
|
+
check_command check_load!10.0!8.0!6.0!20.0!12.0!8.0
|
1670
|
+
contact_groups admins
|
1671
|
+
notification_period _24x7
|
1672
|
+
initial_state o
|
1673
|
+
check_interval 5.000000
|
1674
|
+
retry_interval 1.000000
|
1675
|
+
max_check_attempts 4
|
1676
|
+
is_volatile 0
|
1677
|
+
parallelize_check 1
|
1678
|
+
active_checks_enabled 1
|
1679
|
+
passive_checks_enabled 1
|
1680
|
+
obsess_over_service 1
|
1681
|
+
event_handler_enabled 1
|
1682
|
+
low_flap_threshold 0.000000
|
1683
|
+
high_flap_threshold 0.000000
|
1684
|
+
flap_detection_enabled 1
|
1685
|
+
flap_detection_options o,w,u,c
|
1686
|
+
freshness_threshold 0
|
1687
|
+
check_freshness 0
|
1688
|
+
notification_options u,w,c,r
|
1689
|
+
notifications_enabled 1
|
1690
|
+
notification_interval 0.000000
|
1691
|
+
first_notification_delay 0.000000
|
1692
|
+
stalking_options n
|
1693
|
+
process_perf_data 1
|
1694
|
+
failure_prediction_enabled 1
|
1695
|
+
retain_status_information 1
|
1696
|
+
retain_nonstatus_information 1
|
1697
|
+
}
|
1698
|
+
|
1699
|
+
define service {
|
1700
|
+
host_name viy
|
1701
|
+
service_description PING
|
1702
|
+
check_period _24x7
|
1703
|
+
check_command check_ping!100.0,20%!500.0,60%
|
1704
|
+
contact_groups admins
|
1705
|
+
notification_period _24x7
|
1706
|
+
initial_state o
|
1707
|
+
check_interval 1.000000
|
1708
|
+
retry_interval 1.000000
|
1709
|
+
max_check_attempts 4
|
1710
|
+
is_volatile 0
|
1711
|
+
parallelize_check 1
|
1712
|
+
active_checks_enabled 1
|
1713
|
+
passive_checks_enabled 1
|
1714
|
+
obsess_over_service 1
|
1715
|
+
event_handler_enabled 1
|
1716
|
+
low_flap_threshold 0.000000
|
1717
|
+
high_flap_threshold 0.000000
|
1718
|
+
flap_detection_enabled 1
|
1719
|
+
flap_detection_options o,w,u,c
|
1720
|
+
freshness_threshold 0
|
1721
|
+
check_freshness 0
|
1722
|
+
notification_options u,w,c,r
|
1723
|
+
notifications_enabled 1
|
1724
|
+
notification_interval 0.000000
|
1725
|
+
first_notification_delay 0.000000
|
1726
|
+
stalking_options n
|
1727
|
+
process_perf_data 1
|
1728
|
+
failure_prediction_enabled 1
|
1729
|
+
retain_status_information 1
|
1730
|
+
retain_nonstatus_information 1
|
1731
|
+
}
|
1732
|
+
|
1733
|
+
define service {
|
1734
|
+
host_name viy
|
1735
|
+
service_description SSH
|
1736
|
+
check_period _24x7
|
1737
|
+
check_command check_ssh
|
1738
|
+
contact_groups admins
|
1739
|
+
notification_period _24x7
|
1740
|
+
initial_state o
|
1741
|
+
check_interval 5.000000
|
1742
|
+
retry_interval 1.000000
|
1743
|
+
max_check_attempts 4
|
1744
|
+
is_volatile 0
|
1745
|
+
parallelize_check 1
|
1746
|
+
active_checks_enabled 1
|
1747
|
+
passive_checks_enabled 1
|
1748
|
+
obsess_over_service 1
|
1749
|
+
event_handler_enabled 1
|
1750
|
+
low_flap_threshold 0.000000
|
1751
|
+
high_flap_threshold 0.000000
|
1752
|
+
flap_detection_enabled 1
|
1753
|
+
flap_detection_options o,w,u,c
|
1754
|
+
freshness_threshold 0
|
1755
|
+
check_freshness 0
|
1756
|
+
notification_options u,w,c,r
|
1757
|
+
notifications_enabled 1
|
1758
|
+
notification_interval 0.000000
|
1759
|
+
first_notification_delay 0.000000
|
1760
|
+
stalking_options n
|
1761
|
+
process_perf_data 1
|
1762
|
+
failure_prediction_enabled 1
|
1763
|
+
retain_status_information 1
|
1764
|
+
retain_nonstatus_information 1
|
1765
|
+
}
|
1766
|
+
|
1767
|
+
define service {
|
1768
|
+
host_name viy
|
1769
|
+
service_description Total Processes
|
1770
|
+
check_period _24x7
|
1771
|
+
check_command check_procs!250!400
|
1772
|
+
contact_groups admins
|
1773
|
+
notification_period _24x7
|
1774
|
+
initial_state o
|
1775
|
+
check_interval 5.000000
|
1776
|
+
retry_interval 1.000000
|
1777
|
+
max_check_attempts 4
|
1778
|
+
is_volatile 0
|
1779
|
+
parallelize_check 1
|
1780
|
+
active_checks_enabled 1
|
1781
|
+
passive_checks_enabled 1
|
1782
|
+
obsess_over_service 1
|
1783
|
+
event_handler_enabled 1
|
1784
|
+
low_flap_threshold 0.000000
|
1785
|
+
high_flap_threshold 0.000000
|
1786
|
+
flap_detection_enabled 1
|
1787
|
+
flap_detection_options o,w,u,c
|
1788
|
+
freshness_threshold 0
|
1789
|
+
check_freshness 0
|
1790
|
+
notification_options u,w,c,r
|
1791
|
+
notifications_enabled 1
|
1792
|
+
notification_interval 0.000000
|
1793
|
+
first_notification_delay 0.000000
|
1794
|
+
stalking_options n
|
1795
|
+
process_perf_data 1
|
1796
|
+
failure_prediction_enabled 1
|
1797
|
+
retain_status_information 1
|
1798
|
+
retain_nonstatus_information 1
|
1799
|
+
}
|
1800
|
+
|
1801
|
+
define service {
|
1802
|
+
host_name yarylo
|
1803
|
+
service_description PING
|
1804
|
+
check_period _24x7
|
1805
|
+
check_command check_ping!100.0,20%!500.0,60%
|
1806
|
+
contact_groups admins
|
1807
|
+
notification_period _24x7
|
1808
|
+
initial_state o
|
1809
|
+
check_interval 1.000000
|
1810
|
+
retry_interval 1.000000
|
1811
|
+
max_check_attempts 4
|
1812
|
+
is_volatile 0
|
1813
|
+
parallelize_check 1
|
1814
|
+
active_checks_enabled 1
|
1815
|
+
passive_checks_enabled 1
|
1816
|
+
obsess_over_service 1
|
1817
|
+
event_handler_enabled 1
|
1818
|
+
low_flap_threshold 0.000000
|
1819
|
+
high_flap_threshold 0.000000
|
1820
|
+
flap_detection_enabled 1
|
1821
|
+
flap_detection_options o,w,u,c
|
1822
|
+
freshness_threshold 0
|
1823
|
+
check_freshness 0
|
1824
|
+
notification_options u,w,c,r
|
1825
|
+
notifications_enabled 1
|
1826
|
+
notification_interval 0.000000
|
1827
|
+
first_notification_delay 0.000000
|
1828
|
+
stalking_options n
|
1829
|
+
process_perf_data 1
|
1830
|
+
failure_prediction_enabled 1
|
1831
|
+
retain_status_information 1
|
1832
|
+
retain_nonstatus_information 1
|
1833
|
+
}
|
1834
|
+
|
1835
|
+
define service {
|
1836
|
+
host_name yarylo
|
1837
|
+
service_description SSH
|
1838
|
+
check_period _24x7
|
1839
|
+
check_command check_ssh
|
1840
|
+
contact_groups admins
|
1841
|
+
notification_period _24x7
|
1842
|
+
initial_state o
|
1843
|
+
check_interval 5.000000
|
1844
|
+
retry_interval 1.000000
|
1845
|
+
max_check_attempts 4
|
1846
|
+
is_volatile 0
|
1847
|
+
parallelize_check 1
|
1848
|
+
active_checks_enabled 1
|
1849
|
+
passive_checks_enabled 1
|
1850
|
+
obsess_over_service 1
|
1851
|
+
event_handler_enabled 1
|
1852
|
+
low_flap_threshold 0.000000
|
1853
|
+
high_flap_threshold 0.000000
|
1854
|
+
flap_detection_enabled 1
|
1855
|
+
flap_detection_options o,w,u,c
|
1856
|
+
freshness_threshold 0
|
1857
|
+
check_freshness 0
|
1858
|
+
notification_options u,w,c,r
|
1859
|
+
notifications_enabled 1
|
1860
|
+
notification_interval 0.000000
|
1861
|
+
first_notification_delay 0.000000
|
1862
|
+
stalking_options n
|
1863
|
+
process_perf_data 1
|
1864
|
+
failure_prediction_enabled 1
|
1865
|
+
retain_status_information 1
|
1866
|
+
retain_nonstatus_information 1
|
1867
|
+
}
|
1868
|
+
|