X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=4bb8414af311dbcc7b209fbe9e01eb4248024d7b;hb=8335c03579a890f69fb8c85126f2fd36ece06548;hp=412204fcec167954f9524caf86e42e5cee7b7713;hpb=67c90ed3cab4eebb2b7e495f726df69137dfc818;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 412204f..4bb8414 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 @@ -177,12 +177,13 @@ servers: # {{{ gw-1und1-sec schumann: address: 212.227.126.54 - parents: gw-1und1-sec + parents: gw-ubcece + #parents: gw-1und1-sec hostgroups: computers, acpid-hosts, service, squeeze 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 @@ -190,10 +191,11 @@ servers: 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 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,51 +212,47 @@ 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 - hostgroups: computers, hasbootfs, hassrvfs, wheezy, armhf, buildd + hostgroups: computers, hasbootfs, hassrvfs, wheezy, armhf, buildd, deadslow henze: address: 217.140.96.70 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, wheezy, armhf, buildd + hostgroups: computers, hasbootfs, hassrvfs, wheezy, armhf, buildd, deadslow hoiby: address: 217.140.96.71 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, armhf, wheezy, buildd + hostgroups: computers, hasbootfs, hassrvfs, armhf, wheezy, buildd, deadslow # }}} # {{{ gw-brainfood master: - address: 70.103.162.29 + address: 97.107.116.29 parents: gw-brainfood hostgroups: computers, general, apache2-hosts, spamd, heavy-exim, highload, xinetd-hosts, mptraid, squeeze murphy: @@ -266,11 +264,11 @@ servers: franck: address: 128.148.34.3 parents: gw-brown - hostgroups: computers, service, apache2-hosts, dl380, rsyncd-hosts, postgres90-hosts, spamd, heavy-exim, acpid-hosts, uploadqueue, xinetd-hosts, apache-https, hassrvfs, squeeze + 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 parents: gw-brown - hostgroups: computers, service, dl385, acpid-hosts, xinetd-hosts, hassrvfs, squeeze, postgres90-hosts + hostgroups: computers, service, dl385, acpid-hosts, xinetd-hosts, hassrvfs, squeeze, postgres91-hosts # }}} # {{{ gw-c3sl santoro: @@ -319,7 +317,7 @@ servers: argento: address: 93.94.130.160 parents: gw-dgi - hostgroups: computers, buildd, sw-raid, hassrvfs, squeeze + hostgroups: computers, sw-raid, hassrvfs, wheezy contacts: bzed widor: address: 93.94.130.161 @@ -340,11 +338,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 @@ -378,11 +371,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 +391,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 @@ -451,6 +435,10 @@ servers: address: 82.195.75.109 parents: gw-man-da hostgroups: computers, service, dl380, acpid-hosts, squeeze + clementi: + address: 82.195.75.103 + parents: gw-man-da + hostgroups: computers, service, dl380, acpid-hosts, squeeze bendel: address: 82.195.75.100 parents: czerny @@ -458,7 +446,7 @@ servers: new-master: address: 82.195.75.110 parents: czerny - hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hassrvfs + hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, bacula-client fils: address: 82.195.75.89 parents: czerny @@ -466,11 +454,7 @@ servers: 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 + hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, apache2-hosts, heavy-exim lully: address: 82.195.75.99 parents: czerny @@ -503,6 +487,15 @@ servers: address: 82.195.75.107 parents: unger hostgroups: computers, service, hasbootfs, apache2-hosts, rsyncd-hosts, kvmdomains, xinetd-hosts, squeeze + 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 + # lamb: # address: 82.195.75.101 # parents: unger @@ -518,7 +511,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 @@ -608,7 +601,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 @@ -665,7 +658,7 @@ servers: pasquini: address: 206.12.19.217 parents: sw-ubcece-kais - hostgroups: computers, bl460, acpid-hosts, service, squeeze + hostgroups: computers, bl460, acpid-hosts, service, squeeze, drbd-hosts luchesi: address: 206.12.19.214 parents: sw-ubcece-kais @@ -673,15 +666,15 @@ servers: tristano: address: 206.12.19.213 parents: sw-ubcece-kais - hostgroups: computers, bl460, acpid-hosts, service, squeeze + hostgroups: computers, bl460, acpid-hosts, service, squeeze, drbd-hosts boito: address: 206.12.19.216 parents: sw-ubcece-kais - hostgroups: computers, bl460, acpid-hosts, service, squeeze + hostgroups: computers, bl460, acpid-hosts, service, squeeze, drbd-hosts bertali: address: 206.12.19.212 parents: sw-ubcece-kais - hostgroups: computers, bl460, acpid-hosts, service, squeeze + hostgroups: computers, bl460, acpid-hosts, service, squeeze, drbd-hosts ganeti2: address: 206.12.19.23 parents: sw-ubcece-kais @@ -753,7 +746,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 @@ -833,7 +826,7 @@ servers: 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 @@ -854,6 +847,19 @@ servers: address: 206.12.19.142 parents: ganeti2 hostgroups: computers, service, kvmdomains, squeeze, nfs-client, autofs, hassrvfs + menotti: + address: 206.12.19.143 + parents: ganeti2 + 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 # }}} # {{{ gw-ugent ancina: @@ -869,22 +875,6 @@ 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 @@ -898,15 +888,15 @@ servers: hildegard: address: 144.32.168.74 parents: gw-ynic - hostgroups: computers, hasbootfs, hassrvfs, armhf, wheezy + hostgroups: computers, hasbootfs, hassrvfs, armhf, wheezy, deadslow howells: address: 144.32.168.75 parents: gw-ynic - hostgroups: computers, hasbootfs, hassrvfs, armhf, wheezy + hostgroups: computers, hasbootfs, hassrvfs, armhf, wheezy, deadslow hummel: address: 144.32.168.76 parents: gw-ynic - hostgroups: computers, hasbootfs, hassrvfs, armhf, wheezy + hostgroups: computers, hasbootfs, hassrvfs, armhf, wheezy, deadslow porpora: address: 144.32.168.78 parents: gw-ynic @@ -950,6 +940,8 @@ hostgroups: notacomputer: alias: Systems that are not really systems. Yeah :) private: 1 + deadslow: + alias: Systems too slow to run any real checks freebsd: alias: freebsd private: 1 @@ -1017,13 +1009,12 @@ hostgroups: wheezy: alias: Hosts running wheezy - lenny: - alias: Hosts running lenny - kvmdomains: alias: Hosts that are KVM domains private: 1 + drbd-hosts: + alias: hosts running drbd postfix-hosts: alias: hosts running postfix instead of exim private: 1 @@ -1088,6 +1079,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 @@ -1233,12 +1228,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 @@ -1259,12 +1254,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 @@ -1289,7 +1284,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 @@ -1327,9 +1322,9 @@ services: nrpe: "/usr/lib/nagios/plugins/check_disk 95 90 /srv/farm-snapshot/farm-misc" hosts: sibelius - - name: disk usage on /var/lib/postgresql/9.0/dak + name: disk usage on /var/lib/postgresql/9.1/dak servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 75 85 /var/lib/postgresql/9.0/dak" + nrpe: "/usr/lib/nagios/plugins/check_disk 75 85 /var/lib/postgresql/9.1/dak" hosts: franck - name: disk usage on /srv/ftp-master.debian.org @@ -1341,6 +1336,26 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 75 85 /srv/pgbackup" hosts: franck + - + name: disk usage on /srv/pgbackup + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/pgbackup" + hosts: beethoven + - + name: disk usage on /srv/git-backup + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/git-backup" + hosts: beethoven + - + name: disk usage on /srv/da-backup + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/da-backup" + hosts: beethoven + - + name: disk usage on /srv/bacula + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/bacula" + hosts: beethoven ############ All Computers ############ #### @@ -1367,7 +1382,11 @@ services: normal_check_interval: 60 max_check_attempts: 2 retry_check_interval: 5 - + - + name: backup - bacula + remotecheck: "/usr/lib/nagios/plugins/dsa-check-bacula -H $HOSTNAME$" + runfrom: dinis + hostgroups: bacula-client #### - name: running kernel @@ -1535,8 +1554,8 @@ services: hostgroups: freebsd - name: process - munin-node - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u root -C munin -a '/usr/sbin/munin-node'" - hostgroups: armhf + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u root -C munin-node -a 'munin-node'" + hostgroups: wheezy - name: network service - munin-node check: check_tcp!4949 @@ -1555,7 +1574,7 @@ services: hostgroups: computers depends: process - ntpd excludehosts: ancina - excludehostgroups: ntpsuckers + excludehostgroups: ntpsuckers, deadslow servicegroups: time # - @@ -1573,7 +1592,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 ### @@ -1648,19 +1667,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'" @@ -1679,17 +1699,17 @@ services: - 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, buxtehude + hosts: 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, buxtehude + hosts: buxtehude # - 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 ### @@ -1702,12 +1722,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'" @@ -1717,7 +1744,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 @@ -1733,7 +1760,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 @@ -1754,7 +1781,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 @@ -1853,6 +1880,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 @@ -1876,6 +1910,7 @@ services: name: unwanted process - irqbalance nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C irqbalance" hostgroups: computers + excludehostgroups: deadslow #### ### @@ -1891,25 +1926,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 #### - @@ -1950,7 +1988,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 @@ -1968,7 +2006,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 @@ -1981,12 +2025,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 @@ -2041,6 +2079,12 @@ services: servicegroups: raid nrpe: "/usr/lib/nagios/plugins/dsa-check-raid-megactl" hostgroups: megactl + ### + - + name: RAID - DRBD + servicegroups: raid + nrpe: "/usr/lib/nagios/plugins/dsa-check-drbd -d All" + hostgroups: drbd-hosts ### - name: process - slapd @@ -2104,7 +2148,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 @@ -2128,22 +2172,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 ### @@ -2160,7 +2194,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 @@ -2205,7 +2239,7 @@ 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 @@ -2224,7 +2258,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 #### - @@ -2239,11 +2273,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 @@ -2269,7 +2307,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'" @@ -2282,36 +2320,10 @@ services: name: process - postresql84 - 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 - #- - # name: process - postresql83 - master udd - # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres -D /var/lib/postgresql/8.3/udd -c config_file=/etc/postgresql/8.3/udd/postgresql.conf'" - # hosts: piatti - #- - # name: process - postresql83 - dak master - # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.3/bin/postgres -D /var/lib/postgresql/8.3/dak -c config_file=/etc/postgresql/8.3/dak/postgresql.conf'" - # hosts: chopin - #- - # name: process - postresql84 - dak master - # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.4/bin/postgres -D /var/lib/postgresql/8.4/dak -c config_file=/etc/postgresql/8.4/dak/postgresql.conf'" - # hosts: franck, chopin - #- - # name: process - postresql84 - dak-dev master - # nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postgres -C postgres -a '/usr/lib/postgresql/8.4/bin/postgres -D /var/lib/postgresql/8.4/dak-dev -c config_file=/etc/postgresql/8.4/dak-dev/postgresql.conf'" - # hosts: franck - # backups - 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 #### #### - @@ -2372,14 +2384,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 #### - @@ -2430,7 +2442,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 ############ #####