X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=checkcommands.cfg;h=33d6b89b58db4e19f3078144357da77902ff7524;hb=4accde3f20899b6196b08dcc22bcff9cd9c1b726;hp=58e93879a59571384a4b13d947a944ea5e380ffc;hpb=c6c5af1872323de04179a044251cba20626aa525;p=mirror%2Fdsa-nagios.git diff --git a/checkcommands.cfg b/checkcommands.cfg index 58e9387..33d6b89 100644 --- a/checkcommands.cfg +++ b/checkcommands.cfg @@ -1,3 +1,9 @@ +# 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$ @@ -14,3 +20,7 @@ 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$ +}