From ba726ffa144b6eeaf0eb407ef61f1b34358066a2 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 3 Apr 2008 14:36:58 -0400 Subject: [PATCH] [project @ peter@palfrader.org-20080403183658-rdhefyxrvjnk6lqc] pg on ries --- nagios-master.cfg | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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 -- 2.20.1