From c0bdd709ad1bb5ff8450e9530379b4b390def49a Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 14 Apr 2008 14:24:20 -0400 Subject: [PATCH] [project @ peter@palfrader.org-20080414182420-18f1uf9b1sdvsk67] We can't do ntp to allegri - grrrrrrrrrrrrrrrrrrrrrrrr --- checkcommands.cfg | 4 ++++ nagios-master.cfg | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/checkcommands.cfg b/checkcommands.cfg index 3265a7c..9203225 100644 --- a/checkcommands.cfg +++ b/checkcommands.cfg @@ -32,3 +32,7 @@ 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$ +} diff --git a/nagios-master.cfg b/nagios-master.cfg index 52ab1db..de5da45 100644 --- a/nagios-master.cfg +++ b/nagios-master.cfg @@ -646,12 +646,12 @@ services: check: check_ntp hostgroups: computers depends: process - ntpd - excludehosts: raptor + excludehosts: raptor, allegri # - name: network service - time - check: check_time - hosts: raptor + check: dsa_check_time + hosts: raptor, allegri depends: process - xinetd ### @@ -1037,13 +1037,13 @@ services: - name: process - xinetd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C xinetd -a '/usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive'" - hosts: samosa, raptor + hosts: samosa, raptor, allegri hostgroups: rsyncd-hosts - name: unwanted process - xinetd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd" hostgroups: computers - excludehosts: samosa, raptor + excludehosts: samosa, raptor, allegri excludehostgroups: rsyncd-hosts ### - -- 2.20.1