rachmaninoff to buster
[mirror/dsa-nagios.git] / config / static / checkcommands.cfg
1 #############################################################################
2 ## THIS FILE IS COPIED TO THE FINAL LOCATION USING PUPPET
3 ## ITS AUTHORITATIVE HOME IS THE DSA-NAGIOS CONFIGURATION GIT
4 #############################################################################
5
6 define command {
7         command_name    dsa_check_nrpe
8         command_line    /usr/lib/nagios/plugins/check_nrpe --no-ssl -H $HOSTADDRESS$ -t 50 -c $ARG1$
9 }
10 define command {
11         command_name    dsa_check_nrpe_host
12         command_line    /usr/lib/nagios/plugins/check_nrpe --no-ssl -H $ARG1$ -t 50 -c $ARG2$
13 }
14 define command{
15         command_name    dsa_check_cert
16         command_line    /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -p $ARG1$ -S -C 14
17 }
18 define command{
19         command_name    dsa_check_http_port
20         command_line    /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -I $HOSTADDRESS$ -p $ARG1$
21 }
22 define command{
23         command_name    dsa_check_smtp
24         command_line    /usr/lib/nagios/plugins/check_smtp -t 40 -H $HOSTADDRESS$
25 }
26 define command{
27         command_name    dsa_check_smtp_port
28         command_line    /usr/lib/nagios/plugins/check_smtp -t 40 -H $HOSTADDRESS$ -p $ARG1$
29 }
30 define command{
31         command_name    dsa_check_ssh
32         command_line    /usr/lib/nagios/plugins/check_ssh -t 40 -H $HOSTADDRESS$
33 }
34 define command{
35         command_name    dsa_check_ssh_port
36         command_line    /usr/lib/nagios/plugins/check_ssh -t 40 -H $HOSTADDRESS$ -p $ARG1$
37 }
38 define command{
39         command_name    dsa_check_ssh_port_version
40         command_line    /usr/lib/nagios/plugins/check_ssh -t 40 -H $HOSTADDRESS$ -p $ARG1$ -r "$ARG2$"
41 }
42 define command{
43         command_name    dsa_check_time
44         command_line    /usr/lib/nagios/plugins/check_time -w 5 -c 60 -H $HOSTADDRESS$
45 }
46 define command{
47         command_name    dsa_check_mirrorsync
48         command_line    /usr/lib/nagios/plugins/dsa-check-mirrorsync --host "$ARG1$" --path "$ARG2$"
49 }
50 define command{
51         command_name    dsa_check_mirrorsync_skew
52         command_line    /usr/lib/nagios/plugins/dsa-check-mirrorsync --host "$ARG1$" --path "$ARG2$" --allow-skew "$ARG3$"
53 }
54 define command{
55         command_name    dsa_check_staticsync
56         command_line    /usr/lib/nagios/plugins/dsa-check-mirrorsync --host "$ARG1$" --path .serial --unix --ssl
57 }
58 define command{
59         command_name    dsa_check_staticsync_nossl
60         command_line    /usr/lib/nagios/plugins/dsa-check-mirrorsync --host "$ARG1$" --path .serial --unix
61 }
62 define command{
63         command_name    dsa_check_soas
64         command_line    /usr/lib/nagios/plugins/dsa-check-soas "$ARG1$"
65 }
66 define command{
67         command_name    dsa_check_soas_add
68         command_line    /usr/lib/nagios/plugins/dsa-check-soas -a "$ARG1$" "$ARG2$"
69 }
70 define command{
71         command_name    dsa_check_always_ok
72         command_line    /bin/echo "Dummy check - always says OK"
73 }
74 define command{
75         command_name    dsa_check_ntp
76         command_line    /usr/lib/nagios/plugins/check_ntp_time -H '$HOSTADDRESS$'
77 }
78 define command{
79         command_name    dsa_check_port_closed
80         command_line    /usr/lib/nagios/plugins/dsa-check-port-closed -H '$HOSTADDRESS$' -p $ARG1$
81 }
82 define command{
83         command_name    dsa_check_https_want_auth
84         command_line    /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -e 'HTTP/1.1 401'
85 }
86 define command{
87         command_name    dsa_check_https_any_status
88         command_line    /usr/lib/nagios/plugins/check_http --ssl -H '$HOSTADDRESS$' -I '$HOSTADDRESS$' -e 'HTTP/1.1 '
89 }