X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=38407c2ce6a8f58a7994fa71f102b185894c9977;hb=5a070b9c1f526e206396c70f2b0f30c125cb5de6;hp=37aaef687ef763c1451aa467c27de1ce86be0327;hpb=016b1f8656b7361bc82192015f2a0e0e215fc6d8;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 37aaef6..38407c2 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -5,17 +5,11 @@ # vim:set syntax=yaml: # TODO -# - spohr: hpasmd -# - *: mailq # - *: check munin stats collection works # - *: check backups are successful # - *: unwanted: network: auth, discard, daytime, time (on some), cvs-pserver, rsync (on some), ftp (on some), http (on some) # - mundy: salinfo_decode -# down: -# - sarti -# - leisner - --- ############################# # hosts @@ -39,6 +33,10 @@ servers: address: 130.239.18.97 parents: gw-ubcece hostgroups: layer3-infrastructure + gw-bytemark: + address: 89.16.160.116 + parents: gw-ubcece + hostgroups: layer3-infrastructure gw-c3sl: address: 200.17.202.254 parents: gw-ubcece @@ -56,7 +54,7 @@ servers: parents: gw-ubcece hostgroups: layer3-infrastructure gw-brown: - address: 128.148.34.1 + address: 138.16.160.1 parents: gw-ubcece hostgroups: layer3-infrastructure gw-carnet: @@ -171,8 +169,11 @@ servers: powell: address: 87.106.64.223 parents: gw-1und1 - hostgroups: computers, service, spamd, heavy-exim, rsyncd-hosts, acpid-hosts, hassrvfs, hasvarfs, hasusrfs, xinetd-hosts, apache2-hosts, squeeze - contacts: joerg + hostgroups: computers, service, acpid-hosts, wheezy + pkgmirror-1and1: + address: 213.165.95.4 + parents: powell + hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts # }}} # {{{ gw-1und1-sec schumann: @@ -251,10 +252,6 @@ servers: hostgroups: computers, hasbootfs, hassrvfs, armhf, wheezy, buildd, deadslow # }}} # {{{ gw-brainfood - old-master: - address: 97.107.116.29 - parents: gw-brainfood - hostgroups: computers, general, spamd, heavy-exim, highload, xinetd-hosts, mptraid, squeeze, bacula-client murphy: address: 97.107.116.31 parents: gw-brainfood @@ -262,14 +259,65 @@ servers: # }}} # {{{ gw-brown franck: - address: 128.148.34.3 + address: 138.16.160.12 parents: gw-brown hostgroups: computers, service, apache2-hosts, dl380, rsyncd-hosts, postgres91-hosts, spamd, heavy-exim, acpid-hosts, uploadqueue, xinetd-hosts, apache-https, hassrvfs, squeeze ries: - address: 128.148.34.103 + address: 138.16.160.9 parents: gw-brown hostgroups: computers, service, dl385, acpid-hosts, xinetd-hosts, hassrvfs, squeeze, postgres91-hosts # }}} + # {{{ gw-bytemark + bm-bl1: + address: 5.153.231.241 + parents: gw-bytemark + hostgroups: computers, bl460, acpid-hosts, service, wheezy + bm-bl2: + address: 5.153.231.242 + parents: gw-bytemark + hostgroups: computers, bl460, acpid-hosts, service, wheezy + bm-bl3: + address: 5.153.231.243 + parents: gw-bytemark + hostgroups: computers, bl460, acpid-hosts, service, wheezy + bm-bl4: + address: 5.153.231.244 + parents: gw-bytemark + hostgroups: computers, bl460, acpid-hosts, service, wheezy + bm-bl5: + address: 5.153.231.245 + parents: gw-bytemark + hostgroups: computers, bl460, acpid-hosts, service, wheezy + bm-bl6: + address: 5.153.231.246 + parents: gw-bytemark + hostgroups: computers, bl460, acpid-hosts, service, wheezy + bm-bl7: + address: 5.153.231.247 + parents: gw-bytemark + hostgroups: computers, bl460, acpid-hosts, service, wheezy + bm-bl8: + address: 5.153.231.248 + parents: gw-bytemark + hostgroups: computers, bl460, acpid-hosts, service, wheezy + + milanollo: + address: 5.153.231.2 + parents: gw-bytemark + hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, nfs-server + picconi: + address: 5.153.231.3 + parents: gw-bytemark + hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, nfs-client, autofs, heavy-exim, spamd + senfter: + address: 5.153.231.4 + parents: gw-bytemark + hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts + adayevskaya: + address: 5.153.231.5 + parents: gw-bytemark + hostgroups: computers, service, kvmdomains, wheezy + # }}} # {{{ gw-c3sl santoro: address: 200.17.202.197 @@ -403,7 +451,8 @@ servers: zemlinsky: address: 129.143.160.6 parents: gw-karlsruhe - hostgroups: computers, buildd, hassrvfs, squeeze + hostgroups: computers, buildd, hassrvfs, wheezy + contacts: pkern # }}} # {{{ gw-man-da agricola: @@ -453,7 +502,7 @@ servers: rem: address: 82.195.75.68 parents: gw-man-da - hostgroups: computers, buildd, hasbootfs, hassrvfs, squeeze + hostgroups: computers, buildd, hasbootfs, hassrvfs, wheezy unger: address: 82.195.75.102 parents: gw-man-da @@ -485,7 +534,7 @@ servers: wilder: address: 82.195.75.112 parents: ganeti3 - hostgroups: computers, service, hassrvfs, apache2-hosts, kvmdomains, wheezy, acpid-hosts, apache2-hosts, apache-https, bacula-client + hostgroups: computers, service, hassrvfs, apache2-hosts, kvmdomains, wheezy, acpid-hosts, apache2-hosts, apache-https, bacula-client, rsyncd-hosts, xinetd-hosts vieuxtemps: address: 82.195.75.113 parents: ganeti3 @@ -556,7 +605,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, hasvarlogfs + hostgroups: computers, acpid-hosts, postgres91-hosts, service, apache2-hosts, sw-raid, squeeze, rsyncd-hosts, xinetd-hosts, hasvarlogfs contacts: tjrc1, dave smetana: address: 193.62.202.29 @@ -583,20 +632,10 @@ servers: address: 86.59.118.151 parents: gw-sil hostgroups: computers, porterbox, squeeze, hassrvfs - englund: - address: 86.59.118.148 - parents: gw-sil - hostgroups: computers, acpid-hosts, service, apache2-hosts, squeeze, hassrvfs, megactl - # which raid? eysler: address: 86.59.118.152 parents: gw-sil hostgroups: computers, buildd, squeeze - lindberg: - address: 86.59.118.149 - parents: gw-sil - hostgroups: computers, acpid-hosts, service, squeeze, megactl - # which raid? merikanto: address: 86.59.118.147 parents: gw-sil @@ -704,7 +743,7 @@ servers: morricone: address: 206.12.19.9 parents: sw-ubcece-kais - hostgroups: computers, hasbootfs, hasvarfs, hassrvfs, aacraid, postgres90-hosts, rsyncd-hosts, heavy-exim, xinetd-hosts, apache2-hosts, service, squeeze, uploadqueue + hostgroups: computers, hasbootfs, hasvarfs, hassrvfs, aacraid, rsyncd-hosts, heavy-exim, xinetd-hosts, apache2-hosts, service, squeeze, uploadqueue stabile: address: 206.12.19.13 parents: sw-ubcece-kais @@ -846,11 +885,11 @@ servers: beach: address: 206.12.19.140 parents: ganeti2 - hostgroups: computers, service, kvmdomains, squeeze, apache2-hosts, xinetd-hosts, hassrvfs, nfs-server, rsyncd-hosts + hostgroups: computers, service, kvmdomains, wheezy, 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 + hostgroups: computers, service, kvmdomains, wheezy, postgres91-hosts, nfs-client, apache2-hosts, autofs sonntag: address: 206.12.19.142 parents: ganeti2 @@ -1006,9 +1045,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 +# megactl: +# alias: Hosts with LSI Logic MegaRAID, but not usable with megaraid check +# private: 1 megaraid: alias: Hosts with LSI Logic MegaRAID private: 1 @@ -1073,9 +1112,6 @@ hostgroups: postgres84-hosts: alias: hosts running postgres84 private: 1 - postgres90-hosts: - alias: hosts running postgres90 - private: 1 postgres91-hosts: alias: hosts running postgres91 private: 1 @@ -1232,7 +1268,7 @@ services: - name: disk usage - all servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk -w 10% -c 5% -A -X devpts -X proc -X linprocfs -X devfs -X fdescfs -X sysfs -X nfs --ignore-eregi-path=/srv/snapshot.debian.org" + nrpe: "/usr/lib/nagios/plugins/check_disk -w 5% -c 3% -A -X devpts -X proc -X linprocfs -X devfs -X fdescfs -X sysfs -X nfs --ignore-eregi-path=/srv/snapshot.debian.org" hosts: stabile - name: disk usage - all @@ -1276,12 +1312,17 @@ services: name: disk usage on /srv servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /srv" - hosts: stabile, beach + hosts: beach + - + name: disk usage on /srv + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 95 98 /srv" + hosts: stabile - name: disk usage on /tmp servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 60 80 /tmp" - hosts: saens, powell, piatti + hosts: saens, piatti - name: disk usage on /usr servicegroups: diskspace @@ -1326,7 +1367,7 @@ services: - name: disk usage on /srv/snapshot.debian.org servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 94 98 /srv/snapshot.debian.org" + nrpe: "/usr/lib/nagios/plugins/check_disk 98 99 /srv/snapshot.debian.org" hosts: stabile - name: disk usage on /srv/snapshot.debian.org @@ -1420,7 +1461,7 @@ services: - name: process - bacula-fd servicegroups: backup - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C bacula-fd -a '/usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf'" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u bacula -C bacula-fd -a '/usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf'" hostgroups: computers excludehostgroups: freebsd excludehosts: wagner, vasks @@ -1469,11 +1510,11 @@ services: # retry_check_interval: 5 #### - - - 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 + #- + # 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 #### - @@ -1722,12 +1763,12 @@ 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'" hostgroups: spamd - excludehosts: powell, wagner + excludehosts: wagner, picconi excludehostgroups: deadslow - 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, wagner + hosts: wagner, picconi - 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'" @@ -2125,11 +2166,11 @@ services: hostgroups: mptraid ### - - - name: RAID - megactl - servicegroups: raid - nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-megactl" - hostgroups: megactl +# - +# name: RAID - megactl +# servicegroups: raid +# nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-megactl" +# hostgroups: megactl ### - name: RAID - DRBD @@ -2234,11 +2275,11 @@ services: ### - name: process - apache2 - master - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C apache2 -a /usr/sbin/apache2" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -a /usr/sbin/apache2" hostgroups: apache2-hosts - name: process - apache2 - worker - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -C apache2 -a /usr/sbin/apache2" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -a /usr/sbin/apache2" hostgroups: apache2-hosts depends: process - apache2 - master - @@ -2362,40 +2403,40 @@ services: ### #- - # name: process - postresql81 - master + # name: process - postgresql81 - master # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a '/usr/lib/postgresql/8.1/bin/postmaster -D /var/lib/postgresql/8.1/main -c config_file=/etc/postgresql/8.1/main/postgresql.conf'" # hostgroups: postgres81-hosts #- - # name: process - postresql81 - writer + # name: process - postgresql81 - writer # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: writer process'" # hostgroups: postgres81-hosts - # depends: process - postresql81 - master + # depends: process - postgresql81 - master #- - # name: process - postresql81 - buffer + # name: process - postgresql81 - buffer # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postmaster -a 'postgres: stats buffer process'" # hostgroups: postgres81-hosts - # depends: process - postresql81 - master + # depends: process - postgresql81 - master #- - # name: process - postresql81 - collector + # name: process - postgresql81 - collector # 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 + # depends: process - postgresql81 - master #### - - name: unwanted process - postresql + name: unwanted process - postgresql nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres" hostgroups: computers - excludehostgroups: postgres90-hosts, postgres84-hosts, postgres91-hosts, deadslow + excludehostgroups: postgres84-hosts, postgres91-hosts, deadslow + - + name: unwanted process - postgresql 9.0 + nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres -a '9.0/bin/postgres'" + hostgroups: computers - - name: process - postresql91 - master + name: process - postgresql91 - 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'" - hostgroups: postgres90-hosts - - - name: process - postresql84 - master + name: process - postgresql84 - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:4 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.4/bin/postgres'" hostgroups: postgres84-hosts - @@ -2491,6 +2532,7 @@ services: name: process - portmap nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C portmap -a '/sbin/portmap'" hostgroups: nfs-client, nfs-server + excludehostgroups: wheezy - name: process - statd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u statd -C rpc.statd -a '/sbin/rpc.statd'" @@ -2570,10 +2612,6 @@ services: name: DNS SOA sync - alioth.debian.org check: "dsa_check_soas_add!alioth.debian.org!alioth.debian.org" hosts: global - - - name: DNS SOA sync - 2.5.1.1.8.0.0.8.d.8.0.1.0.0.2.ip6.arpa - check: "dsa_check_soas!2.5.1.1.8.0.0.8.d.8.0.1.0.0.2.ip6.arpa" - hosts: global - name: DNS SOA sync - 2.6.a.0.4.6.5.6.1.0.0.0.2.0.0.0.8.d.8.0.1.0.0.2.ip6.arpa check: "dsa_check_soas!2.6.a.0.4.6.5.6.1.0.0.0.2.0.0.0.8.d.8.0.1.0.0.2.ip6.arpa"