From: Peter Palfrader Date: Mon, 15 Dec 2008 10:50:02 +0000 (+0000) Subject: [project @ peter@palfrader.org-20081215105002-5q6nau050lgs8qrc] X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=8be50968407c5a5450119088237bd1e79dee7257;p=mirror%2Fdsa-nagios.git [project @ peter@palfrader.org-20081215105002-5q6nau050lgs8qrc] postgres 8.3 on spohr --- diff --git a/nagios-master.cfg b/nagios-master.cfg index ec8aafe..25d6854 100644 --- a/nagios-master.cfg +++ b/nagios-master.cfg @@ -170,7 +170,7 @@ servers: spohr: address: 192.25.206.33 parents: samosa - hostgroups: computers, service, dl380, apache2-hosts, postgres81-hosts, ulogd-hosts, nfs-server + hostgroups: computers, service, dl380, apache2-hosts, postgres83-hosts, ulogd-hosts, nfs-server peri: address: 192.25.206.15 parents: samosa @@ -562,6 +562,9 @@ hostgroups: postgres81-hosts: alias: hosts running postgres81 private: 1 + postgres83-hosts: + alias: hosts running postgres83 + private: 1 mysql-hosts: alias: hosts running mysql private: 1 @@ -1558,6 +1561,31 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'" hostgroups: postgres81-hosts depends: process - postresql81 - master + #### + - + name: process - postresql83 - master + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres -D /var/lib/postgresql/8.3/main -c config_file=/etc/postgresql/8.3/main/postgresql.conf'" + hostgroups: postgres83-hosts + - + name: process - postresql83 - writer + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: writer process'" + hostgroups: postgres83-hosts + depends: process - postresql83 - master + - + name: process - postresql83 - wal writer + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: wal writer process'" + hostgroups: postgres83-hosts + depends: process - postresql83 - master + - + name: process - postresql83 - autovacuum launcher + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: autovacuum launcher process'" + hostgroups: postgres83-hosts + depends: process - postresql83 - master + - + name: process - postresql83 - stats collector + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a 'postgres: stats collector process'" + hostgroups: postgres83-hosts + depends: process - postresql83 - master #### - name: process - mysql - master