From: Peter Palfrader Date: Thu, 3 Apr 2008 18:36:58 +0000 (-0400) Subject: [project @ peter@palfrader.org-20080403183658-rdhefyxrvjnk6lqc] X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=ba726ffa144b6eeaf0eb407ef61f1b34358066a2;p=mirror%2Fdsa-nagios.git [project @ peter@palfrader.org-20080403183658-rdhefyxrvjnk6lqc] pg on ries --- diff --git a/nagios-master.cfg b/nagios-master.cfg index 038459d..55a3d53 100644 --- a/nagios-master.cfg +++ b/nagios-master.cfg @@ -591,3 +591,24 @@ services: name: process - debianqueued nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u dak -C debianqueued -a '/usr/bin/perl -w ./debianqueued'" hosts: ries + + ### + - + name: process - postresql81 - master + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a '/usr/lib/postgresql/8.1/bin/postmaster -D /var/lib/postgresql/8.1/main -c config_file=/etc/postgresql/8.1/main/postgresql.conf'" + hosts: ries + - + name: process - postresql81 - writer + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'" + hosts: ries + depends: process - postresql81 - master + - + name: process - postresql81 - buffer + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'" + hosts: ries + depends: process - postresql81 - master + - + name: process - postresql81 - collector + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats collector process'" + hosts: ries + depends: process - postresql81 - master