X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=8bb63a5f1a2d590ffc1b4d5339eeb6f942ee0818;hb=045a4f6fc118a59a02aefa759a6d6814033177fa;hp=12ca89eb2f30958f0b80df0c5ae8b8b5a1cdba1d;hpb=6c66db7b781cf4357bdc186b7a74515e2e72055f;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 12ca89e..8bb63a5 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 @@ -60,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: @@ -175,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: @@ -191,7 +188,7 @@ servers: geo3: address: 195.20.242.125 parents: schumann - hostgroups: computers, service, hasbootfs, bind9-hosts, kvmdomains, squeeze, bacula-client + hostgroups: computers, service, hasbootfs, bind9-hosts, kvmdomains, wheezy, bacula-client soler: address: 195.20.242.126 parents: schumann @@ -200,13 +197,13 @@ servers: address: 195.20.242.89 parents: gw-ubcece #parents: gw-1und1-sec - hostgroups: computers, service, apache2-hosts, rsyncd-hosts, acpid-hosts, xinetd-hosts, squeeze, security_mirror, hasvarlogfs + hostgroups: computers, service, apache2-hosts, rsyncd-hosts, acpid-hosts, xinetd-hosts, wheezy, security_mirror, hasvarlogfs # }}} # {{{ gw-accumu pettersson: address: 130.239.18.123 parents: gw-accumu - hostgroups: computers, hasbootfs, aacraid, nfs-client, acpid-hosts, service, apache2-hosts, squeeze, autofs + hostgroups: computers, hasbootfs, aacraid, nfs-client, acpid-hosts, service, apache2-hosts, wheezy, autofs praetorius: address: 130.239.18.121 parents: gw-accumu @@ -255,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 @@ -266,11 +259,11 @@ 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 # }}} @@ -283,11 +276,57 @@ servers: 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 - milanotti: + 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 + pejacevic: + address: 5.153.231.6 + parents: gw-bytemark + hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, nfs-client, autofs + contacts: holger + piu-slave-bm-a: + address: 5.153.231.7 + parents: gw-bytemark + hostgroups: computers, service, kvmdomains, wheezy, nfs-client, autofs + contacts: holger # }}} # {{{ gw-c3sl santoro: @@ -403,7 +442,7 @@ servers: vitry: address: 194.177.211.206 parents: gw-grnet - hostgroups: computers, acpid-hosts, mptraid, buildd, squeeze + hostgroups: computers, acpid-hosts, mptraid, buildd, wheezy # }}} # {{{ gw-helsinki piatti: @@ -416,13 +455,14 @@ servers: schein: address: 149.20.20.6 parents: gw-isc - hostgroups: computers, service, apache2-hosts, rsyncd-hosts, acpid-hosts, dl360, hasorgfs, xinetd-hosts, squeeze, security_mirror + hostgroups: computers, service, apache2-hosts, rsyncd-hosts, acpid-hosts, dl360, hasorgfs, xinetd-hosts, wheezy, security_mirror # }}} # {{{ gw-karlsruhe 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: @@ -468,11 +508,11 @@ servers: lully: address: 82.195.75.99 parents: ganeti3 - hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hasvarlogfs, bacula-client + hostgroups: computers, service, hasbootfs, kvmdomains, wheezy, hasvarlogfs, bacula-client 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 @@ -480,7 +520,7 @@ servers: diamond: address: 82.195.75.108 parents: ganeti3 - hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, bind9-hosts + hostgroups: computers, service, hasbootfs, kvmdomains, wheezy, bind9-hosts draghi: address: 82.195.75.106 parents: ganeti3 @@ -504,7 +544,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 @@ -580,18 +620,18 @@ servers: smetana: address: 193.62.202.29 parents: gw-sanger - hostgroups: computers, porterbox, sw-raid, sparc, squeeze + hostgroups: computers, porterbox, sw-raid, sparc, wheezy contacts: tjrc1, dave # }}} # {{{ gw-scanplus lobos: address: 212.211.132.250 parents: gw-scanplus-lobos - hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts, squeeze, security_mirror + hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts, wheezy, security_mirror villa: address: 212.211.132.32 parents: gw-scanplus-villa - hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts, squeeze, security_mirror + hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts, wheezy, security_mirror # }}} # {{{ gw-sil beethoven: @@ -601,21 +641,11 @@ servers: eder: 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? + hostgroups: computers, porterbox, wheezy, hassrvfs 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 @@ -671,7 +701,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 + hostgroups: computers, general, dl385, apache2-hosts, acpid-hosts, hasbootfs, nfs-client, rsyncd-hosts, bind9-hosts, uploadqueue, hasorgfs, heavy-exim, xinetd-hosts, wheezy, autofs dijkstra: address: 206.12.19.218 parents: sw-ubcece-kais @@ -703,7 +733,7 @@ servers: tchaikovsky: address: 206.12.19.118 parents: luchesi - hostgroups: computers, general, apache2-hosts, hasbootfs, kvmdomains, apache-https, squeeze + hostgroups: computers, general, apache2-hosts, hasbootfs, kvmdomains, apache-https, wheezy dinis: address: 206.12.19.139 parents: ganeti2 @@ -793,7 +823,7 @@ servers: lotti: address: 206.12.19.121 parents: sw-ubcece-kais - hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hassrvfs + hostgroups: computers, service, hasbootfs, kvmdomains, wheezy, hassrvfs quantz: address: 206.12.19.122 parents: salieri @@ -1025,9 +1055,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 @@ -1248,7 +1278,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 @@ -1292,12 +1322,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 @@ -1342,7 +1377,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 @@ -1397,7 +1432,6 @@ services: servicegroups: apt nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/apt" hostgroups: computers - excludehostgroups: wheezy normal_check_interval: 60 retry_check_interval: 15 #### @@ -1436,7 +1470,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 @@ -1738,12 +1772,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'" @@ -2031,13 +2065,14 @@ services: servicegroups: raid nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C mdadm -a '/sbin/mdadm --monitor --pid-file /var/run/mdadm/monitor.pid --daemonise --scan'" hostgroups: sw-raid - excludehosts: argento + excludehostgroups: wheezy - # wheezy: name: process - mdadm monitor servicegroups: raid nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C mdadm -a '/sbin/mdadm --monitor --pid-file /run/mdadm/monitor.pid --daemonise --scan'" - hosts: argento + hostgroups: sw-raid + excludehostgroups: squeeze - name: RAID - sw raid servicegroups: raid @@ -2141,11 +2176,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 @@ -2250,11 +2285,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 - @@ -2487,6 +2522,12 @@ services: hostgroups: buildd excludehosts: fano, fasch, finzi, fils contact_groups: buildd + - + name: processes - zombie schroot + #nrpe: "/usr/lib/nagios/plugins/check_procs -a schroot -s Zs -c 0" + nrpe: "(/usr/lib/nagios/plugins/check_procs -a schroot -s Zs -c 0 > /dev/null || /usr/lib/nagios/plugins/check_procs -a schroot -s Zs -c 0) && /usr/lib/nagios/plugins/check_procs -a schroot -s ZNs -c 0" + hostgroups: buildd + contact_groups: +buildd #### - name: network service - gobby @@ -2587,10 +2628,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"