From 607204e9047d2b10cbe61fdc8085fc9a32f7377a Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 31 Mar 2009 21:53:11 +0200 Subject: [PATCH] lenny changed check_ntp to check_ntp_peer which gets KoD'ed - provide our own check definition that uses good old check_ntp --- config/nagios-master.cfg | 2 +- config/static/checkcommands.cfg | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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$' +} -- 2.20.1