[project @ peter@palfrader.org-20090115225300-hvhtboiya0qbn9oj]
authorPeter Palfrader <peter@palfrader.org>
Thu, 15 Jan 2009 22:53:00 +0000 (22:53 +0000)
committerPeter Palfrader <peter@palfrader.org>
Thu, 15 Jan 2009 22:53:00 +0000 (22:53 +0000)
piatti has a non-default postgres cluster

nagios-master.cfg

index 9a143f2..50191a7 100644 (file)
@@ -1574,6 +1574,11 @@ services:
     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'"
     hostgroups: postgres83-hosts
+    excludehosts: piatti
+  -
+    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/udd -c config_file=/etc/postgresql/8.3/udd/postgresql.conf'"
+    hosts: piatti
   -
     name: process - postresql83 - writer
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: writer process'"