X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=checkcommands.cfg;h=88cf91f26d6a5456eb8b1282575d8e04005a263d;hb=496f7772a705599a5f19b6397076e744f4d1dd7a;hp=25dcd76f1f7b9e6f0f4933e30cd01093710a402c;hpb=98601c7575f220424c4c5f60056b6e1c9de8ea83;p=mirror%2Fdsa-nagios.git diff --git a/checkcommands.cfg b/checkcommands.cfg index 25dcd76..88cf91f 100644 --- a/checkcommands.cfg +++ b/checkcommands.cfg @@ -1,4 +1,42 @@ +# 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 +} +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_time + command_line /usr/lib/nagios/plugins/check_time -w 5 -c 60 -H $HOSTADDRESS$ +}