[project @ peter@palfrader.org-20081125220925-7e5fhpc5e4jmjc88]
[mirror/dsa-nagios.git] / 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 }