X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=checkcommands.cfg;h=f009a9e43953931e00885b2094e40fb7f1b5b3a2;hb=35d5a04aea33a5fd14bba6d7eac58adf0cbb860c;hp=806a2bc6f7977a58901be4a9c433655162dab322;hpb=7e15fbf41af8c06dcc4e5e4caa15aea2c6f99f50;p=mirror%2Fdsa-nagios.git diff --git a/checkcommands.cfg b/checkcommands.cfg index 806a2bc..f009a9e 100644 --- a/checkcommands.cfg +++ b/checkcommands.cfg @@ -1,7 +1,17 @@ +# if you read this in /etc/nagios-plugins/config/local-dsa-checkcommands.cfg +# please note: this file is maintained in bzr and overwritten in the +# make install target +# +# edit the copy in bzr instead, see /etc/nagios3/README-DSA +# define command { command_name dsa_check_nrpe command_line /usr/lib/nagios/plugins/check_nrpe --no-ssl -H $HOSTADDRESS$ -t 50 -c $ARG1$ } +define command { + command_name dsa_check_nrpe_host + command_line /usr/lib/nagios/plugins/check_nrpe --no-ssl -H $ARG1$ -c $ARG2$ +} define command{ command_name dsa_check_cert command_line /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -p $ARG1$ -S -C 14 @@ -10,3 +20,27 @@ define command{ command_name dsa_check_http_port command_line /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -I $HOSTADDRESS$ -p $ARG1$ } +define command{ + command_name dsa_check_smtp + command_line /usr/lib/nagios/plugins/check_smtp -t 40 -H $HOSTADDRESS$ +} +define command{ + command_name dsa_check_smtp_port + command_line /usr/lib/nagios/plugins/check_smtp -t 40 -H $HOSTADDRESS$ -p $ARG1$ +} +define command{ + command_name dsa_check_ssh + command_line /usr/lib/nagios/plugins/check_ssh -t 40 -H $HOSTADDRESS$ +} +define command{ + command_name dsa_check_ssh_port + command_line /usr/lib/nagios/plugins/check_ssh -t 40 -H $HOSTADDRESS$ -p $ARG1$ +} +define command{ + command_name dsa_check_ssh_port_version + command_line /usr/lib/nagios/plugins/check_ssh -t 40 -H $HOSTADDRESS$ -p $ARG1$ -r "$ARG2$" +} +define command{ + command_name dsa_check_time + command_line /usr/lib/nagios/plugins/check_time -w 5 -c 60 -H $HOSTADDRESS$ +}