From c82a4ee53190dd29b22d7b2f25de71a03e7bddd1 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 23 Jun 2008 08:11:16 +0000 Subject: [PATCH] [project @ peter@palfrader.org-20080623081116-nei6ykz3ria81i5j] tartini runs apache and mysql --- nagios-master.cfg | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/nagios-master.cfg b/nagios-master.cfg index b7f31d1..f337bf1 100644 --- a/nagios-master.cfg +++ b/nagios-master.cfg @@ -392,7 +392,7 @@ servers: tartini: address: 82.94.249.158 parents: gw-telegraaf - hostgroups: computers, sw-raid + hostgroups: computers, sw-raid, apache2-hosts, mysql-hosts piatti: address: 193.167.161.225 @@ -494,6 +494,9 @@ hostgroups: postgres81-hosts: alias: hosts running postgres81 private: 1 + mysql-hosts: + alias: hosts running mysql + private: 1 highload: alias: "hosts on which high load is normal" @@ -1376,6 +1379,16 @@ 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 - mysql - master + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C mysqld_safe -a '/bin/sh /usr/bin/mysqld_safe'" + hostgroups: mysql-hosts + - + name: process - mysql - workers + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u mysql -C mysqld -a /usr/sbin/mysqld" + hostgroups: mysql-hosts + depends: process - mysql - master #### - -- 2.20.1