sibelius does have a pg, and postgres84 hosts often run more than one cluster, such...
authorPeter Palfrader <peter@palfrader.org>
Thu, 5 Aug 2010 16:53:22 +0000 (18:53 +0200)
committerPeter Palfrader <peter@palfrader.org>
Thu, 5 Aug 2010 16:53:22 +0000 (18:53 +0200)
config/nagios-master.cfg

index 92e0062..28889d9 100644 (file)
@@ -408,7 +408,7 @@ servers:
   sibelius:
     address: 193.62.202.28
     parents: gw-sanger
   sibelius:
     address: 193.62.202.28
     parents: gw-sanger
-    hostgroups: computers, acpid-hosts, megaraid
+    hostgroups: computers, acpid-hosts, megaraid, postgres84-hosts
     contacts: tjrc1
   smetana:
     address: 193.62.202.29
     contacts: tjrc1
   smetana:
     address: 193.62.202.29
@@ -1966,9 +1966,8 @@ services:
  ####
   -
     name: process - postresql84 - master
  ####
   -
     name: process - postresql84 - master
-    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.4/bin/postgres'"
+    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:4 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.4/bin/postgres'"
     hostgroups: postgres84-hosts
     hostgroups: postgres84-hosts
-    excludehosts: franck
   -
     name: process - postresql83 - master
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres -D /var/lib/postgresql/8.3/main -c config_file=/etc/postgresql/8.3/main/postgresql.conf'"
   -
     name: process - postresql83 - master
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres -D /var/lib/postgresql/8.3/main -c config_file=/etc/postgresql/8.3/main/postgresql.conf'"