monit check updated for inittab invocation
authorStephen Gran <steve@lobefin.net>
Sun, 25 Apr 2010 08:17:19 +0000 (09:17 +0100)
committerStephen Gran <steve@lobefin.net>
Sun, 25 Apr 2010 08:17:19 +0000 (09:17 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
config/nagios-master.cfg

index ad6830b..11f14cd 100644 (file)
@@ -1576,14 +1576,8 @@ services:
  ###
   -
     name: process - monit
-    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C monit -a '/usr/sbin/monit -d 300 -c /etc/monit/monitrc -s /var/lib/monit/monit.state'"
+    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C monit -a '/usr/sbin/monit -d 300 -I -c /etc/monit/monitrc -s /var/lib/monit/monit.state'"
     hostgroups: computers
-    excludehostgroups: squeeze
-  -
-    name: process - monit
-    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C monit -a '/usr/sbin/monit -c /etc/monit/monitrc -s /var/lib/monit/monit.state'"
-    hostgroups: squeeze
- ###
   -
     name: process - cpqarrayd
     servicegroups: raid