X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fstatic%2Fcheckcommands.cfg;h=dd4cb06beb296b95142fb25d7bb42c4459a95ef2;hb=d694c4df7b6cb7af2a09b98430729deefb64c69a;hp=9811089201d4f552fc2eae241c32af9da61cc083;hpb=4845978dbf72b8f442f76920cca3f61f1065d710;p=mirror%2Fdsa-nagios.git diff --git a/config/static/checkcommands.cfg b/config/static/checkcommands.cfg index 9811089..dd4cb06 100644 --- a/config/static/checkcommands.cfg +++ b/config/static/checkcommands.cfg @@ -1,16 +1,15 @@ -# 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 -# +############################################################################# +## THIS FILE IS COPIED TO THE FINAL LOCATION USING PUPPET +## ITS AUTHORITATIVE HOME IS THE DSA-NAGIOS CONFIGURATION GIT +############################################################################# + 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$ + command_line /usr/lib/nagios/plugins/check_nrpe --no-ssl -H $ARG1$ -t 50 -c $ARG2$ } define command{ command_name dsa_check_cert @@ -58,5 +57,9 @@ define command{ } define command{ command_name dsa_check_always_ok - command_line /bin/true + command_line /bin/echo "Dummy check - always says OK" +} +define command{ + command_name dsa_check_ntp + command_line /usr/lib/nagios/plugins/check_ntp_time -H '$HOSTADDRESS$' }