Fix at least some of the pg nagios mess
[mirror/dsa-nagios.git] / config / nagios-master.cfg
index acbdff4..e6b5c6b 100644 (file)
@@ -689,7 +689,7 @@ servers:
   ganeti2:
     address: 206.12.19.23
     parents: sw-ubcece-kais
-    hostgroups: computers, service
+    hostgroups: notacomputer
   tchaikovsky:
     address: 206.12.19.118
     parents: luchesi
@@ -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: postgres91-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'"