Fix at least some of the pg nagios mess
[mirror/dsa-nagios.git] / config / nagios-master.cfg
index 8f5f925..e6b5c6b 100644 (file)
@@ -678,6 +678,18 @@ servers:
     address: 206.12.19.213
     parents: sw-ubcece-kais
     hostgroups: computers, bl460, acpid-hosts, service, squeeze
+  boito:
+    address: 206.12.19.216
+    parents: sw-ubcece-kais
+    hostgroups: computers, bl460, acpid-hosts, service, squeeze
+  bertali:
+    address: 206.12.19.212
+    parents: sw-ubcece-kais
+    hostgroups: computers, bl460, acpid-hosts, service, squeeze
+  ganeti2:
+    address: 206.12.19.23
+    parents: sw-ubcece-kais
+    hostgroups: notacomputer
   tchaikovsky:
     address: 206.12.19.118
     parents: luchesi
@@ -846,6 +858,10 @@ servers:
     address: 206.12.19.119
     parents: luchesi
     hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hassrvfs, apache2-hosts, nfs-client, autofs, heavy-exim
+  ullmann:
+    address: 206.12.19.141
+    parents: ganeti2
+    hostgroups: computers, service, kvmdomains, squeeze, postgres91-hosts
   # }}}
   # {{{ gw-ugent
   ancina:
@@ -1062,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
@@ -2268,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'"
@@ -2522,7 +2545,7 @@ services:
     hosts: giustini
   -
     name: event log
-    remotecheck: "/usr/lib/nagios/plugins/dsa-check-msa-eventlog --start=2041 $HOSTADDRESS$ public"
+    remotecheck: "/usr/lib/nagios/plugins/dsa-check-msa-eventlog --start=7434 $HOSTADDRESS$ public"
     runfrom: dijkstra
     hosts: giustini