Try to monitor pg90 on sibelius and stabile
authorPeter Palfrader <peter@palfrader.org>
Sun, 19 Dec 2010 17:27:15 +0000 (18:27 +0100)
committerPeter Palfrader <peter@palfrader.org>
Sun, 19 Dec 2010 17:27:15 +0000 (18:27 +0100)
config/nagios-master.cfg

index 3602035..e1a2a3e 100644 (file)
@@ -422,7 +422,7 @@ servers:
   sibelius:
     address: 193.62.202.28
     parents: gw-sanger
-    hostgroups: computers, acpid-hosts, postgres84-hosts, service, apache2-hosts, sw-raid
+    hostgroups: computers, acpid-hosts, postgres90-hosts, service, apache2-hosts, sw-raid
     contacts: tjrc1, dave
   smetana:
     address: 193.62.202.29
@@ -552,7 +552,7 @@ servers:
   stabile:
     address: 206.12.19.13
     parents: gw-ubc
-    hostgroups: computers, hashomefs, sw-raid, rsyncd-hosts, postgres84-hosts, apache2-hosts, xinetd-hosts, service, nfs-server
+    hostgroups: computers, hashomefs, sw-raid, rsyncd-hosts, postgres84-hosts, postgres90-hosts, apache2-hosts, xinetd-hosts, service, nfs-server
   cimarosa:
     address: 206.12.19.8
     parents: gw-ubc
@@ -932,6 +932,9 @@ hostgroups:
   postgres84-hosts:
     alias: hosts running postgres84
     private: 1
+  postgres90-hosts:
+    alias: hosts running postgres90
+    private: 1
   mysql-hosts:
     alias: hosts running mysql
     private: 1
@@ -2082,7 +2085,11 @@ services:
     name: unwanted process - postresql
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres"
     hostgroups: computers
-    excludehostgroups: postgres84-hosts, postgres83-hosts
+    excludehostgroups: postgres90-hosts, postgres84-hosts, postgres83-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'"
+    hostgroups: postgres90-hosts
   -
     name: process - postresql84 - master
     nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:4 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.4/bin/postgres'"