From fb96d1bd36ae499929f1c8d6dd0b4be39b30af3b Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 5 Apr 2008 18:42:45 -0400 Subject: [PATCH] [project @ peter@palfrader.org-20080405224245-g85gx8kzpnyw0tsv] liszt is hard to place in our list of email setup groups --- nagios-master.cfg | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/nagios-master.cfg b/nagios-master.cfg index 70faaee..0d48fe6 100644 --- a/nagios-master.cfg +++ b/nagios-master.cfg @@ -343,6 +343,9 @@ hostgroups: bind9-hosts: alias: hosts running bind9 private: 1 + amavis-hosts: + alias: hosts running amavis + private: 1 ftpd-hosts: alias: hosts running vsftpd private: 1 @@ -601,12 +604,13 @@ services: - name: process - spamd - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -d --pidfile=/var/run/spamd.pid'" - #hosts: samosa + hosts: liszt hostgroups: heavy-exim excludehosts: rietz - name: process - spamd - child nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -C spamd -a 'spamd child'" + hosts: liszt hostgroups: heavy-exim depends: process - spamd - master excludehosts: rietz @@ -625,6 +629,7 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd" hostgroups: computers excludehostgroups: heavy-exim + excludehosts: listz ### - @@ -653,18 +658,20 @@ services: - name: process - amavis - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u amavis -C amavisd-new -a 'amavisd (master)'" - hostgroups: heavy-postfix + hostgroups: amavis-hosts + excludehosts: liszt - name: process - amavis - all nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1:10 -u amavis -C amavisd-new -a 'amavisd '" - hostgroups: heavy-postfix + hostgroups: amavis-hosts + excludehosts: liszt depends: process - amavis - master # - name: unwanted process - amavis nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C amavisd-new" hostgroups: computers - excludehostgroups: heavy-postfix + excludehostgroups: amavis-hosts ### - name: process - weightd - master @@ -682,7 +689,7 @@ services: depends: process - weightd - master # - - name: unwanted process - amavis + name: unwanted process - policyd-weight nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C policyd-weight" hostgroups: computers excludehostgroups: heavy-postfix -- 2.20.1