X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=a3df2b9d5dd0227a1cfd95677570838cbb736a29;hb=a7330261e8973f85debfee511405383736f8d73c;hp=5c19f6342a9a42d7d781647937dc7a638b234b8d;hpb=774be649baa30fa9bef6808e4d03ff05eaf2d9bb;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 5c19f63..a3df2b9 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -32,7 +32,7 @@ servers: hostgroups: layer3-infrastructure contacts: joerg gw-1und1-sec: - address: 212.227.120.29 + address: 212.227.126.33 parents: gw-ubcece hostgroups: layer3-infrastructure gw-accumu: @@ -106,11 +106,6 @@ servers: parents: gw-ubcece hostgroups: layer3-infrastructure contacts: joerg, bzed - gw-man-da2: - address: 82.195.75.46 - parents: gw-ubcece - hostgroups: layer3-infrastructure - contacts: joerg, bzed gw-marist: address: 148.100.96.1 parents: gw-ubcece @@ -199,7 +194,7 @@ servers: wieck: address: 195.20.242.89 parents: gw-1und1-sec - hostgroups: computers, service, apache2-hosts, rsyncd-hosts, acpid-hosts, xinetd-hosts, squeeze, security_mirror + hostgroups: computers, service, apache2-hosts, rsyncd-hosts, acpid-hosts, xinetd-hosts, squeeze, security_mirror, hasvarlogfs # }}} # {{{ gw-accumu pettersson: @@ -255,7 +250,7 @@ servers: hoiby: address: 217.140.96.71 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, armhf, wheezy + hostgroups: computers, hasbootfs, hassrvfs, armhf, wheezy, buildd # }}} # {{{ gw-brainfood master: @@ -468,42 +463,35 @@ servers: bendel: 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 + hostgroups: computers, service, hasbootfs, kvmdomains, hassrvfs, apache2-hosts, squeeze, postfix-hosts, heavy-postfix, acpid-hosts, apache-https, amavis-hosts, hasvarlogfs new-master: address: 82.195.75.110 parents: czerny hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hassrvfs + fils: + address: 82.195.75.89 + parents: czerny + hostgroups: computers, freebsd, squeeze, buildd, hassrvfs + vento: + address: 82.195.75.98 + parents: czerny + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hassrvfs, apache2-hosts, heavy-exim kokkonen: address: 82.195.75.97 parents: gw-man-da hostgroups: computers, service, acpid-hosts, heavy-exim, mail-relay, apache2-hosts, squeeze - liszt: - address: 82.195.75.101 - parents: gw-man-da - hostgroups: computers, service, apache2-hosts, bind9-hosts, postfix-hosts, heavy-postfix, dl385, acpid-hosts, apache-https, lenny - contacts: bzed lully: address: 82.195.75.99 parents: czerny - hostgroups: computers, service, hasbootfs, kvmdomains, squeeze - heininen: - address: 82.195.75.98 - parents: gw-man-da - hostgroups: computers, acpid-hosts, service, squeeze, megactl + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hasvarlogfs rem: address: 82.195.75.68 parents: gw-man-da hostgroups: computers, buildd, hasbootfs, hassrvfs, squeeze - sperger: - address: 82.195.75.34 - parents: gw-man-da2 - hostgroups: computers, porterbox, sw-raid, hasbootfs, hasorgfs, sparc, squeeze - contacts: bzed unger: address: 82.195.75.102 parents: gw-man-da hostgroups: computers, service, dl360, acpid-hosts, squeeze - # byrd TODO diamond: address: 82.195.75.108 parents: unger @@ -539,7 +527,15 @@ servers: busoni: address: 140.211.15.34 parents: gw-osuosl - hostgroups: computers, service, dl360, hassrvfs, acpid-hosts, apache2-hosts, heavy-exim, postgres84-hosts, squeeze + hostgroups: computers, service, dl360, hassrvfs, acpid-hosts, apache2-hosts, heavy-exim, postgres84-hosts, squeeze, hasvarlogfs + byrd: + address: 140.211.166.20 + parents: gw-osuosl + hostgroups: computers, service, dl380, acpid-hosts, squeeze + buxtehude: + address: 140.211.166.26 + parents: byrd + hostgroups: computers, service, hassrvfs, acpid-hosts, apache2-hosts, heavy-exim, postgres91-hosts, squeeze, hasvarlogfs # malo TODO mayer: address: 140.211.166.78 @@ -552,15 +548,15 @@ servers: parry: address: 140.211.15.153 parents: gw-osuosl - hostgroups: computers, hassrvfs, squeeze, buildd, hassrvfs + hostgroups: computers, squeeze, buildd, hassrvfs partch: address: 140.211.15.152 parents: gw-osuosl - hostgroups: computers, hassrvfs, squeeze, hassrvfs + hostgroups: computers, squeeze, hassrvfs piston: address: 140.211.15.154 parents: gw-osuosl - hostgroups: computers, hassrvfs, squeeze, hassrvfs + hostgroups: computers, squeeze, hassrvfs rietz: address: 140.211.166.43 parents: gw-osuosl @@ -582,7 +578,7 @@ servers: sibelius: address: 193.62.202.28 parents: gw-sanger - hostgroups: computers, acpid-hosts, postgres90-hosts, service, apache2-hosts, sw-raid, squeeze, rsyncd-hosts, xinetd-hosts + hostgroups: computers, acpid-hosts, postgres90-hosts, service, apache2-hosts, sw-raid, squeeze, rsyncd-hosts, xinetd-hosts, hasvarlogfs contacts: tjrc1, dave smetana: address: 193.62.202.29 @@ -641,7 +637,7 @@ servers: wagner: address: 217.196.43.132 parents: gw-telegraaf2 - hostgroups: computers, bind9-hosts, apache2-hosts, nfs-client, xinetd-hosts, postgres90-hosts, apache-https, dl385, brokensamhain + hostgroups: computers, bind9-hosts, apache2-hosts, nfs-client, xinetd-hosts, postgres91-hosts, apache-https, dl385, brokensamhain contact_groups: alioth-admins # }}} # {{{ gw-ubcece @@ -670,7 +666,7 @@ servers: ravel: address: 206.12.19.5 parents: sw-ubcece-kais - hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts, hasbootfs, nfs-client, rsyncd-hosts, bind9-hosts, uploadqueue, hasorgfs, heavy-exim, xinetd-hosts, squeeze, autofs, uploadqueue + hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts, hasbootfs, nfs-client, rsyncd-hosts, bind9-hosts, uploadqueue, hasorgfs, heavy-exim, xinetd-hosts, squeeze, autofs dijkstra: address: 206.12.19.218 parents: sw-ubcece-kais @@ -687,6 +683,18 @@ servers: address: 206.12.19.213 parents: sw-ubcece-kais hostgroups: computers, bl460, acpid-hosts, service, squeeze + boito: + address: 206.12.19.216 + parents: sw-ubcece-kais + hostgroups: computers, bl460, acpid-hosts, service, squeeze + bertali: + address: 206.12.19.212 + parents: sw-ubcece-kais + hostgroups: computers, bl460, acpid-hosts, service, squeeze + ganeti2: + address: 206.12.19.23 + parents: sw-ubcece-kais + hostgroups: notacomputer tchaikovsky: address: 206.12.19.118 parents: luchesi @@ -707,10 +715,6 @@ servers: address: 206.12.19.114 parents: dijkstra hostgroups: computers, hasbootfs, hassrvfs, apache2-hosts, kvmdomains, service, squeeze, nfs-server - bellini: - address: 206.12.19.7 - parents: sw-ubcece-kais - hostgroups: computers, hasbootfs, nfs-client, hassrvfs, aacraid, heavy-exim, service, apache2-hosts, squeeze, autofs morricone: address: 206.12.19.9 parents: sw-ubcece-kais @@ -727,10 +731,6 @@ servers: address: 206.12.19.11 parents: sw-ubcece-kais hostgroups: computers, hasbootfs, aacraid, hassrvfs, service, apache2-hosts, squeeze - vivaldi: - address: 206.12.19.12 - parents: sw-ubcece-kais - hostgroups: computers, hasbootfs, aacraid, hassrvfs, apache2-hosts, postgres84-hosts, service, apache-https, squeeze, autofs # MSA 2000 (2012i) giustini: address: 192.168.2.6 @@ -739,6 +739,10 @@ servers: # unless we implement runfrom for host alive checks pingable: false check_command: dsa_check_always_ok + falla: + address: 206.12.19.117 + parents: luchesi + hostgroups: computers, freebsd, hassrvfs, porterbox, squeeze fano: address: 206.12.19.110 parents: luchesi @@ -747,6 +751,10 @@ servers: address: 206.12.19.111 parents: luchesi hostgroups: computers, freebsd, squeeze, buildd, hassrvfs + fischer: + address: 206.12.19.112 + parents: luchesi + hostgroups: computers, freebsd, hassrvfs, porterbox, squeeze gabrielli: address: 206.12.19.17 parents: sw-ubcece-kais @@ -798,15 +806,15 @@ servers: glinka: address: 206.12.19.126 parents: traetta - hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, apache2-hosts, nfs-client, xinetd-hosts, autofs -# dukas: -# address: 206.12.19.128 -# parents: traetta -# hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, apache2-hosts, hassrvfs -# tye: -# address: 206.12.19.129 -# parents: traetta -# hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, apache2-hosts, nfs-client, autofs, hassrvfs + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, apache2-hosts, nfs-client, autofs + dukas: + address: 206.12.19.128 + parents: traetta + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, heavy-exim, apache2-hosts, nfs-client, autofs, hassrvfs, apache-https + tye: + address: 206.12.19.129 + parents: traetta + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, heavy-exim, apache2-hosts, nfs-client, autofs, hassrvfs elgar: address: 206.12.19.130 parents: salieri @@ -818,7 +826,7 @@ servers: gombert: address: 206.12.19.132 parents: traetta - hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hassrvfs, heavy-exim + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hassrvfs, heavy-exim, apache2-hosts jenkins: address: 206.12.19.133 parents: salieri @@ -847,6 +855,18 @@ servers: address: 206.12.19.119 parents: luchesi hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hassrvfs, apache2-hosts, nfs-client, autofs, heavy-exim + beach: + address: 206.12.19.140 + parents: ganeti2 + hostgroups: computers, service, kvmdomains, squeeze, apache2-hosts, xinetd-hosts, hassrvfs, nfs-server, rsyncd-hosts + ullmann: + address: 206.12.19.141 + parents: ganeti2 + hostgroups: computers, service, kvmdomains, squeeze, postgres91-hosts, nfs-client, apache2-hosts, autofs + sonntag: + address: 206.12.19.142 + parents: ganeti2 + hostgroups: computers, service, kvmdomains, squeeze, nfs-client, autofs, hassrvfs # }}} # {{{ gw-ugent ancina: @@ -1063,6 +1083,9 @@ hostgroups: postgres90-hosts: alias: hosts running postgres90 private: 1 + postgres91-hosts: + alias: hosts running postgres91 + private: 1 no-ulogd: alias: hosts not running ulogd private: 1 @@ -1112,6 +1135,9 @@ hostgroups: hasvarfs: alias: hosts with a /var filesystem private: 1 + hasvarlogfs: + alias: hosts with a /var/log filesystem + private: 1 hasusrfs: alias: hosts with a /usr filesystem private: 1 @@ -1220,12 +1246,12 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /" hostgroups: computers - excludehosts: kassia, spohr, liszt + excludehosts: kassia, spohr - name: disk usage on / servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 90 93 /" - hosts: kassia, spohr, liszt + hosts: kassia, spohr - name: disk usage on /boot servicegroups: diskspace @@ -1246,12 +1272,12 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv" hostgroups: hassrvfs - excludehosts: ries + excludehosts: ries, beach - name: disk usage on /srv servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /srv" - hosts: ries + hosts: ries, beach - name: disk usage on /tmp servicegroups: diskspace @@ -1276,18 +1302,12 @@ services: name: disk usage on /var/lib/postgresql servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var/lib/postgresql" - hosts: samosa, stabile, sibelius, busoni - - - - name: disk usage on /var/log - servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 50 80 /var/log" - hosts: bendel + hosts: samosa, stabile, sibelius, busoni, buxtehude - name: disk usage on /var/log servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var/log" - hosts: busoni, wieck, heininen, lully + hostgroups: hasvarlogfs - name: disk usage on /var/spool/postfix servicegroups: diskspace @@ -1302,7 +1322,7 @@ services: - name: disk usage on /srv/mirrors servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv/mirrors" + nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /srv/mirrors" hosts: beethoven, sibelius - name: disk usage on /srv/snapshot.debian.org @@ -1319,16 +1339,6 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 95 90 /srv/farm-snapshot/farm-misc" hosts: sibelius - - - name: disk usage on /srv/fossology.debian.net - servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv/fossology.debian.net" - hosts: vivaldi -# - -# name: disk usage on /vicepa -# servicegroups: diskspace -# nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /vicepa" -# hostgroups: hasvicepa - name: disk usage on /var/lib/postgresql/9.0/dak servicegroups: diskspace @@ -1476,11 +1486,6 @@ services: name: processes - total nrpe: "/usr/lib/nagios/plugins/check_procs 620 700" hostgroups: computers - excludehosts: liszt - - - name: processes - total - nrpe: "/usr/lib/nagios/plugins/check_procs 800 1000" - hosts: liszt #### - name: swap usage - percent @@ -1616,7 +1621,7 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'" hostgroups: computers excludehostgroups: postfix-hosts, mail-relay - excludehosts: master, busoni, quantz + excludehosts: master, busoni, quantz, buxtehude - name: process - exim nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'" @@ -1626,11 +1631,11 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4" hostgroups: computers excludehostgroups: postfix-hosts - excludehosts: master, busoni, quantz + excludehosts: master, busoni, quantz, buxtehude - name: process - exim nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'" - hosts: master, busoni, quantz + hosts: master, busoni, quantz, buxtehude - name: mail queue nrpe: "/usr/lib/nagios/plugins/check_mailq -M exim -w 1000 -c 2000" @@ -1676,29 +1681,29 @@ 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, bendel + hosts: 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, bendel + hosts: wagner, bendel hostgroups: spamd depends: process - spamd - master # - name: process - spamd - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u debbugs -C spamd -a '/usr/sbin/spamd -d '" - hosts: busoni + hosts: busoni, buxtehude - name: process - spamd - child nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u debbugs -C spamd -a 'spamd child'" - hosts: busoni + hosts: busoni, buxtehude # - name: unwanted process - spamd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd" hostgroups: computers excludehostgroups: spamd - excludehosts: liszt, bendel, busoni, wagner + excludehosts: bendel, busoni, wagner, buxtehude ### #- @@ -1727,15 +1732,6 @@ services: hostgroups: computers excludehostgroups: heavy-postfix, heavy-exim ### - - - name: process - amavis - master - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u amavis -C amavisd-new -a 'amavisd (master)'" - 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)'" @@ -1751,7 +1747,6 @@ 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 @@ -1823,17 +1818,6 @@ services: hostgroups: postfix-hosts depends: process - postfix - master - - - name: process - postfix - smtpd - nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:150 -c 0:200 -u postfix -C smtpd -a 'smtpd -n smtp -t inet -u -c'" - hosts: liszt - depends: process - postfix - master - - - name: process - postfix - smtp - nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:350 -c 0:500 -u postfix -C smtp -a 'smtp -t unix -u -c'" - hosts: liszt - depends: process - postfix - master - ### - name: network service - smtp @@ -2022,12 +2006,12 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm" normal_check_interval: 120 hostgroups: dl385, dl380, dl360, bl460, dl585 - excludehosts: villa, lobos, liszt, senfl, schein + excludehosts: villa, lobos, senfl, schein - name: HW - hpasmcli status nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --ps-no-redundant" normal_check_interval: 120 - hosts: villa, lobos, liszt + hosts: villa, lobos - name: HW - hpasmcli status nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --fan-no-redundant" @@ -2162,11 +2146,11 @@ services: # check: check_tcp!873 # hosts: kassia-sec # depends: kassia:process - xinetd - - - name: network service - rsync - check: check_tcp!873 - hosts: merikanto2 - depends: merikanto:process - xinetd +# - +# name: network service - rsync +# check: check_tcp!873 +# hosts: merikanto2 +# depends: merikanto:process - xinetd ### - @@ -2298,7 +2282,11 @@ services: name: unwanted process - postresql nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres" hostgroups: computers - excludehostgroups: postgres90-hosts, postgres84-hosts + excludehostgroups: postgres90-hosts, postgres84-hosts, postgres91-hosts + - + name: process - postresql91 - master + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:4 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/9.1/bin/postgres'" + hostgroups: postgres91-hosts - name: process - postresql90 - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:4 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/9.0/bin/postgres'" @@ -2343,7 +2331,7 @@ services: name: process - stunnel4 - puppet-ekeyd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u stunnel4 -C stunnel4 -a '/usr/bin/stunnel4 /etc/stunnel/puppet-ekeyd.conf'" hostgroups: squeeze, wheezy - excludehosts: fano, fasch, field, finzi + excludehostgroups: freebsd #### - name: process - UPS - nut usbhid-ups - ups1 @@ -2397,14 +2385,14 @@ services: name: process - buildd servicegroups: buildd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:5 -u buildd -C perl -a '/usr/bin/buildd'" - hosts: fano, fasch, field, finzi + hosts: fano, fasch, field, finzi, fils contact_groups: buildd - name: process - buildd servicegroups: buildd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:5 -u buildd -C buildd -a '/usr/bin/buildd'" hostgroups: buildd - excludehosts: fano, fasch, field, finzi + excludehosts: fano, fasch, field, finzi, fils contact_groups: buildd #### - @@ -2447,13 +2435,6 @@ services: name: process - mountd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rpc.mountd -a '/sbin/rpc.mountd'" hostgroups: nfs-server - # see if the nfs stuff works and doesn't hang. - # the df check all script will also hang, but we don't appear to pay attention to that - - - name: nfs mount ftp archive - nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /srv/ftp.debian.org/ftp" - hosts: bellini - - name: nfs server stabile reachable nrpe: "/usr/lib/nagios/plugins/check_ping -H 192.168.2.13 -w 50,10% -c 200,30%" @@ -2552,7 +2533,7 @@ services: hosts: giustini - name: event log - remotecheck: "/usr/lib/nagios/plugins/dsa-check-msa-eventlog --start=2041 $HOSTADDRESS$ public" + remotecheck: "/usr/lib/nagios/plugins/dsa-check-msa-eventlog --start=7434 $HOSTADDRESS$ public" runfrom: dijkstra hosts: giustini