From: Peter Palfrader Date: Tue, 31 Mar 2009 19:53:11 +0000 (+0200) Subject: lenny changed check_ntp to check_ntp_peer which gets KoD'ed - provide our own check... X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=607204e9047d2b10cbe61fdc8085fc9a32f7377a;p=mirror%2Fdsa-nagios.git lenny changed check_ntp to check_ntp_peer which gets KoD'ed - provide our own check definition that uses good old check_ntp --- diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index a1df6e0..10c79a0 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -1015,7 +1015,7 @@ services: excludehosts: raptor, zelenka - name: network service - ntp - check: check_ntp + check: dsa_check_ntp hostgroups: computers depends: process - ntpd excludehosts: raptor, allegri, zelenka diff --git a/config/static/checkcommands.cfg b/config/static/checkcommands.cfg index 92cd6dd..fc765d4 100644 --- a/config/static/checkcommands.cfg +++ b/config/static/checkcommands.cfg @@ -59,3 +59,7 @@ define command{ command_name dsa_check_always_ok command_line /bin/true } +define command{ + command_name dsa_check_ntp + command_line /usr/lib/nagios/plugins/check_ntp -H '$HOSTADDRESS$' +}