9811089201d4f552fc2eae241c32af9da61cc083
[mirror/dsa-nagios.git] / config / static / checkcommands.cfg
1 # if you read this in /etc/nagios-plugins/config/local-dsa-checkcommands.cfg
2 # please note: this file is maintained in bzr and overwritten in the
3 # make install target
4 #
5 # edit the copy in bzr instead, see /etc/nagios3/README-DSA
6 #
7 define command {
8         command_name    dsa_check_nrpe
9         command_line    /usr/lib/nagios/plugins/check_nrpe --no-ssl -H $HOSTADDRESS$ -t 50 -c $ARG1$
10 }
11 define command {
12         command_name    dsa_check_nrpe_host
13         command_line    /usr/lib/nagios/plugins/check_nrpe --no-ssl -H $ARG1$ -c $ARG2$
14 }
15 define command{
16         command_name    dsa_check_cert
17         command_line    /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -p $ARG1$ -S -C 14
18 }
19 define command{
20         command_name    dsa_check_http_port
21         command_line    /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -I $HOSTADDRESS$ -p $ARG1$
22 }
23 define command{
24         command_name    dsa_check_smtp
25         command_line    /usr/lib/nagios/plugins/check_smtp -t 40 -H $HOSTADDRESS$
26 }
27 define command{
28         command_name    dsa_check_smtp_port
29         command_line    /usr/lib/nagios/plugins/check_smtp -t 40 -H $HOSTADDRESS$ -p $ARG1$
30 }
31 define command{
32         command_name    dsa_check_ssh
33         command_line    /usr/lib/nagios/plugins/check_ssh -t 40 -H $HOSTADDRESS$
34 }
35 define command{
36         command_name    dsa_check_ssh_port
37         command_line    /usr/lib/nagios/plugins/check_ssh -t 40 -H $HOSTADDRESS$ -p $ARG1$
38 }
39 define command{
40         command_name    dsa_check_ssh_port_version
41         command_line    /usr/lib/nagios/plugins/check_ssh -t 40 -H $HOSTADDRESS$ -p $ARG1$ -r "$ARG2$"
42 }
43 define command{
44         command_name    dsa_check_time
45         command_line    /usr/lib/nagios/plugins/check_time -w 5 -c 60 -H $HOSTADDRESS$
46 }
47 define command{
48         command_name    dsa_check_mirrorsync
49         command_line    /usr/lib/nagios/plugins/dsa-check-mirrorsync --host "$ARG1$" --path "$ARG2$"
50 }
51 define command{
52         command_name    dsa_check_soas
53         command_line    /usr/lib/nagios/plugins/dsa-check-soas "$ARG1$"
54 }
55 define command{
56         command_name    dsa_check_soas_add
57         command_line    /usr/lib/nagios/plugins/dsa-check-soas -a "$ARG1$" "$ARG2$"
58 }
59 define command{
60         command_name    dsa_check_always_ok
61         command_line    /bin/true
62 }