[project @ peter@palfrader.org-20080414182420-18f1uf9b1sdvsk67]
authorPeter Palfrader <peter@palfrader.org>
Mon, 14 Apr 2008 18:24:20 +0000 (14:24 -0400)
committerPeter Palfrader <peter@palfrader.org>
Mon, 14 Apr 2008 18:24:20 +0000 (14:24 -0400)
We can't do ntp to allegri - grrrrrrrrrrrrrrrrrrrrrrrr

checkcommands.cfg
nagios-master.cfg

index 3265a7c..9203225 100644 (file)
@@ -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$
+}
index 52ab1db..de5da45 100644 (file)
@@ -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
  ###
   -