postgres91
authorMartin Zobel-Helas <zobel@debian.org>
Wed, 20 Jun 2012 22:19:56 +0000 (00:19 +0200)
committerMartin Zobel-Helas <zobel@debian.org>
Wed, 20 Jun 2012 22:19:56 +0000 (00:19 +0200)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
config/nagios-master.cfg

index a7981a6..43db93f 100644 (file)
@@ -861,7 +861,7 @@ servers:
   ullmann:
     address: 206.12.19.141
     parents: ganeti2
-    hostgroups: computers, service, kvmdomains, squeeze
+    hostgroups: computers, service, kvmdomains, squeeze, postgres91-hosts
   # }}}
   # {{{ gw-ugent
   ancina:
@@ -1078,6 +1078,9 @@ hostgroups:
   postgres90-hosts:
     alias: hosts running postgres90
     private: 1
+  postgres91-hosts:
+    alias: hosts running postgres91
+    private: 1
   no-ulogd:
     alias: hosts not running ulogd
     private: 1
@@ -2284,7 +2287,11 @@ services:
     name: unwanted process - postresql
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres"
     hostgroups: computers
-    excludehostgroups: postgres90-hosts, postgres84-hosts
+    excludehostgroups: postgres90-hosts, postgres84-hosts, postgres91-hosts
+  -
+    name: process - postresql91 - master
+    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:4 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/9.1/bin/postgres'"
+    hostgroups: postgres90-hosts
   -
     name: process - postresql90 - master
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:4 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/9.0/bin/postgres'"