X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=51157662f6536ac85de74061c673a22dbf95bf8a;hb=d78034e1f253cb059d0637437c9024b7039886b8;hp=c30a90eb52066f809497204665c82647bc2f6c70;hpb=849dbc3584a916ecb509cb1c7529fd46c84b8ad8;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index c30a90e..5115766 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -474,7 +474,7 @@ servers: parents: gw-man-da hostgroups: computers, service, dl380, acpid-hosts, squeeze bendel: - address: 82.195.75.101 + address: 82.195.75.100 parents: czerny hostgroups: computers, service, hasbootfs, kvmdomains, hassrvfs, apache2-hosts, squeeze, postfix-hosts, heavy-postfix, acpid-hosts, apache-https, amavis-hosts new-master: @@ -486,9 +486,9 @@ servers: parents: gw-man-da hostgroups: computers, service, acpid-hosts, heavy-exim, mail-relay, apache2-hosts, squeeze liszt: - address: 82.195.75.100 + address: 82.195.75.101 parents: gw-man-da - hostgroups: computers, service, apache2-hosts, bind9-hosts, postfix-hosts, heavy-postfix, amavis-hosts, dl385, acpid-hosts, apache-https, lenny + hostgroups: computers, service, apache2-hosts, bind9-hosts, postfix-hosts, heavy-postfix, dl385, acpid-hosts, apache-https, lenny contacts: bzed heininen: address: 82.195.75.98 @@ -1288,7 +1288,12 @@ services: name: disk usage on /var/log servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var/log" - hosts: busoni, wieck, heininen + hosts: busoni, wieck, heininen, bendel + - + name: disk usage on /var/spool/postfix + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var/spool/postfix" + hosts: bendel #- # name: disk usage on /srv/morgue.debian.org @@ -1661,11 +1666,11 @@ 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 10 --helper-home-dir -d --pidfile=/var/run/spamd.pid'" - hosts: liszt + hosts: liszt, bendel - name: process - spamd - child nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'" - hosts: liszt, wagner + hosts: liszt, wagner, bendel hostgroups: spamd depends: process - spamd - master # @@ -1683,7 +1688,7 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd" hostgroups: computers excludehostgroups: spamd - excludehosts: liszt, busoni, wagner + excludehosts: liszt, bendel, busoni, wagner ### #- @@ -1715,10 +1720,19 @@ 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: amavis-hosts + hosts: 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 '" + hosts: liszt + depends: process - amavis - master + - + name: process - amavis - master + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u amavis -C amavisd-new -a 'amavisd-new (master)'" + hostgroups: amavis-hosts + - + name: process - amavis - all + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1:10 -u amavis -C amavisd-new -a 'amavisd-new '" hostgroups: amavis-hosts depends: process - amavis - master # @@ -1727,19 +1741,20 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C amavisd-new" hostgroups: computers excludehostgroups: amavis-hosts + excludehosts: liszt ### - name: process - weightd - master - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (master)'" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -a 'policyd-weight (master)'" hostgroups: heavy-postfix - name: process - weightd - cache - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -C policyd-weight -a 'policyd-weight (cache)'" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u polw -a 'policyd-weight (cache)'" hostgroups: heavy-postfix depends: process - weightd - master - name: process - weightd - child - nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1: -u polw -C policyd-weight -a 'policyd-weight (child)'" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:50 -c 1: -u polw -a 'policyd-weight (child)'" hostgroups: heavy-postfix depends: process - weightd - master #