Avail feature updated
[ninja.git] / test / configs / templates / etc / checkcommands.cfg
blobcfdc1206f09bb135a33f45f5f28ba0244b9345a0
1 ###############################################################################
2 #  Generated by op5 Monitor webconfiguration exporter
4 #  Exported 2009-02-11 12:57 by monitor
8 # command 'check-host-alive'
9 define command{
10     command_name                   check-host-alive
11     command_line                   $USER2$/check_host -H $HOSTADDRESS$
12     }
14 # command 'check-host-alive-http'
15 define command{
16     command_name                   check-host-alive-http
17     command_line                   $USER1$/check_tcp -H $HOSTADDRESS$ -p 80 -w 4 -c 5 -t 6
18     }
20 # command 'check-host-alive-icmp'
21 define command{
22     command_name                   check-host-alive-icmp
23     command_line                   $USER2$/check_icmp -H $HOSTADDRESS$ -w 5000,80% -c 5000,100% -n 1
24     }
26 # command 'check-host-alive-nsclient'
27 define command{
28     command_name                   check-host-alive-nsclient
29     command_line                   $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v UPTIME -t 5
30     }
32 # command 'check-host-alive-telnet'
33 define command{
34     command_name                   check-host-alive-telnet
35     command_line                   $USER1$/check_tcp -H $HOSTADDRESS$ -p 23 -w 4 -c 5 -t 6
36     }
38 # command 'check-host-down'
39 define command{
40     command_name                   check-host-down
41     command_line                   $USER1$/check_dummyv2 2 "host is down" 2
42     }
44 # command 'check-host-unknown'
45 define command{
46     command_name                   check-host-unknown
47     command_line                   $USER1$/check_dummyv2 3 "host is unknown" 3
48     }
50 # command 'check-host-up'
51 define command{
52     command_name                   check-host-up
53     command_line                   $USER1$/check_dummyv2 0 "host is up" 0
54     }
56 # command 'check-service-critical'
57 define command{
58     command_name                   check-service-critical
59     command_line                   $USER1$/check_dummyv2 2 "service is critical" 2
60     }
62 # command 'check-service-ok'
63 define command{
64     command_name                   check-service-ok
65     command_line                   $USER1$/check_dummyv2 0 "service is ok" 0
66     }
68 # command 'check-service-unknown'
69 define command{
70     command_name                   check-service-unknown
71     command_line                   $USER1$/check_dummyv2 3 "service is unknown" 3
72     }
74 # command 'check-service-warning'
75 define command{
76     command_name                   check-service-warning
77     command_line                   $USER1$/check_dummyv2 1 "service is warning" 1
78     }
80 # command 'check_adam'
81 define command{
82     command_name                   check_adam
83     command_line                   $USER1$/check_adam -H $HOSTADDRESS$ --coil $ARG1$ --check-di --expect $ARG2$
84     }
86 # command 'check_bgpstate'
87 define command{
88     command_name                   check_bgpstate
89     command_line                   $USER1$/check_bgpstate -c $ARG1$ $HOSTADDRESS$
90     }
92 # command 'check_citrix'
93 define command{
94     command_name                   check_citrix
95     command_line                   $USER1$/check_citrix -C $HOSTADDRESS$ -P "$ARG1$"
96     }
98 # command 'check_dhcp'
99 define command{
100     command_name                   check_dhcp
101     command_line                   $USER2$/check_dhcp -H $HOSTADDRESS$
102     }
104 # command 'check_dig'
105 define command{
106     command_name                   check_dig
107     command_line                   $USER1$/check_dig -H $HOSTADDRESS$ -l $ARG1$
108     }
110 # command 'check_dns'
111 define command{
112     command_name                   check_dns
113     command_line                   $USER1$/check_dns -H $ARG1$ -s $HOSTADDRESS$ -a $ARG2$
114     }
116 # command 'check_dummy'
117 define command{
118     command_name                   check_dummy
119     command_line                   $USER1$/check_dummy $ARG1$
120     }
122 # command 'check_extreme_cpu'
123 define command{
124     command_name                   check_extreme_cpu
125     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.1916.1.1.1.28.0 -w $ARG2$ -c $ARG3$ -l "CPU" -u %
126     }
128 # command 'check_extreme_power'
129 define command{
130     command_name                   check_extreme_power
131     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.1916.1.1.1.21.0 -r 2 -l "Power"
132     }
134 # command 'check_extreme_temperature'
135 define command{
136     command_name                   check_extreme_temperature
137     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.1916.1.1.1.8.0 -w $ARG2$ -c $ARG3$ -l "Temperature" -u "c"
138     }
140 # command 'check_ftp'
141 define command{
142     command_name                   check_ftp
143     command_line                   $USER1$/check_ftp -H $HOSTADDRESS$
144     }
146 # command 'check_hpjd'
147 define command{
148     command_name                   check_hpjd
149     command_line                   $USER1$/check_hpjd -H $HOSTADDRESS$ -C $ARG1$
150     }
152 # command 'check_hpjd_public'
153 define command{
154     command_name                   check_hpjd_public
155     command_line                   $USER1$/check_hpjd -H $HOSTADDRESS$ -C public
156     }
158 # command 'check_hp_cpu'
159 define command{
160     command_name                   check_hp_cpu
161     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.11.2.14.11.5.1.9.6.1.0 -t 5  -w $ARG2$ -c $ARG3$ -u % -l "5min cpu"
162     }
164 # command 'check_hp_fan'
165 define command{
166     command_name                   check_hp_fan
167     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.11.2.14.11.1.2.6.1.4.1 -w 4 -c 3:5 -l 'Fan status'
168     }
170 # command 'check_hp_fibre_array_status'
171 define command{
172     command_name                   check_hp_fibre_array_status
173     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -P 1 -o .1.3.6.1.4.1.232.16.2.2.1.1.6.1.1 -l "Fibre array:" -u "->(1)Other - (2)OK - (3)Degrades - (4)Failed" -c 2 -m:
174     }
176 # command 'check_hp_insight'
177 define command{
178     command_name                   check_hp_insight
179     command_line                   $USER1$/check_compaq_insight -H $HOSTADDRESS$ -C $ARG1$
180     }
182 # command 'check_hp_memoryfree'
183 define command{
184     command_name                   check_hp_memoryfree
185     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.11.2.14.11.5.1.1.2.1.1.1.6.1 -t 5 -w $ARG2$ -c $ARG3$ -u bytes -l free
186     }
188 # command 'check_hp_nic_status'
189 define command{
190     command_name                   check_hp_nic_status
191     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -P 1 -o .1.3.6.1.4.1.232.18.2.3.1.1.13.$ARG2$ -l "NIC status:" -u "->(1)Unknown - (2)Active - (3)Standby - (4)Failed" -w 2 -c 2:3 -m:
192     }
194 # command 'check_hp_power'
195 define command{
196     command_name                   check_hp_power
197     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.11.2.14.11.1.2.6.1.4.2 -w 4 -c 3:5 -l 'Power Supply status'
198     }
200 # command 'check_hp_power_supply_condition'
201 define command{
202     command_name                   check_hp_power_supply_condition
203     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -P 1 -o .1.3.6.1.4.1.232.6.2.9.3.1.4.0.$ARG2$ -l "Power Supply:" -u "->(1)Other - (2)OK - (3)Degrades - (4)Failed" -c 2 -m:
204     }
206 # command 'check_hp_raid_ctrl_status'
207 define command{
208     command_name                   check_hp_raid_ctrl_status
209     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -P 1 -o .1.3.6.1.4.1.232.3.2.2.1.1.6.0 -l "Raid status:" -u "->(1)Other - (2)OK - (3)Degrades - (4)Failed" -c 2 -m:
210     }
212 # command 'check_hp_temperature'
213 define command{
214     command_name                   check_hp_temperature
215     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.11.2.14.11.1.2.6.1.4.4 -w 4 -c 3:5 -l 'Temperature status'
216     }
218 # command 'check_http'
219 define command{
220     command_name                   check_http
221     command_line                   $USER1$/check_http -H $HOSTADDRESS$
222     }
224 # command 'check_https'
225 define command{
226     command_name                   check_https
227     command_line                   $USER1$/check_http -H $HOSTADDRESS$ -S
228     }
230 # command 'check_https_auth'
231 define command{
232     command_name                   check_https_auth
233     command_line                   $USER1$/check_http -H $HOSTADDRESS$ -a $ARG1$:$ARG2$ -S
234     }
236 # command 'check_https_auth_url'
237 define command{
238     command_name                   check_https_auth_url
239     command_line                   $USER1$/check_http -H $HOSTADDRESS$ -a $ARG1$:$ARG2$ -S -u $ARG3$
240     }
242 # command 'check_https_certificate'
243 define command{
244     command_name                   check_https_certificate
245     command_line                   $USER1$/check_http -H $HOSTADDRESS$ -S -C $ARG1$
246     }
248 # command 'check_https_port'
249 define command{
250     command_name                   check_https_port
251     command_line                   $USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$ -S
252     }
254 # command 'check_https_port_url'
255 define command{
256     command_name                   check_https_port_url
257     command_line                   $USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$ -u $ARG2$ -S
258     }
260 # command 'check_https_timeout'
261 define command{
262     command_name                   check_https_timeout
263     command_line                   $USER1$/check_http -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -S
264     }
266 # command 'check_https_timeout_url'
267 define command{
268     command_name                   check_https_timeout_url
269     command_line                   $USER1$/check_http -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -u $ARG3$ -S
270     }
272 # command 'check_https_url'
273 define command{
274     command_name                   check_https_url
275     command_line                   $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$ -S
276     }
278 # command 'check_https_url_regex'
279 define command{
280     command_name                   check_https_url_regex
281     command_line                   $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$ -r $ARG2$ -S
282     }
284 # command 'check_https_url_string'
285 define command{
286     command_name                   check_https_url_string
287     command_line                   $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$ -s $ARG2$ -S
288     }
290 # command 'check_https_vhost'
291 define command{
292     command_name                   check_https_vhost
293     command_line                   $USER1$/check_http -H $ARG1$ -S
294     }
296 # command 'check_https_vhost_certificate'
297 define command{
298     command_name                   check_https_vhost_certificate
299     command_line                   $USER1$/check_http -H $ARG1$ -S -C $ARG2$
300     }
302 # command 'check_https_vhost_url_string'
303 define command{
304     command_name                   check_https_vhost_url_string
305     command_line                   $USER1$/check_http -H $ARG1$ -u $ARG2$ -s $ARG3$ -S
306     }
308 # command 'check_http_auth'
309 define command{
310     command_name                   check_http_auth
311     command_line                   $USER1$/check_http -H $HOSTADDRESS$ -a $ARG1$:$ARG2$
312     }
314 # command 'check_http_auth_url'
315 define command{
316     command_name                   check_http_auth_url
317     command_line                   $USER1$/check_http -H $HOSTADDRESS$ -a $ARG1$:$ARG2$ -u $ARG3$
318     }
320 # command 'check_http_port'
321 define command{
322     command_name                   check_http_port
323     command_line                   $USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$
324     }
326 # command 'check_http_port_url'
327 define command{
328     command_name                   check_http_port_url
329     command_line                   $USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$ -u $ARG2$
330     }
332 # command 'check_http_timeout'
333 define command{
334     command_name                   check_http_timeout
335     command_line                   $USER1$/check_http -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$
336     }
338 # command 'check_http_timeout_url'
339 define command{
340     command_name                   check_http_timeout_url
341     command_line                   $USER1$/check_http -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -u $ARG3$
342     }
344 # command 'check_http_url'
345 define command{
346     command_name                   check_http_url
347     command_line                   $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$
348     }
350 # command 'check_http_url_regex'
351 define command{
352     command_name                   check_http_url_regex
353     command_line                   $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$ -r $ARG2$
354     }
356 # command 'check_http_url_string'
357 define command{
358     command_name                   check_http_url_string
359     command_line                   $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$ -s $ARG2$
360     }
362 # command 'check_http_vhost'
363 define command{
364     command_name                   check_http_vhost
365     command_line                   $USER1$/check_http -H $ARG1$
366     }
368 # command 'check_http_vhost_url_string'
369 define command{
370     command_name                   check_http_vhost_url_string
371     command_line                   $USER1$/check_http -H $ARG1$ -u $ARG2$ -s $ARG3$
372     }
374 # command 'check_ibm_3584_media_access_availability'
375 define command{
376     command_name                   check_ibm_3584_media_access_availability
377     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -P 1 -o .1.3.6.1.4.1.2.6.182.3.6.2.1.5.$ARG2$ -l "Media Access Device Availability:" -u"-->unknown (0) other (1) runningFullPower (2)  warning (3)  inTest (4) notApplicable (5) powerOff (6) offLine (7) offDuty (8) degraded (9) notInstalled (10)  installError (11) powerSaveUnknown (12) powerSaveLowPowerMode (13) powerSaveStandby (14) powerCycle (15) powerSaveWarning (16) paused (17) notReady (18)" -w 0:2 -c 1:2 -m:
378     }
380 # command 'check_ibm_3584_nr_of_physichal_medias'
381 define command{
382     command_name                   check_ibm_3584_nr_of_physichal_medias
383     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -P 1 -o .1.3.6.1.4.1.2.6.182.3.7.1.0 -l "Nr of Physichal medias:" -w $ARG2$ -c $ARG3$ -m:
384     }
386 # command 'check_ibm_3584_security_breach'
387 define command{
388     command_name                   check_ibm_3584_security_breach
389     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -P 1 -o .1.3.6.1.4.1.2.6.182.3.4.5.0 -l "Security Status:" -u "-->(0)Unknown (1)Other (2)No Breach (3)Breach Attempt" -c 0:2 -m:
390     }
392 # command 'check_ibm_3584_status_of_mediaaccessdevice'
393 define command{
394     command_name                   check_ibm_3584_status_of_mediaaccessdevice
395     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -P 1 -o .1.3.6.1.4.1.2.6.182.3.6.2.1.4.$ARG2$ -l "Media Access Device Status:" -r $ARG3$ -m:
396     }
398 # command 'check_ibm_3584_storage_library_status'
399 define command{
400     command_name                   check_ibm_3584_storage_library_status
401     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -P 1 -o .1.3.6.1.4.1.2.6.182.3.5.4.0 -l "Storage Library Status:"  -r $ARG2$ -m:
402     }
404 # command 'check_ibm_raidstatus'
405 define command{
406     command_name                   check_ibm_raidstatus
407     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -P 1 -C $ARG1$ -o .1.3.6.1.4.1.2.6.159.1.1.30.3.1.6.19.115.101.114.118.101.114.97.105.100.32.115.117.98.115.121.115.116.101.109 -r "ServeRAID subsystem is working properly" -m:
408     }
410 # command 'check_iferrors'
411 define command{
412     command_name                   check_iferrors
413     command_line                   $USER1$/check_iferrors.pl -H $HOSTADDRESS$ -C $ARG1$ -i $ARG2$ -w $ARG3$ -c $ARG4$ -t 10
414     }
416 # command 'check_ifoperstatus'
417 define command{
418     command_name                   check_ifoperstatus
419     command_line                   $USER1$/check_ifoperstatus -H $HOSTADDRESS$ -C $ARG1$ -v 1 -k $ARG2$
420     }
422 # command 'check_imap'
423 define command{
424     command_name                   check_imap
425     command_line                   $USER1$/check_imap -H $HOSTADDRESS$
426     }
428 # command 'check_imap3'
429 define command{
430     command_name                   check_imap3
431     command_line                   $USER1$/check_tcp -H $HOSTADDRESS$ -p 220
432     }
434 # command 'check_imaps'
435 define command{
436     command_name                   check_imaps
437     command_line                   $USER1$/check_tcp -H $HOSTADDRESS$ -p 993
438     }
440 # command 'check_ldap'
441 define command{
442     command_name                   check_ldap
443     command_line                   $USER1$/check_ldap -H $HOSTADDRESS$ -b $ARG1$ -w $ARG2$ -c $ARG3$
444     }
446 # command 'check_local_ipmi'
447 define command{
448     command_name                   check_local_ipmi
449     command_line                   $USER1$/check_ipmi /tmp/.ipmitool-sensor-cache
450     }
452 # command 'check_log'
453 define command{
454     command_name                   check_log
455     command_line                   $USER1$/check_log2.pl -l $ARG1$ -s /opt/monitor/var/$ARG2$ -p $HOSTADDRESS$
456     }
458 # command 'check_log_eventlog'
459 define command{
460     command_name                   check_log_eventlog
461     command_line                   $USER1$/urlize https://`hostname -f`/logs/$HOSTADDRESS$_logmsg.log $USER1$/check_log2.pl -l /var/www/html/logs/$HOSTADDRESS$_logmsg.log -s /var/www/html/logs/$HOSTADDRESS$_logmsg.log-seekfile -p $ARG1$
462     }
464 # command 'check_log_snmptraps'
465 define command{
466     command_name                   check_log_snmptraps
467     command_line                   $USER1$/urlize https://`hostname -f`/logs/$HOSTADDRESS$__snmptraps.log $USER1$/check_log2.pl -l /var/www/html/logs/$HOSTADDRESS$__snmptraps.log -s /var/www/html/logs/$HOSTADDRESS$__snmptraps.log-seekfile -p $ARG1$
468     }
470 # command 'check_log_syslog'
471 define command{
472     command_name                   check_log_syslog
473     command_line                   $USER1$/urlize https://`hostname -f`/logs/$HOSTADDRESS$_logmsg.log $USER1$/check_log2.pl -l /var/www/html/logs/$HOSTADDRESS$_logmsg.log -s /var/www/html/logs/$HOSTADDRESS$_logmsg.log-seekfile -p $ARG1$
474     }
476 # command 'check_megaraid'
477 define command{
478     command_name                   check_megaraid
479     command_line                   $USER2$/check_megaraid
480     }
482 # command 'check_mssql_db_online'
483 define command{
484     command_name                   check_mssql_db_online
485     command_line                   $USER1$/check_mssql -H $HOSTADDRESS$ -p $ARG1$ -U "$ARG2$" -P "$ARG3$" -D "$ARG4$" -o
486     }
488 # command 'check_mssql_query_response'
489 define command{
490     command_name                   check_mssql_query_response
491     command_line                   $USER1$/check_mssql -H $HOSTADDRESS$ -p $ARG1$ -U "$ARG2$" -P "$ARG3$" -D "$ARG4$" -Q "$ARG5$" -S "$ARG6$"
492     }
494 # command 'check_mssql_response_length'
495 define command{
496     command_name                   check_mssql_response_length
497     command_line                   $USER1$/check_mssql -H $HOSTADDRESS$ -p $ARG1$ -U "$ARG2$" -P "$ARG3$" -D "$ARG4$" -Q "$ARG5$" -w "$ARG6$" -c "$ARG7$"
498     }
500 # command 'check_mysql'
501 define command{
502     command_name                   check_mysql
503     command_line                   $USER1$/check_mysql -H $HOSTADDRESS$ -u $ARG1$ -p $ARG2$
504     }
506 # command 'check_mysql_db'
507 define command{
508     command_name                   check_mysql_db
509     command_line                   $USER1$/check_mysql -H $HOSTADDRESS$ -d $ARG1$ -u $ARG2$ -p $ARG3$
510     }
512 # command 'check_mysql_local'
513 define command{
514     command_name                   check_mysql_local
515     command_line                   $USER1$/check_mysql -H localhost -u $ARG1$ -p $ARG2$
516     }
518 # command 'check_netbotz_airflow'
519 define command{
520     command_name                   check_netbotz_airflow
521     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -P 1 -o .1.3.6.1.4.1.5528.32.10.4.0 -l "Airflow" -u "meter / minute" -w $ARG2$ -c $ARG3$ -m:
522     }
524 # command 'check_netbotz_door'
525 define command{
526     command_name                   check_netbotz_door
527     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -P 1 -o .1.3.6.1.4.1.5528.32.10.6.0 -l "Door Status:" -u "->(0)Closed  (1)Open" -w $ARG2$ -m:
528     }
530 # command 'check_netbotz_humidity'
531 define command{
532     command_name                   check_netbotz_humidity
533     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -P 1 -o .1.3.6.1.4.1.5528.32.10.3.0 -l "Humidity:" -u "%" -w $ARG2$ -c $ARG3$ -m:
534     }
536 # command 'check_netbotz_motion_detection'
537 define command{
538     command_name                   check_netbotz_motion_detection
539     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -P 1 -o .1.3.6.1.4.1.5528.32.10.16.0 -l "Camera motion detection:" -u "->(0)No motion (1)Motion detected" -w $ARG2$ -m:
540     }
542 # command 'check_netbotz_temp'
543 define command{
544     command_name                   check_netbotz_temp
545     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -P 1 -o .1.3.6.1.4.1.5528.32.10.2.0 -l "Temperature:" -u "degrees Celcius * 10" -w $ARG2$ -c $ARG3$ -m:
546     }
548 # command 'check_nntp'
549 define command{
550     command_name                   check_nntp
551     command_line                   $USER1$/check_nntp -H $HOSTADDRESS$
552     }
554 # command 'check_nrpe'
555 define command{
556     command_name                   check_nrpe
557     command_line                   $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
558     }
560 # command 'check_nrpe_disk_root'
561 define command{
562     command_name                   check_nrpe_disk_root
563     command_line                   $USER1$/check_nrpe -H $HOSTADDRESS$ -c root_disk
564     }
566 # command 'check_nrpe_disk_var'
567 define command{
568     command_name                   check_nrpe_disk_var
569     command_line                   $USER1$/check_nrpe -H $HOSTADDRESS$ -c var_disk
570     }
572 # command 'check_nrpe_load'
573 define command{
574     command_name                   check_nrpe_load
575     command_line                   $USER1$/check_nrpe -H $HOSTADDRESS$ -c load
576     }
578 # command 'check_nrpe_proc_crond'
579 define command{
580     command_name                   check_nrpe_proc_crond
581     command_line                   $USER1$/check_nrpe -H $HOSTADDRESS$ -c proc_crond
582     }
584 # command 'check_nrpe_proc_named'
585 define command{
586     command_name                   check_nrpe_proc_named
587     command_line                   $USER1$/check_nrpe -H $HOSTADDRESS$ -c proc_named
588     }
590 # command 'check_nrpe_proc_syslogd'
591 define command{
592     command_name                   check_nrpe_proc_syslogd
593     command_line                   $USER1$/check_nrpe -H $HOSTADDRESS$ -c proc_syslogd
594     }
596 # command 'check_nrpe_proc_total'
597 define command{
598     command_name                   check_nrpe_proc_total
599     command_line                   $USER1$/check_nrpe -H $HOSTADDRESS$ -c total_procs
600     }
602 # command 'check_nrpe_proc_zombie'
603 define command{
604     command_name                   check_nrpe_proc_zombie
605     command_line                   $USER1$/check_nrpe -H $HOSTADDRESS$ -c zombie_procs
606     }
608 # command 'check_nrpe_swap'
609 define command{
610     command_name                   check_nrpe_swap
611     command_line                   $USER1$/check_nrpe -H $HOSTADDRESS$ -c swap
612     }
614 # command 'check_nrpe_users'
615 define command{
616     command_name                   check_nrpe_users
617     command_line                   $USER1$/check_nrpe -H $HOSTADDRESS$ -c users
618     }
620 # command 'check_ntp'
621 define command{
622     command_name                   check_ntp
623     command_line                   $USER1$/check_ntp -H $HOSTADDRESS$ -w 60 -c 120 -j 5000 -k 10000
624     }
626 # command 'check_nt_clientversion'
627 define command{
628     command_name                   check_nt_clientversion
629     command_line                   $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CLIENTVERSION
630     }
632 # command 'check_nt_cpuload'
633 define command{
634     command_name                   check_nt_cpuload
635     command_line                   $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD -l$ARG1$
636     }
638 # command 'check_nt_disk'
639 define command{
640     command_name                   check_nt_disk
641     command_line                   $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$
642     }
644 # command 'check_nt_memuse'
645 define command{
646     command_name                   check_nt_memuse
647     command_line                   $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v MEMUSE -w $ARG1$ -c $ARG2$
648     }
650 # command 'check_nt_pagingfile'
651 define command{
652     command_name                   check_nt_pagingfile
653     command_line                   $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "\\Paging File(_Total)\\% Usage","Paging File usage is " -w $ARG1$ -c $ARG2$
654     }
656 # command 'check_nt_process'
657 define command{
658     command_name                   check_nt_process
659     command_line                   $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v PROCSTATE -l $ARG1$
660     }
662 # command 'check_nt_service'
663 define command{
664     command_name                   check_nt_service
665     command_line                   $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l "$ARG1$"
666     }
668 # command 'check_nt_uptime'
669 define command{
670     command_name                   check_nt_uptime
671     command_line                   $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v UPTIME
672     }
674 # command 'check_nwstat'
675 define command{
676     command_name                   check_nwstat
677     command_line                   $USER1$/check_nwstat -H $HOSTADDRESS$ -v $ARG1$ -w $ARG2$ -c $ARG3$
678     }
680 # command 'check_nwstat_conns'
681 define command{
682     command_name                   check_nwstat_conns
683     command_line                   $USER1$/check_nwstat -H $HOSTADDRESS$ -v CONNS -w $ARG1$ -c $ARG2$
684     }
686 # command 'check_nwstat_load1'
687 define command{
688     command_name                   check_nwstat_load1
689     command_line                   $USER1$/check_nwstat -H $HOSTADDRESS$ -v LOAD1 -w $ARG1$ -c $ARG2$
690     }
692 # command 'check_nwstat_load15'
693 define command{
694     command_name                   check_nwstat_load15
695     command_line                   $USER1$/check_nwstat -H $HOSTADDRESS$ -v LOAD15 -w $ARG1$ -c $ARG2$
696     }
698 # command 'check_nwstat_load5'
699 define command{
700     command_name                   check_nwstat_load5
701     command_line                   $USER1$/check_nwstat -H $HOSTADDRESS$ -v LOAD5 -w $ARG1$ -c $ARG2$
702     }
704 # command 'check_nwstat_uprb'
705 define command{
706     command_name                   check_nwstat_uprb
707     command_line                   $USER1$/check_nwstat -H $HOSTADDRESS$ -v UPRB -w $ARG1$ -c $ARG2$
708     }
710 # command 'check_ping'
711 define command{
712     command_name                   check_ping
713     command_line                   $USER2$/check_icmp -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -n 5
714     }
716 # command 'check_ping_critical'
717 define command{
718     command_name                   check_ping_critical
719     command_line                   $USER2$/check_icmp -H $HOSTADDRESS$ -w 20,20% -c 100,60% -n 5
720     }
722 # command 'check_ping_normal'
723 define command{
724     command_name                   check_ping_normal
725     command_line                   $USER2$/check_icmp -H $HOSTADDRESS$ -w 100,20% -c 500,60% -n 5
726     }
728 # command 'check_pop'
729 define command{
730     command_name                   check_pop
731     command_line                   $USER1$/check_pop -H $HOSTADDRESS$
732     }
734 # command 'check_radius'
735 define command{
736     command_name                   check_radius
737     command_line                   $USER1$/check_radius -H $HOSTADDRESS$ -F /etc/radiusclient/radiusclient.conf -u $ARG1$ -p $ARG2 -t 10
738     }
740 # command 'check_smtp'
741 define command{
742     command_name                   check_smtp
743     command_line                   $USER1$/check_smtp -H $HOSTADDRESS$
744     }
746 # command 'check_smtp_time'
747 define command{
748     command_name                   check_smtp_time
749     command_line                   $USER1$/check_smtp -H $HOSTADDRESS$ -w $ARG1$ -w $ARG2$
750     }
752 # command 'check_snmp'
753 define command{
754     command_name                   check_snmp
755     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -P 1 -o $ARG1$ -w $ARG2$ -c $ARG3$ -C$ARG4$ -m:
756     }
758 # command 'check_snmp_apc_ups_batterystatus'
759 define command{
760     command_name                   check_snmp_apc_ups_batterystatus
761     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.4.1.318.1.1.1.2.1.1.0 -C $ARG1$ -P 1 -l "Battery Status is" --string="INTEGER: 2" -m:
762     }
764 # command 'check_snmp_apc_ups_batterytime'
765 define command{
766     command_name                   check_snmp_apc_ups_batterytime
767     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.4.1.318.1.1.1.2.1.2.0 -C $ARG1$ -u sec -P 1 -l "Time on Battery is" --string="Timeticks: (0) 0:00:00.00" -m:
768     }
770 # command 'check_snmp_apc_ups_minremain'
771 define command{
772     command_name                   check_snmp_apc_ups_minremain
773     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w $ARG1$ -c $ARG2$ -C $ARG3$ -u min -P 1 -l "Minutes Remaining is" -m:
774     }
776 # command 'check_snmp_apc_ups_percentload'
777 define command{
778     command_name                   check_snmp_apc_ups_percentload
779     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.4.1.318.1.1.1.4.2.3.0 -w $ARG1$ -c $ARG2$ -C $ARG3$ -u % -P 1 -l "UPS Load is" -m:
780     }
782 # command 'check_snmp_apc_ups_temp'
783 define command{
784     command_name                   check_snmp_apc_ups_temp
785     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.4.1.318.1.1.1.2.2.2.0 -w $ARG1$ -c $ARG2$ -C $ARG3$ -u c -P 1 -l "Battery Temp is" -m:
786     }
788 # command 'check_snmp_cisco_cpu'
789 define command{
790     command_name                   check_snmp_cisco_cpu
791     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -P 1 -o .1.3.6.1.4.1.9.2.1.58.0 -w $ARG1$ -c $ARG2$ -C$ARG3$ -u % -l "CPU load is" -m:
792     }
794 # command 'check_snmp_cisco_mem'
795 define command{
796     command_name                   check_snmp_cisco_mem
797     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -P 1 -o .1.3.6.1.4.1.9.9.48.1.1.1.5.1 -w $ARG1$ -c $ARG2$ -C$ARG3$ -u b -l "Memory usage is" -m:
798     }
800 # command 'check_snmp_em1_humidity'
801 define command{
802     command_name                   check_snmp_em1_humidity
803     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -P 1 -C $ARG1$ -o .1.3.6.1.4.1.16174.1.1.3.3.$ARG2$.6.0 -l "Humidity:" -u % -w $ARG3$ -c $ARG4$
804     }
806 # command 'check_snmp_em1_temperature'
807 define command{
808     command_name                   check_snmp_em1_temperature
809     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -P 1 -C $ARG1$ -o .1.3.6.1.4.1.16174.1.1.3.3.$ARG2$.3.0 -l "Temperature:" -u c -w $ARG3$ -c $ARG4$
810     }
812 # command 'check_snmp_em1_wetness'
813 define command{
814     command_name                   check_snmp_em1_wetness
815     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -P 1 -C $ARG1$ -o .1.3.6.1.4.1.16174.1.1.3.3.$ARG2$.9.0 -l "Wetness:" -u % -w $ARG3$ -c $ARG4$
816     }
818 # command 'check_snmp_fujitsu_hardware'
819 define command{
820     command_name                   check_snmp_fujitsu_hardware
821     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.4.1.231.2.10.2.11.2.1.0 -C $ARG1$ -P 1 -l "Hardware status is " -u "--> (1)ok (2)degraded (3)error (4)failed (5)unknown" -r 1
822     }
824 # command 'check_snmp_ipso_chassitemp'
825 define command{
826     command_name                   check_snmp_ipso_chassitemp
827     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.4.1.94.1.21.1.1.5.0 -C $ARG1$ -r 1 -P 1 -l "Chassi Temperature is" -m:
828     }
830 # command 'check_snmp_ipso_cpuload'
831 define command{
832     command_name                   check_snmp_ipso_cpuload
833     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.4.1.94.1.21.1.7.1.0 -C $ARG1$ -w $ARG2$ -c $ARG3$ -P 1 -l "CPU Load is" -u % -m:
834     }
836 # command 'check_snmp_ipso_fanstatus'
837 define command{
838     command_name                   check_snmp_ipso_fanstatus
839     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.4.1.94.1.21.1.2.1.1.2.$ARG2$ -C $ARG1$ -r 1 -P 1 -l "Fan Status is" -m:
840     }
842 # command 'check_snmp_ipso_powersupplystatus'
843 define command{
844     command_name                   check_snmp_ipso_powersupplystatus
845     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.4.1.94.1.21.1.3.1.1.2.$ARG2$ -C $ARG1$ -r 1 -P 1 -l "Power Supply Status is" -m:
846     }
848 # command 'check_snmp_ipso_powersupplytemp'
849 define command{
850     command_name                   check_snmp_ipso_powersupplytemp
851     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.4.1.94.1.21.1.3.1.1.3.$ARG2$ -C $ARG1$ -r 1 -P 1 -l "Power Supply Temperature is" -m:
852     }
854 # command 'check_snmp_netapp_cpu'
855 define command{
856     command_name                   check_snmp_netapp_cpu
857     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -P 1 -o .1.3.6.1.4.1.789.1.2.1.3.0 -w $ARG1$ -c $ARG2$ -C$ARG3$ -l "CPU Load is" -u % -m:
858     }
860 # command 'check_snmp_netapp_failed_disk'
861 define command{
862     command_name                   check_snmp_netapp_failed_disk
863     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -P 1 -C$ARG1$ -o .1.3.6.1.4.1.789.1.6.4.7.0 -c 1 -l "Disk" -u "Failure(s)" -m:
864     }
866 # command 'check_snmp_netapp_fans'
867 define command{
868     command_name                   check_snmp_netapp_fans
869     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -P 1 -C$ARG1$ -o .1.3.6.1.4.1.789.1.2.4.3.0 -s \"\\\"There are no failed fans.\\\"\" -l "Fans" -m:
870     }
872 # command 'check_snmp_netapp_power'
873 define command{
874     command_name                   check_snmp_netapp_power
875     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -P 1 -C$ARG1$ -o .1.3.6.1.4.1.789.1.2.4.5.0 -s \"\\\"There are no failed power supplies.\\\"\" -l "Power" -m:
876     }
878 # command 'check_snmp_netapp_temperature'
879 define command{
880     command_name                   check_snmp_netapp_temperature
881     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -P 1 -C$ARG1$ -o .1.3.6.1.4.1.789.1.2.4.1.0 -r 1 -l "Temperature is" -m:
882     }
884 # command 'check_snmp_printer'
885 define command{
886     command_name                   check_snmp_printer
887     command_line                   $USER1$/check_snmp_printer -H $HOSTADDRESS$ -C $ARG1$ -P $ARG2$
888     }
890 # command 'check_snmp_sicon_ups_batteryremain'
891 define command{
892     command_name                   check_snmp_sicon_ups_batteryremain
893     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -w $ARG2$ -c $ARG3$ -C $ARG4$ -o .1.3.6.1.4.1.4555.1.1.1.1.2.3 -l "Battery Time remaining(min)" -m:
894     }
896 # command 'check_snmp_sicon_ups_involtage'
897 define command{
898     command_name                   check_snmp_sicon_ups_involtage
899     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -w $ARG2$ -c $ARG3$ -C $ARG4$ -o .1.3.6.1.4.1.4555.1.1.1.1.3.3.1.2 -l "Input Voltage (0.1V)" -m:
900     }
902 # command 'check_snmp_sicon_ups_outvoltage'
903 define command{
904     command_name                   check_snmp_sicon_ups_outvoltage
905     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -w $ARG2$ -c $ARG3$ -C $ARG4$ -o .1.3.6.1.4.1.4555.1.1.1.1.4.4.1.2 -l "Output Voltage (0.1V)" -m:
906     }
908 # command 'check_snmp_sysinfo'
909 define command{
910     command_name                   check_snmp_sysinfo
911     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -C$ARG1$ -o .1.3.6.1.2.1.1.1.0 -m:
912     }
914 # command 'check_snmp_ups_batterysec'
915 define command{
916     command_name                   check_snmp_ups_batterysec
917     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.2.1.33.1.2.2.0 -C $ARG1$ -u sec -P 1 -l "Second on Battery is" --string="INTEGER: 0" -m:
918     }
920 # command 'check_snmp_ups_batterystatus'
921 define command{
922     command_name                   check_snmp_ups_batterystatus
923     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.2.1.33.1.2.1.0 -C $ARG1$ -P 1 -l "Battery Status is" --string="INTEGER: 2" -m:
924     }
926 # command 'check_snmp_ups_minremain'
927 define command{
928     command_name                   check_snmp_ups_minremain
929     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.2.1.33.1.2.3.0 -w $ARG1$ -c $ARG2$ -C $ARG3$ -u min -P 1 -l "Minutes Remaining is" -m:
930     }
932 # command 'check_snmp_ups_percentload'
933 define command{
934     command_name                   check_snmp_ups_percentload
935     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.2.1.33.1.4.4.1.5.1 -w $ARG1$ -c $ARG2$ -C $ARG3$ -u % -P 1 -l "UPS Load is" -m:
936     }
938 # command 'check_snmp_ups_temp'
939 define command{
940     command_name                   check_snmp_ups_temp
941     command_line                   $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.2.1.33.1.2.7.0 -w $ARG1$ -c $ARG2$ -C $ARG3$ -u c -P 1 -l "Battery Temp is" -m:
942     }
944 # command 'check_snmp_win_load'
945 define command{
946     command_name                   check_snmp_win_load
947     command_line                   $USER1$/check_snmp_load.pl  -H $HOSTADDRESS$ -C $ARG1$  -w $ARG2$  -c $ARG3$  -T stand
948     }
950 # command 'check_snmp_win_storage'
951 define command{
952     command_name                   check_snmp_win_storage
953     command_line                   $USER1$/check_snmp_storage.pl  -H $HOSTADDRESS$ -C $ARG1$ -m $ARG2$ -w $ARG3$ -c $ARG4$
954     }
956 # command 'check_ssh'
957 define command{
958     command_name                   check_ssh
959     command_line                   $USER1$/check_ssh -t $ARG1$ $HOSTADDRESS$
960     }
962 # command 'check_ssh_10'
963 define command{
964     command_name                   check_ssh_10
965     command_line                   $USER1$/check_ssh -t 10 $HOSTADDRESS$
966     }
968 # command 'check_ssh_5'
969 define command{
970     command_name                   check_ssh_5
971     command_line                   $USER1$/check_ssh -t 5 $HOSTADDRESS$
972     }
974 # command 'check_swap'
975 define command{
976     command_name                   check_swap
977     command_line                   $USER1$/check_swap -w $ARG1$ -c $ARG2$ -a
978     }
980 # command 'check_sybase_db_online'
981 define command{
982     command_name                   check_sybase_db_online
983     command_line                   $USER1$/check_mssql -H $HOSTADDRESS$ -p $ARG1$ -U "$ARG2$" -P "$ARG3$" -D "$ARG4$" -o
984     }
986 # command 'check_sybase_query_response'
987 define command{
988     command_name                   check_sybase_query_response
989     command_line                   $USER1$/check_mssql -H $HOSTADDRESS$ -p $ARG1$ -U "$ARG2$" -P "$ARG3$" -D "$ARG4$" -Q "$ARG5$" -S "$ARG6$"
990     }
992 # command 'check_sybase_response_length'
993 define command{
994     command_name                   check_sybase_response_length
995     command_line                   $USER1$/check_mssql -H $HOSTADDRESS$ -p $ARG1$ -U "$ARG2$" -P "$ARG3$" -D "$ARG4$" -Q "$ARG5$" -w "$ARG6$" -c "$ARG7$"
996     }
998 # command 'check_tcp'
999 define command{
1000     command_name                   check_tcp
1001     command_line                   $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$
1002     }
1004 # command 'check_telnet'
1005 define command{
1006     command_name                   check_telnet
1007     command_line                   $USER1$/check_tcp -H $HOSTADDRESS$ -p 23
1008     }
1010 # command 'check_temptracker_e'
1011 define command{
1012     command_name                   check_temptracker_e
1013     command_line                   $USER1$/check_temptraxe --celsius -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$
1014     }
1016 # command 'check_traffic'
1017 define command{
1018     command_name                   check_traffic
1019     command_line                   $USER1$/check_traffic -H $HOSTADDRESS$ -C $ARG1$ -i $ARG2$ -b $ARG3$ -w $ARG4$ -c $ARG5$
1020     }
1022 # command 'check_udp'
1023 define command{
1024     command_name                   check_udp
1025     command_line                   $USER1$/check_udp -H $HOSTADDRESS$ -p $ARG1$
1026     }
1028 # command 'check_webinject'
1029 define command{
1030     command_name                   check_webinject
1031     command_line                   $USER1$/webinject/webinject.pl testcases/$ARG1$
1032     }
1034 # command 'handle-master-host-event'
1035 define command{
1036     command_name                   handle-master-host-event
1037     command_line                   $USER1$/eventhandlers/handle-master-host-event $HOSTSTATE$ $HOSTSTATETYPE$
1038     }
1040 # command 'handle-master-proc-event'
1041 define command{
1042     command_name                   handle-master-proc-event
1043     command_line                   $USER1$/eventhandlers/handle-master-proc-event $SERVICESTATE$ $SERVICESTATETYPE$
1044     }