From fcc2e574177284b35d9f73bbc900228b2039ce22 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 19 Dec 2010 18:27:15 +0100 Subject: [PATCH] Try to monitor pg90 on sibelius and stabile --- config/nagios-master.cfg | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 3602035..e1a2a3e 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -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'" -- 2.20.1