From c2ae72d39c73671efcf60e159abae3982136ba6f Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 5 Apr 2013 22:28:27 +0200 Subject: [PATCH] We expect no pg 9.0 to be running anywhere --- config/nagios-master.cfg | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 471c0bd..c4bbe98 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -556,7 +556,7 @@ servers: sibelius: address: 193.62.202.28 parents: gw-sanger - hostgroups: computers, acpid-hosts, postgres90-hosts, service, apache2-hosts, sw-raid, squeeze, rsyncd-hosts, xinetd-hosts, hasvarlogfs + hostgroups: computers, acpid-hosts, postgres91-hosts, service, apache2-hosts, sw-raid, squeeze, rsyncd-hosts, xinetd-hosts, hasvarlogfs contacts: tjrc1, dave smetana: address: 193.62.202.29 @@ -1073,9 +1073,6 @@ hostgroups: postgres84-hosts: alias: hosts running postgres84 private: 1 - postgres90-hosts: - alias: hosts running postgres90 - private: 1 postgres91-hosts: alias: hosts running postgres91 private: 1 @@ -2385,15 +2382,15 @@ services: name: unwanted process - postgresql nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres" hostgroups: computers - excludehostgroups: postgres90-hosts, postgres84-hosts, postgres91-hosts, deadslow + excludehostgroups: postgres84-hosts, postgres91-hosts, deadslow + - + name: unwanted process - postgresql 9.0 + nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres -a '9.0/bin/postgres'" + hostgroups: computers - name: process - postgresql91 - 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 - postgresql90 - 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 - postgresql84 - 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