X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=1726233bac1293efa794fc3198cf4fdcbbab65d5;hb=96786aac7f1acdaf394b1d4a45028419cb333dc3;hp=45c67f62cc394da093e8b38e18e6ca04538e11cf;hpb=870ccf225946fb0bcb7154e12eb76d31b47a043b;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 45c67f6..1726233 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -31,9 +31,9 @@ servers: parents: gw-ubcece hostgroups: layer3-infrastructure contacts: joerg - gw-1und1-sec: - address: 212.227.126.33 - parents: gw-ubcece +# gw-1und1-sec: +# address: 212.227.126.33 +# parents: gw-ubcece hostgroups: layer3-infrastructure gw-accumu: address: 130.239.18.97 @@ -140,6 +140,7 @@ servers: parents: gw-ubcece hostgroups: layer3-infrastructure contact_groups: +alioth-admins + no-servicegroups: true gw-ubcece: address: 206.12.19.254 hostgroups: layer3-infrastructure @@ -177,23 +178,25 @@ servers: # {{{ gw-1und1-sec schumann: address: 212.227.126.54 - parents: gw-1und1-sec - hostgroups: computers, acpid-hosts, service, squeeze + parents: gw-ubcece + #parents: gw-1und1-sec + hostgroups: computers, acpid-hosts, service, squeeze, bacula-client chopin: address: 195.20.242.124 parents: schumann - hostgroups: computers, service, apache2-hosts, hassrvfs, hasbootfs, rsyncd-hosts, uploadqueue, kvmdomains, heavy-exim, xinetd-hosts, apache-https, postgres90-hosts, squeeze + hostgroups: computers, service, apache2-hosts, hassrvfs, hasbootfs, rsyncd-hosts, uploadqueue, kvmdomains, heavy-exim, xinetd-hosts, apache-https, postgres91-hosts, squeeze geo3: address: 195.20.242.125 parents: schumann - hostgroups: computers, service, hasbootfs, bind9-hosts, kvmdomains, squeeze + hostgroups: computers, service, hasbootfs, bind9-hosts, kvmdomains, squeeze, bacula-client soler: address: 195.20.242.126 parents: schumann - hostgroups: computers, service, hasbootfs, hassrvfs, kvmdomains, apache2-hosts, squeeze + hostgroups: computers, service, hasbootfs, hassrvfs, kvmdomains, apache2-hosts, squeeze, apache-https, bacula-client wieck: address: 195.20.242.89 - parents: gw-1und1-sec + parents: gw-ubcece + #parents: gw-1und1-sec hostgroups: computers, service, apache2-hosts, rsyncd-hosts, acpid-hosts, xinetd-hosts, squeeze, security_mirror, hasvarlogfs # }}} # {{{ gw-accumu @@ -210,35 +213,31 @@ servers: abel: address: 217.140.96.56 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, porterbox, squeeze + hostgroups: computers, hasbootfs, hassrvfs, porterbox, squeeze, deadslow alain: address: 217.140.96.58 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, buildd, squeeze + hostgroups: computers, hasbootfs, hassrvfs, buildd, squeeze, deadslow alwyn: address: 217.140.96.59 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, buildd, squeeze + hostgroups: computers, hasbootfs, hassrvfs, buildd, squeeze, deadslow antheil: address: 217.140.96.60 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, buildd, squeeze + hostgroups: computers, hasbootfs, hassrvfs, buildd, squeeze, deadslow arne: address: 217.140.96.61 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, squeeze + hostgroups: computers, hasbootfs, hassrvfs, squeeze, deadslow arnold: address: 217.140.96.57 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, buildd, squeeze + hostgroups: computers, hasbootfs, hassrvfs, buildd, squeeze, deadslow harris: address: 217.140.96.66 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, wheezy, armhf, porterbox - hartmann: - address: 217.140.96.67 - parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, wheezy, armhf, buildd + hostgroups: computers, hasbootfs, hassrvfs, wheezy, armhf, porterbox, deadslow hasse: address: 217.140.96.68 parents: gw-arm @@ -253,12 +252,12 @@ servers: hostgroups: computers, hasbootfs, hassrvfs, armhf, wheezy, buildd, deadslow # }}} # {{{ gw-brainfood - master: - address: 70.103.162.29 + old-master: + address: 97.107.116.29 parents: gw-brainfood - hostgroups: computers, general, apache2-hosts, spamd, heavy-exim, highload, xinetd-hosts, mptraid, squeeze + hostgroups: computers, general, apache2-hosts, spamd, heavy-exim, highload, xinetd-hosts, mptraid, squeeze, bacula-client murphy: - address: 70.103.162.31 + address: 97.107.116.31 parents: gw-brainfood hostgroups: computers, general, dl380, acpid-hosts, buildd, hasbootfs, hassrvfs, squeeze # }}} @@ -319,12 +318,7 @@ servers: argento: address: 93.94.130.160 parents: gw-dgi - hostgroups: computers, buildd, sw-raid, hassrvfs, squeeze - contacts: bzed - widor: - address: 93.94.130.161 - parents: gw-dgi - hostgroups: computers, apache2-hosts, sw-raid, acpid-hosts, hasorgfs, service, apache-https, squeeze + hostgroups: computers, sw-raid, hassrvfs, wheezy contacts: bzed # }}} # {{{ gw-ftcollins @@ -340,15 +334,6 @@ servers: address: 192.25.206.62 parents: gw-ftcollins hostgroups: computers, buildd, hassrvfs, sw-raid, acpid-hosts, squeeze - penalosa: - address: 192.25.206.68 - parents: gw-ftcollins - hostgroups: computers, buildd, hasbootfs, lenny - contacts: dannf - samosa: - address: 192.25.206.57 - parents: gw-ftcollins - hostgroups: computers, service, dl380, hassrvfs, hasbootfs, acpid-hosts, nfs-client, postgres90-hosts, xinetd-hosts, apache2-hosts, squeeze spohr: address: 192.25.206.33 parents: gw-ftcollins @@ -368,7 +353,7 @@ servers: biber: address: 194.177.211.204 parents: gw-grnet - hostgroups: computers, acpid-hosts, buildd, hassrvfs, mptraid, squeeze + hostgroups: computers, acpid-hosts, buildd, hassrvfs, mptraid, squeeze, bacula-client cilea: address: 194.177.211.205 parents: gw-grnet @@ -378,11 +363,6 @@ servers: parents: rautavaara hostgroups: computers, freebsd, squeeze, buildd, hassrvfs #, mptraid - field: - address: 194.177.211.210 - parents: rautavaara - hostgroups: computers, freebsd, squeeze, buildd, hassrvfs - #, mptraid grieg: address: 194.177.211.200 parents: gw-grnet @@ -403,10 +383,6 @@ servers: address: 194.177.211.199 parents: gw-grnet hostgroups: computers, acpid-hosts, megaraid, service, squeeze - scelsi: - address: 194.177.211.208 - parents: gw-grnet - hostgroups: computers, acpid-hosts, mptraid, service, squeeze vitry: address: 194.177.211.206 parents: gw-grnet @@ -450,19 +426,19 @@ servers: czerny: address: 82.195.75.109 parents: gw-man-da - hostgroups: computers, service, dl380, acpid-hosts, squeeze + hostgroups: computers, service, dl380, acpid-hosts, squeeze, drbd-hosts clementi: address: 82.195.75.103 parents: gw-man-da - hostgroups: computers, service, dl380, acpid-hosts, squeeze + hostgroups: computers, service, dl380, acpid-hosts, squeeze, drbd-hosts 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, hasvarlogfs - new-master: + master: address: 82.195.75.110 parents: czerny - hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hassrvfs + hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, bacula-client, spamd, heavy-exim, highload fils: address: 82.195.75.89 parents: czerny @@ -470,11 +446,11 @@ servers: vento: address: 82.195.75.98 parents: czerny - hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hassrvfs, apache2-hosts, heavy-exim + hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, apache2-hosts, heavy-exim lully: address: 82.195.75.99 parents: czerny - hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hasvarlogfs + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hasvarlogfs, bacula-client rem: address: 82.195.75.68 parents: gw-man-da @@ -485,28 +461,40 @@ servers: hostgroups: computers, service, dl360, acpid-hosts, squeeze diamond: address: 82.195.75.108 - parents: unger + parents: ganeti3 hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, bind9-hosts draghi: address: 82.195.75.106 - parents: unger - hostgroups: computers, service, hasbootfs, hassrvfs, apache2-hosts, bind9-hosts, spamd, heavy-exim, kvmdomains, xinetd-hosts, apache-https, squeeze + parents: ganeti3 + hostgroups: computers, service, hasbootfs, hassrvfs, apache2-hosts, bind9-hosts, spamd, heavy-exim, kvmdomains, xinetd-hosts, apache-https, squeeze, bacula-client geo1: address: 82.195.75.105 - parents: unger + parents: ganeti3 hostgroups: computers, service, hasbootfs, bind9-hosts, kvmdomains, squeeze handel: address: 82.195.75.104 - parents: unger + parents: ganeti3 hostgroups: computers, service, hasbootfs, kvmdomains, apache2-hosts, squeeze, apache-https, hasvarfs kaufmann: address: 82.195.75.107 - parents: unger + parents: ganeti3 hostgroups: computers, service, hasbootfs, apache2-hosts, rsyncd-hosts, kvmdomains, xinetd-hosts, squeeze -# lamb: -# address: 82.195.75.101 -# parents: unger -# hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hasvicepa, bosserver + ganeti3: + address: 82.195.75.111 + parents: gw-man-da + hostgroups: notacomputer + wilder: + address: 82.195.75.112 + parents: ganeti3 + hostgroups: computers, service, hassrvfs, apache2-hosts, kvmdomains, wheezy, acpid-hosts, apache2-hosts, apache-https, bacula-client + vieuxtemps: + address: 82.195.75.113 + parents: ganeti3 + hostgroups: computers, service, kvmdomains, wheezy, varnish-hosts + mailly: + address: 82.195.75.114 + parents: ganeti3 + hostgroups: computers, service, kvmdomains, wheezy, spamd, heavy-exim, mail-relay # }}} # {{{ gw-marist zappa: @@ -518,7 +506,7 @@ servers: busoni: address: 140.211.15.34 parents: gw-osuosl - hostgroups: computers, service, dl360, hassrvfs, acpid-hosts, apache2-hosts, heavy-exim, postgres84-hosts, squeeze, hasvarlogfs + hostgroups: computers, service, dl360, hassrvfs, acpid-hosts, heavy-exim, squeeze, hasvarlogfs byrd: address: 140.211.166.20 parents: gw-osuosl @@ -551,7 +539,7 @@ servers: rietz: address: 140.211.166.43 parents: gw-osuosl - hostgroups: computers, service, rsyncd-hosts, dl385, hassrvfs, acpid-hosts, xinetd-hosts, squeeze, apache2-hosts + hostgroups: computers, service, rsyncd-hosts, dl385, hassrvfs, acpid-hosts, xinetd-hosts, squeeze, apache2-hosts, bind9-hosts #, bosserver rietz2: address: 140.211.166.44 @@ -591,7 +579,7 @@ servers: beethoven: address: 86.59.118.146 parents: gw-sil - hostgroups: computers, hasbootfs, aacraid, nfs-server, service, acpid-hosts, squeeze + hostgroups: computers, hasbootfs, aacraid, nfs-server, service, acpid-hosts, squeeze, bacula-client eder: address: 86.59.118.151 parents: gw-sil @@ -608,7 +596,7 @@ servers: lindberg: address: 86.59.118.149 parents: gw-sil - hostgroups: computers, acpid-hosts, service, apache2-hosts, squeeze, megactl + hostgroups: computers, acpid-hosts, service, squeeze, megactl # which raid? merikanto: address: 86.59.118.147 @@ -625,11 +613,19 @@ servers: parents: gw-telegraaf2 hostgroups: computers, nfs-server, postgres84-hosts, apache2-hosts, acpid-hosts, apache-https, brokensamhain contact_groups: alioth-admins + no-servicegroups: true wagner: address: 217.196.43.132 parents: gw-telegraaf2 hostgroups: computers, bind9-hosts, apache2-hosts, nfs-client, xinetd-hosts, postgres91-hosts, apache-https, dl385, brokensamhain contact_groups: alioth-admins + no-servicegroups: true + anonscm: + address: 217.196.43.132 + parents: wagner + contact_groups: alioth-admins + hostgroups: secondary-IPs + no-servicegroups: true # }}} # {{{ gw-ubcece sw-ubcece: @@ -690,10 +686,14 @@ servers: address: 206.12.19.118 parents: luchesi hostgroups: computers, general, apache2-hosts, hasbootfs, kvmdomains, apache-https, squeeze + dinis: + address: 206.12.19.139 + parents: ganeti2 + hostgroups: computers, general, kvmdomains, squeeze, bacula-client wolkenstein: address: 206.12.19.116 parents: dijkstra - hostgroups: computers, hasbootfs, hassrvfs, kvmdomains, service, xinetd-hosts, rsyncd-hosts, apache2-hosts, squeeze + hostgroups: computers, hasbootfs, hassrvfs, kvmdomains, service, xinetd-hosts, rsyncd-hosts, apache2-hosts, wheezy, bacula-client brahms: address: 206.12.19.115 parents: dijkstra @@ -745,7 +745,7 @@ servers: gabrielli: address: 206.12.19.17 parents: sw-ubcece-kais - hostgroups: computers, porterbox, squeeze + hostgroups: computers, porterbox, wheezy corelli: address: 206.12.19.16 parents: sw-ubcece-kais @@ -753,7 +753,7 @@ servers: lucatelli: address: 206.12.19.15 parents: sw-ubcece-kais - hostgroups: computers, buildd, squeeze + hostgroups: computers, buildd, squeeze, deadslow rossini: address: 206.12.19.19 parents: sw-ubcece-kais @@ -809,7 +809,7 @@ servers: berlioz: address: 206.12.19.131 parents: traetta - hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, apache2-hosts, hassrvfs, apache-https + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, apache2-hosts, hassrvfs, apache-https, bacula-client gombert: address: 206.12.19.132 parents: traetta @@ -829,11 +829,11 @@ servers: diabelli: address: 206.12.19.136 parents: traetta - hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, apache2-hosts, apache-https + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, apache2-hosts, apache-https, bacula-client bizet: address: 206.12.19.137 parents: traetta - hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hassrvfs, rsyncd-hosts, heavy-exim, xinetd-hosts, apache2-hosts, uploadqueue + hostgroups: computers, service, hasbootfs, kvmdomains, wheezy, hassrvfs lilburn: address: 206.12.19.138 parents: dijkstra @@ -857,7 +857,20 @@ servers: menotti: address: 206.12.19.143 parents: ganeti2 - hostgroups: computers, service, kvmdomains, squeeze, hassrvfs, apache2-hosts, apache-https + hostgroups: computers, service, kvmdomains, squeeze, hassrvfs, apache2-hosts + #, apache-https + coincy: + address: 206.12.19.144 + parents: ganeti2 + hostgroups: computers, service, kvmdomains, squeeze, hassrvfs + stanley: + address: 206.12.19.145 + parents: ganeti2 + hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, apache2-hosts + muffat: + address: 206.12.19.146 + parents: ganeti2 + hostgroups: computers, service, kvmdomains, wheezy, spamd, heavy-exim, mail-relay # }}} # {{{ gw-ugent ancina: @@ -873,26 +886,10 @@ servers: hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, hasvarfs, hasusrfs, hasorgfs, xinetd-hosts, squeeze, security_mirror # }}} # {{{ gw-utwente - kassia: - address: 130.89.149.224 - parents: gw-utwente - hostgroups: computers, service, dl360, acpid-hosts, incomingmailrelayed, xinetd-hosts, squeeze - kassia-sec: - address: 130.89.149.225 - parents: kassia - hostgroups: secondary-IPs - kassia-ftp: - address: 130.89.149.226 - parents: kassia - hostgroups: secondary-IPs - kassia-volatile: - address: 130.89.149.227 - parents: kassia - hostgroups: secondary-IPs klecker: address: 130.89.148.10 parents: gw-utwente - hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, acpid-hosts, xinetd-hosts, squeeze, incomingmailrelayed, hassrvfs + hostgroups: computers, service, apache2-hosts, rsyncd-hosts, dl380, acpid-hosts, xinetd-hosts, squeeze, incomingmailrelayed2025, hassrvfs klecker-ftp: address: 130.89.148.12 parents: klecker @@ -1023,9 +1020,6 @@ hostgroups: wheezy: alias: Hosts running wheezy - lenny: - alias: Hosts running lenny - kvmdomains: alias: Hosts that are KVM domains private: 1 @@ -1050,6 +1044,9 @@ hostgroups: apache2-hosts: alias: hosts running apache2 private: 1 + varnish-hosts: + alias: hosts running varnish + private: 1 bind9-hosts: alias: hosts running bind9 private: 1 @@ -1096,6 +1093,10 @@ hostgroups: apache-https: alias: hosts with https services private: 1 + + bacula-client: + alias: hosts which are backuped with bacula + private: 1 nfs-client: alias: hosts mounting filesystems using NFS @@ -1241,12 +1242,12 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /" hostgroups: computers - excludehosts: kassia, spohr + excludehosts: spohr - name: disk usage on / servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 90 93 /" - hosts: kassia, spohr + hosts: spohr - name: disk usage on /boot servicegroups: diskspace @@ -1267,12 +1268,12 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv" hostgroups: hassrvfs - excludehosts: ries, beach + excludehosts: stabile, beach - name: disk usage on /srv servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /srv" - hosts: ries, beach + hosts: stabile, beach - name: disk usage on /tmp servicegroups: diskspace @@ -1297,7 +1298,7 @@ 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, buxtehude + hosts: stabile, sibelius, busoni, buxtehude - name: disk usage on /var/log servicegroups: diskspace @@ -1395,6 +1396,21 @@ services: normal_check_interval: 60 max_check_attempts: 2 retry_check_interval: 5 + - + name: backup - bacula + remotecheck: "sudo /usr/lib/nagios/plugins/dsa-check-bacula -H $HOSTNAME$" + runfrom: dinis + hostgroups: bacula-client + - + name: process - bacula-fd + 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'" + hostgroups: computers + excludehostgroups: freebsd + excludehosts: wagner, vasks + - + name: process - bacula-fd + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u root -C bacula-fd -a '/usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf'" + hostgroups: freebsd #### - @@ -1564,7 +1580,7 @@ services: - name: process - munin-node nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u root -C munin-node -a 'munin-node'" - hostgroups: armhf + hostgroups: wheezy - name: network service - munin-node check: check_tcp!4949 @@ -1583,7 +1599,7 @@ services: hostgroups: computers depends: process - ntpd excludehosts: ancina - excludehostgroups: ntpsuckers + excludehostgroups: ntpsuckers, deadslow servicegroups: time # - @@ -1601,7 +1617,7 @@ services: ### - name: process - cron - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C cron -a /usr/sbin/cron" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u root -C cron -a /usr/sbin/cron" hostgroups: computers ### @@ -1676,19 +1692,20 @@ services: name: unwanted process - clamav nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C clamd" hostgroups: computers - excludehostgroups: heavy-exim, heavy-postfix + excludehostgroups: heavy-exim, heavy-postfix, deadslow 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 + excludehostgroups: heavy-exim, heavy-postfix, deadslow 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, wagner + 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'" @@ -1717,7 +1734,7 @@ services: name: unwanted process - spamd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd" hostgroups: computers - excludehostgroups: spamd + excludehostgroups: spamd, deadslow excludehosts: bendel, busoni, wagner, buxtehude ### @@ -1730,12 +1747,19 @@ services: name: unwanted process - greylistd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C greylistd" hostgroups: computers + excludehostgroups: deadslow ### - name: process - postgrey nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgrey -C postgrey -a '/usr/sbin/postgrey --pidfile=/var/run/postgrey.pid --daemonize --unix=/var/run/postgrey/socket --retry-window=4 --auto-whitelist-clients=10 --exim'" hostgroups: heavy-exim + excludehostgroups: wheezy + - + name: process - postgrey + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgrey -a '/usr/sbin/postgrey --pidfile=/var/run/postgrey.pid --daemonize --unix=/var/run/postgrey/socket --retry-window=4 --auto-whitelist-clients=10 --exim'" + hostgroups: heavy-exim + excludehostgroups: squeeze - name: process - postgrey nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgrey -C postgrey -a '/usr/sbin/postgrey --pidfile=/var/run/postgrey.pid --daemonize --inet=127.0.0.1:60000'" @@ -1745,7 +1769,7 @@ services: name: unwanted process - postgrey nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C postgrey" hostgroups: computers - excludehostgroups: heavy-postfix, heavy-exim + excludehostgroups: heavy-postfix, heavy-exim, deadslow ### - name: process - amavis - master @@ -1761,7 +1785,7 @@ services: name: unwanted process - amavis nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C amavisd-new" hostgroups: computers - excludehostgroups: amavis-hosts + excludehostgroups: amavis-hosts, deadslow ### - name: process - weightd - master @@ -1782,7 +1806,7 @@ services: name: unwanted process - policyd-weight nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C policyd-weight" hostgroups: computers - excludehostgroups: heavy-postfix + excludehostgroups: heavy-postfix, deadslow @@ -1881,6 +1905,13 @@ services: hostgroups: computers excludehosts: vasks, wagner excludehostgroups: freebsd + - + name: system - filesystem check + nrpe: "/usr/bin/sudo /usr/lib/nagios/plugins/dsa-check-filesystems" + normal_check_interval: 60 + retry_check_interval: 15 + excludehosts: wagner, vasks + hostgroups: computers ### - name: local resolver @@ -1904,6 +1935,7 @@ services: name: unwanted process - irqbalance nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C irqbalance" hostgroups: computers + excludehostgroups: deadslow #### ### @@ -1919,25 +1951,28 @@ services: name: unwanted process - gkrellmd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C gkrellmd" hostgroups: computers + excludehostgroups: deadslow - name: unwanted process - portmap nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C portmap" hostgroups: computers - excludehostgroups: nfs-client, nfs-server + excludehostgroups: nfs-client, nfs-server, deadslow - name: unwanted process - rpc.statd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C rpc.statd" hostgroups: computers - excludehostgroups: nfs-client, nfs-server + excludehostgroups: nfs-client, nfs-server, deadslow - name: unwanted process - inetd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd" hostgroups: computers excludehosts: grieg, abel, alwyn, vasks + excludehostgroups: deadslow - name: unwanted process - snmpd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd" hostgroups: computers + excludehostgroups: deadslow #### - @@ -1962,6 +1997,13 @@ 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 + - + # 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 - name: RAID - sw raid servicegroups: raid @@ -1978,7 +2020,7 @@ services: - name: process - monit nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C monit -a '/usr/bin/monit -d 300 -I -c /etc/monit/monitrc -s /var/lib/monit/monit.state'" - hostgroups: armhf + hostgroups: wheezy - name: RAID - arrayprobe servicegroups: raid @@ -1996,7 +2038,13 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli" normal_check_interval: 120 hostgroups: dl385, dl380, dl360, bl460 - excludehosts: kassia + excludehosts: schein + - + name: HW - hpacucli status + servicegroups: raid + nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli --no-battery" + normal_check_interval: 120 + hosts: schein - name: HW - hpacucli enclosure status servicegroups: raid @@ -2009,12 +2057,6 @@ 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 @@ -2138,7 +2180,7 @@ services: name: unwanted process - xinetd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C xinetd" hostgroups: computers - excludehostgroups: xinetd-hosts + excludehostgroups: xinetd-hosts, deadslow ### - name: network service - finger @@ -2162,22 +2204,12 @@ services: check: check_tcp!873 hosts: merikanto2 depends: merikanto:process - xinetd - #- - # name: network service - rsync - # 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: process - nagios3 + name: process - icinga # there is always one extra process per check currently running.. - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:30 -c 1: -u nagios -C nagios3 -a '/usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg'" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:30 -c 1: -u nagios -C icinga -a '/usr/sbin/icinga -d /etc/icinga/icinga.cfg'" hosts: tchaikovsky ### @@ -2194,7 +2226,7 @@ services: name: unwanted process - apache2 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C apache2" hostgroups: computers - excludehostgroups: apache2-hosts + excludehostgroups: apache2-hosts, deadslow - name: network service - http @@ -2239,11 +2271,37 @@ services: name: unwanted network service - https check: dsa_check_port_closed!443 hostgroups: apache2-hosts - excludehostgroups: apache-https + excludehostgroups: apache-https, deadslow # ravel does ssh on port 443 excludehosts: ravel normal_check_interval: 60 +### + - + name: process - varnish - master + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C varnishd -a '/usr/sbin/varnishd -P /var/run/varnishd.pid -a :80 -T localhost:6082 -f /etc/varnish/default.vcl'" + hostgroups: varnish-hosts + - + name: process - varnish - worker + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u nobody -C varnishd -a '/usr/sbin/varnishd -P /var/run/varnishd.pid -a :80 -T localhost:6082 -f /etc/varnish/default.vcl'" + hostgroups: varnish-hosts + depends: process - varnish - master + - + name: network service - http + check: check_http + hostgroups: varnish-hosts + depends: process - varnish - master + +### + +# Alioth web URLs + + - + name: network service - loggerhead + remotecheck: "/usr/lib/nagios/plugins/check_http -H anonscm.debian.org -u /loggerhead/" + hosts: anonscm + depends: wagner:process - apache2 - master + #### - name: process - named @@ -2258,7 +2316,7 @@ services: name: unwanted process - named nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C named" hostgroups: computers - excludehostgroups: bind9-hosts + excludehostgroups: bind9-hosts, deadslow #### - @@ -2273,11 +2331,15 @@ services: depends: klecker:process - xinetd #### + #- + # name: process - debianqueued + # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u dak -C debianqueued" - name: process - debianqueued - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u dak -C debianqueued" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u dak-unpriv -C debianqueued" hostgroups: uploadqueue + ### #- # name: process - postresql81 - master @@ -2303,7 +2365,7 @@ services: name: unwanted process - postresql nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C postgres" hostgroups: computers - excludehostgroups: postgres90-hosts, postgres84-hosts, postgres91-hosts + excludehostgroups: postgres90-hosts, postgres84-hosts, postgres91-hosts, deadslow - 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'" @@ -2320,15 +2382,6 @@ services: name: postgresql backups nrpe: "/usr/bin/sudo -u debbackup /usr/lib/nagios/plugins/dsa-check-backuppg" hosts: beethoven - #### - - - name: process - stunnel4 - postgres-udd - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u stunnel4 -C stunnel4 -a '/usr/bin/stunnel4 /etc/stunnel/postgres-udd-server.conf'" - hosts: samosa - - - name: udd stunnel - master cert - nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 8080 -S -C 14 -t 45" - hosts: samosa #### #### - @@ -2389,14 +2442,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, fils + hosts: fano, fasch, 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, fils + excludehosts: fano, fasch, finzi, fils contact_groups: buildd #### - @@ -2447,7 +2500,7 @@ services: name: unwanted process - automount nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C automount" hostgroups: computers - excludehostgroups: autofs + excludehostgroups: autofs, deadslow ############ MISC OTHER Stuff ############ ##### @@ -2532,7 +2585,7 @@ services: hosts: giustini - name: event log - remotecheck: "/usr/lib/nagios/plugins/dsa-check-msa-eventlog --start=7434 $HOSTADDRESS$ public" + remotecheck: "/usr/lib/nagios/plugins/dsa-check-msa-eventlog --start=7634 $HOSTADDRESS$ public" runfrom: dijkstra hosts: giustini