X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=7ffb684be61f612fadc768e523b1071859efa315;hb=29f3a5c58c5627ae516445c771cf5a604794efa8;hp=0f9afc6054f3569e38fdd948023b9f5a2a4d9bc5;hpb=1cb948cb26b70e039116b3682f29856145e9e253;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 0f9afc6..7ffb684 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -131,6 +131,11 @@ servers: address: 82.94.249.153 parents: gw-ubc hostgroups: routing-infrastructure + gw-telegraaf2: + address: 217.196.40.15 + parents: gw-ubc + hostgroups: routing-infrastructure + contact_groups: +alioth-admins gw-helsinki: address: 128.214.173.25 parents: gw-ubc @@ -191,6 +196,18 @@ servers: pingable: false check_command: dsa_check_always_ok + vasks: + address: 217.196.43.140 + parents: gw-telegraaf2 + hostgroups: computers, nfs-server, postgres84-hosts, apache2-hosts, acpid-hosts, apache-https, brokensamhain + contact_groups: alioth-admins + + 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 + contact_groups: alioth-admins + samosa: address: 192.25.206.57 parents: gw-HP-ftc @@ -210,7 +227,7 @@ servers: spohr: address: 192.25.206.33 parents: gw-HP-ftc - hostgroups: computers, service, dl380, apache2-hosts, nfs-server, spamd, heavy-exim, squeeze, unbound-hosts + hostgroups: computers, service, dl380, apache2-hosts, nfs-server, spamd, heavy-exim, squeeze peri: address: 192.25.206.15 parents: gw-HP-ftc @@ -224,7 +241,7 @@ servers: mundy: address: 192.25.206.62 parents: gw-HP-ftc - hostgroups: computers, buildd, hassrvfs, sw-raid, acpid-hosts, lenny + hostgroups: computers, buildd, hassrvfs, sw-raid, acpid-hosts, squeeze, brokensamhain paer: address: 192.25.206.11 parents: gw-HP-ftc @@ -236,12 +253,12 @@ servers: alkman: address: 192.25.206.63 parents: gw-HP-ftc - hostgroups: computers, buildd, acpid-hosts, squeeze + hostgroups: computers, buildd, acpid-hosts, squeeze, brokensamhain sperger: address: 82.195.75.34 parents: gw-man-da2 - hostgroups: computers, porterbox, sw-raid, hasbootfs, hasorgfs, sparc, lenny + hostgroups: computers, porterbox, sw-raid, hasbootfs, hasorgfs, sparc, squeeze contacts: bzed agricola: address: 82.195.75.86 @@ -261,7 +278,7 @@ servers: heininen: address: 82.195.75.98 parents: gw-man-da - hostgroups: computers, acpid-hosts, service, squeeze + hostgroups: computers, acpid-hosts, service, squeeze, megactl nielsen: address: 82.195.75.99 parents: gw-man-da @@ -310,7 +327,7 @@ servers: master: address: 70.103.162.29 parents: gw-brainfood - hostgroups: computers, general, apache2-hosts, spamd, heavy-exim, highload, xinetd-hosts, mptraid, unbound-hosts, squeeze + hostgroups: computers, general, apache2-hosts, spamd, heavy-exim, highload, xinetd-hosts, mptraid, squeeze murphy: address: 70.103.162.31 parents: gw-brainfood @@ -338,7 +355,7 @@ servers: rietz: address: 140.211.166.43 parents: gw-osuosl - hostgroups: computers, service, rsyncd-hosts, dl385, hassrvfs, acpid-hosts, xinetd-hosts, hasvicepa, squeeze + hostgroups: computers, service, rsyncd-hosts, dl385, hassrvfs, acpid-hosts, xinetd-hosts, hasvicepa, squeeze, apache2-hosts #, bosserver rietz2: address: 140.211.166.44 @@ -406,7 +423,7 @@ servers: widor: address: 93.94.130.161 parents: gw-dg-i.net - hostgroups: computers, apache2-hosts, sw-raid, acpid-hosts, hasorgfs, service, apache-https, unbound-hosts, squeeze + hostgroups: computers, apache2-hosts, sw-raid, acpid-hosts, hasorgfs, service, apache-https, squeeze contacts: bzed pergolesi: @@ -511,7 +528,7 @@ servers: spontini: address: 206.12.19.14 parents: gw-ubc - hostgroups: computers, buildd, hasbootfs, hassrvfs, sparc, lenny, squeeze + hostgroups: computers, buildd, hasbootfs, hassrvfs, sparc, squeeze contacts: lfilipoz ravel: address: 206.12.19.5 @@ -563,7 +580,7 @@ servers: paganini: address: 206.12.19.10 parents: tchaikovsky - hostgroups: computers, hasbootfs, aacraid, hassrvfs, xinetd-hosts, nfs-client, service, apache2-hosts, squeeze + hostgroups: computers, hasbootfs, aacraid, hassrvfs, xinetd-hosts, nfs-client, service, apache2-hosts, squeeze, autofs respighi: address: 206.12.19.11 parents: gw-ubc @@ -644,15 +661,31 @@ servers: 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 + elgar: + address: 206.12.19.130 + parents: salieri + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hassrvfs + berlioz: + address: 206.12.19.131 + parents: traetta + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, apache2-hosts, hassrvfs lebrun: address: 193.198.184.10 parents: gw-carnet - hostgroups: computers, buildd, sw-raid, hasorgfs, sparc, lenny + hostgroups: computers, buildd, sw-raid, hasorgfs, sparc, squeeze schroeder: address: 193.198.184.11 parents: gw-carnet - hostgroups: computers, buildd, sw-raid, hassrvfs, sparc, lenny + hostgroups: computers, buildd, sw-raid, hassrvfs, sparc, squeeze tartini: address: 82.94.249.158 @@ -677,7 +710,7 @@ servers: zandonai: address: 80.245.147.46 parents: gw-zivit - hostgroups: computers, buildd, hassrvfs, squeeze + hostgroups: computers, buildd, hassrvfs, squeeze, brokensamhain goedel: address: 213.188.99.214 @@ -761,7 +794,7 @@ servers: merikanto: address: 86.59.118.147 parents: gw-sil - hostgroups: computers, dl360, acpid-hosts, spamd, heavy-exim, nfs-client, rsyncd-hosts, xinetd-hosts, service, mail-relay, squeeze, autofs + hostgroups: computers, dl360, acpid-hosts, spamd, heavy-exim, nfs-client, rsyncd-hosts, xinetd-hosts, service, mail-relay, squeeze, autofs, apache2-hosts merikanto2: address: 86.59.118.150 parents: merikanto @@ -769,12 +802,12 @@ servers: englund: address: 86.59.118.148 parents: gw-sil - hostgroups: computers, acpid-hosts, service, apache2-hosts, squeeze + hostgroups: computers, acpid-hosts, service, apache2-hosts, squeeze, hassrvfs, megactl # which raid? lindberg: address: 86.59.118.149 parents: gw-sil - hostgroups: computers, acpid-hosts, service, apache2-hosts, squeeze + hostgroups: computers, acpid-hosts, service, apache2-hosts, squeeze, megactl # which raid? abel: @@ -788,7 +821,7 @@ servers: alain: address: 217.140.96.58 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, buildd, lenny + hostgroups: computers, hasbootfs, hassrvfs, buildd, squeeze alwyn: address: 217.140.96.59 parents: gw-arm @@ -885,6 +918,9 @@ hostgroups: aacraid: alias: Hosts with Adaptec AACraid private: 1 + megactl: + alias: Hosts with LSI Logic MegaRAID, but not usable with megaraid check + private: 1 megaraid: alias: Hosts with LSI Logic MegaRAID private: 1 @@ -1029,6 +1065,10 @@ hostgroups: alias: "hosts who's ntp offset is often unknown" private: 1 + brokensamhain: + alias: machines that can not run samhain + private: 1 + ############################# # servicegroups ############################# @@ -1206,14 +1246,24 @@ services: nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-89" hosts: sibelius - - name: disk usage on /srv/farm-snapshot/farm-abf + name: disk usage on /srv/farm-snapshot/farm-ab servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-abf" + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-ab" hosts: sibelius - - name: disk usage on /srv/farm-snapshot/farm-cde + name: disk usage on /srv/farm-snapshot/farm-cd servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-cde" + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-cd" + hosts: sibelius + - + name: disk usage on /srv/farm-snapshot/farm-f + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-f" + hosts: sibelius + - + name: disk usage on /srv/farm-snapshot/farm-e + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-e" hosts: sibelius - name: disk usage on /srv/fossology.debian.net @@ -1309,6 +1359,7 @@ services: name: puppet nrpe: "/usr/lib/nagios/plugins/dsa-check-file_age -i 540 -f /var/lib/puppet/state/state.yaml" hostgroups: computers + excludehosts: wagner, vasks #### - @@ -1316,17 +1367,20 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-file -w -f /etc/ferm/ferm.conf" hostgroups: computers excludehostgroups: freebsd + excludehosts: vasks, wagner - name: puppetized firewall nrpe: "/usr/lib/nagios/plugins/dsa-check-file -w -f /etc/ferm/conf.d/defs.conf" hostgroups: computers excludehostgroups: freebsd + excludehosts: vasks, wagner #### - name: process - samhain nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C samhain -a '/usr/sbin/samhain'" hostgroups: computers + excludehostgroups: brokensamhain - name: samhain servicegroups: samhain @@ -1335,6 +1389,7 @@ services: depends: process - samhain normal_check_interval: 60 retry_check_interval: 5 + excludehostgroups: brokensamhain #### - @@ -1411,6 +1466,7 @@ services: servicegroups: weaksshkeys nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/weak-ssh-keys" hostgroups: computers + excludehosts: wagner, vasks normal_check_interval: 60 #### - @@ -1431,15 +1487,18 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin-node -a '/usr/sbin/munin-node'" hostgroups: computers excludehostgroups: freebsd + excludehosts: vasks, wagner - name: process - munin-node nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C perl -a '/usr/bin/perl -wT /usr/sbin/munin-node'" hostgroups: freebsd + excludehosts: vasks, wagner - name: network service - munin-node check: check_tcp!4949 hostgroups: computers depends: process - munin-node + excludehosts: vasks, wagner ### - name: process - ntpd @@ -1476,17 +1535,20 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslog-ng -a '/sbin/syslog-ng -p /var/run/syslog-ng.pid'" hostgroups: computers excludehostgroups: freebsd + excludehosts: vasks, wagner - name: process - syslog-ng nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 2: -u root -C syslog-ng -a '/sbin/syslog-ng -p /var/run/syslog-ng.pid'" hostgroups: freebsd + excludehosts: vasks, wagner - name: remote logging remotecheck: "/usr/lib/nagios/plugins/dsa-check-log-age-loghost $HOSTNAME$" runfrom: heininen hostgroups: computers + excludehosts: vasks, wagner ### MAIL STUFF ### - @@ -1518,34 +1580,39 @@ services: name: process - clamav - clamd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u clamav -C clamd -a '/usr/sbin/clamd'" hostgroups: heavy-exim, heavy-postfix + hosts: wagner - name: service - clamav nrpe: "/usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl" hostgroups: heavy-exim, heavy-postfix + hosts: wagner depends: process - clamav - clamd - name: process - clamav - freshclam nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u clamav -C freshclam -a '/usr/bin/freshclam -d --quiet'" + hosts: wagner hostgroups: heavy-exim, heavy-postfix - name: unwanted process - clamav nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd" hostgroups: computers excludehostgroups: heavy-exim, heavy-postfix + excludehosts: wagner - name: unwanted process - freshclam nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C freshclam" hostgroups: computers excludehostgroups: heavy-exim, heavy-postfix + excludehosts: wagner - 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'" hostgroups: spamd - excludehosts: powell + excludehosts: powell, wagner - 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 20 --min-spare=5 --helper-home-dir -d --pidfile=/var/run/spamd.pid'" - hosts: powell + hosts: powell, wagner - 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'" @@ -1553,7 +1620,7 @@ services: - name: process - spamd - child nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:11 -c 1: -C spamd -a 'spamd child'" - hosts: liszt + hosts: liszt, wagner hostgroups: spamd depends: process - spamd - master # @@ -1571,7 +1638,7 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd" hostgroups: computers excludehostgroups: spamd - excludehosts: liszt, busoni + excludehosts: liszt, busoni, wagner ### #- @@ -1735,28 +1802,33 @@ services: - name: setup - ud-ldap freshness nrpe: "/usr/lib/nagios/plugins/dsa-check-udldap-freshness" + excludehosts: wagner, vasks hostgroups: computers - name: system - available entropy nrpe: "/usr/lib/nagios/plugins/dsa-check-entropy" event_handler: dsa_event_handler_restart_ekey hostgroups: computers + excludehosts: vasks, wagner excludehostgroups: freebsd ### - name: local resolver nrpe: "/usr/lib/nagios/plugins/dsa-check-resolver www.debian.org www.google.com" hostgroups: computers + excludehosts: vasks, wagner normal_check_interval: 60 - name: process - unbound nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u unbound -C unbound -a '/usr/sbin/unbound'" + excludehosts: vasks, wagner hostgroups: unbound-hosts, squeeze ### - name: process - uptimed nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C uptimed -a '/usr/sbin/uptimed'" hostgroups: computers + excludehosts: vasks, wagner ### - name: unwanted process - irqbalance @@ -1791,7 +1863,7 @@ services: name: unwanted process - inetd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd" hostgroups: computers - excludehosts: grieg, byrd + excludehosts: grieg, byrd, abel, alwyn, vasks - name: unwanted process - snmpd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd" @@ -1827,12 +1899,14 @@ services: name: process - monit nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C monit -a '/usr/sbin/monit -d 300 -I -c /etc/monit/monitrc -s /var/lib/monit/monit.state'" hostgroups: computers + excludehosts: vasks, wagner - name: process - cpqarrayd servicegroups: raid nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C cpqarrayd -a '/usr/sbin/cpqarrayd'" hostgroups: dl385, dl380, dl360, bl460, dl585 excludehostgroups: squeeze + excludehosts: wagner - name: RAID - arrayprobe servicegroups: raid @@ -1850,6 +1924,7 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli" normal_check_interval: 120 hostgroups: dl385, dl380, dl360, bl460 + excludehosts: kassia - name: HW - hpacucli enclosure status servicegroups: raid @@ -1862,6 +1937,12 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli --ignore-transfer-speed=1I:1:1 --ignore-transfer-speed=1I:1:2" normal_check_interval: 120 hostgroups: dl585 + - + name: HW - hpacucli status + servicegroups: raid + nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli --ignore-transfer-speed=1I:1:2 --ignore-transfer-speed=1I:1:3 --ignore-transfer-speed=1I:1:4 --ignore-transfer-speed=2I:1:5 --ignore-transfer-speed=2I:1:6" + normal_check_interval: 120 + hosts: kassia ### - name: HW - hpasmcli status @@ -1915,6 +1996,12 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-mpt" hostgroups: mptraid + ### + - + name: RAID - megactl + servicegroups: raid + nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-megactl" + hostgroups: megactl ### - name: process - slapd @@ -1932,10 +2019,12 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C ulogd -a '/usr/sbin/ulogd -d'" hostgroups: computers excludehostgroups: freebsd, sparc + excludehosts: vasks, wagner - name: unexpected process - ulogd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C ulogd" hostgroups: freebsd, sparc + excludehosts: vasks, wagner ### - @@ -1967,7 +2056,7 @@ services: - name: process - inetd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C inetd -a '/usr/sbin/inetd'" - hosts: grieg, byrd + hosts: grieg, byrd, vasks ### - name: process - xinetd @@ -2244,6 +2333,10 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-ups" hosts: franck depends: process - UPS - nut upsd + - + name: process - pglistener + nrpe: "/usr/lib/nagios/plugins/check_procs -u pglisten -C python -a '/usr/bin/python /usr/share/pglistener/starter.py /etc/pglistener/pglistener.cfg /etc/pglistener/conf.d' -w 1: -c 1:" + hosts: wagner, vasks #### #- @@ -2271,15 +2364,14 @@ services: 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 - contacts: luk, pkern, HE - + 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 - contacts: luk, pkern, HE + contact_groups: buildd ### #-