X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=cf34271f902cd30ec027348b4058bf6ccfb35177;hb=44644ad5247016305360ecd5e53944a0c6830f96;hp=21ee26419af77ebd545d8cbcc1cd15cd6a1f1e09;hpb=e30c2f5227c14e730e5935c50f5da6406636f590;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 21ee264..cf34271 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -56,11 +56,7 @@ servers: parents: gw-ubc hostgroups: routing-infrastructure gw-mit-csail: - address: 128.30.0.254 - parents: gw-ubc - hostgroups: routing-infrastructure - gw-xs4all: - address: 194.109.137.217 + address: 128.31.0.1 parents: gw-ubc hostgroups: routing-infrastructure gw-umn.edu: @@ -81,10 +77,6 @@ servers: parents: gw-ubc hostgroups: routing-infrastructure contacts: tjrc1, dave - gw-frost: - address: 130.81.27.83 - parents: gw-ubc - hostgroups: routing-infrastructure gw-1und1: address: 195.20.247.54 parents: gw-ubc @@ -131,15 +123,16 @@ 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 hostgroups: routing-infrastructure contacts: holger - gw-telefonica: - address: 195.71.99.193 - parents: gw-ubc - hostgroups: routing-infrastructure gw-cst: address: 213.157.2.23 parents: gw-ubc @@ -191,6 +184,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 @@ -199,18 +204,10 @@ servers: address: 192.25.206.59 parents: gw-HP-ftc hostgroups: computers, service, dl380, hassrvfs, acpid-hosts, squeeze -# merkel: -# address: 192.25.206.16 -# parents: gw-HP-ftc -# hostgroups: computers, general, apache2-hosts, rsyncd-hosts, sw-raid, postgres83-hosts, heavy-exim, nfs-client, xinetd-hosts, lenny -# merkel2: -# address: 192.25.206.71 -# parents: merkel -# hostgroups: secondary-IPs 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 +221,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 paer: address: 192.25.206.11 parents: gw-HP-ftc @@ -232,7 +229,7 @@ servers: merulo: address: 192.25.206.58 parents: gw-HP-ftc - hostgroups: computers, porterbox, hasusrfs, lenny + hostgroups: computers, porterbox, hasusrfs, squeeze alkman: address: 192.25.206.63 parents: gw-HP-ftc @@ -246,12 +243,12 @@ servers: agricola: address: 82.195.75.86 parents: gw-man-da - hostgroups: computers, porterbox, sw-raid, hassrvfs, lenny + hostgroups: computers, porterbox, sw-raid, hassrvfs, squeeze contacts: bzed arcadelt: address: 82.195.75.87 parents: gw-man-da - hostgroups: computers, buildd, sw-raid, hassrvfs, lenny + hostgroups: computers, buildd, sw-raid, hassrvfs, squeeze contacts: bzed liszt: address: 82.195.75.100 @@ -261,7 +258,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 @@ -302,15 +299,15 @@ servers: address: 82.195.75.92 parents: unger hostgroups: computers, service, hasbootfs, kvmdomains, squeeze - lamb: - address: 82.195.75.101 - parents: unger - hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hasvicepa, bosserver +# lamb: +# address: 82.195.75.101 +# parents: unger +# hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hasvicepa, bosserver 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 @@ -320,7 +317,7 @@ servers: ries: address: 128.148.34.103 parents: gw-brown.edu - hostgroups: computers, service, dl385, rsyncd-hosts, acpid-hosts, xinetd-hosts, hassrvfs, squeeze, postgres90-hosts + hostgroups: computers, service, dl385, acpid-hosts, xinetd-hosts, hassrvfs, squeeze, postgres90-hosts franck: address: 128.148.34.3 @@ -338,7 +335,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, squeeze, apache2-hosts #, bosserver rietz2: address: 140.211.166.44 @@ -387,11 +384,6 @@ servers: # parents: gw-mit-csail # hostgroups: computers, service, dl380, acpid-hosts, hassrvfs - klecker: - address: 194.109.137.218 - parents: gw-xs4all - hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl385, spamd, heavy-exim, xinetd-hosts, lenny - saens: address: 128.101.240.212 parents: gw-umn.edu @@ -400,13 +392,13 @@ servers: argento: address: 93.94.130.160 parents: gw-dg-i.net - hostgroups: computers, buildd, sw-raid, hassrvfs, lenny + hostgroups: computers, buildd, sw-raid, hassrvfs, squeeze contacts: bzed 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: @@ -437,12 +429,6 @@ servers: hostgroups: computers, porterbox, sw-raid, sparc, squeeze contacts: tjrc1, dave - voltaire: - address: 72.66.115.54 - parents: gw-frost - hostgroups: computers, buildd, hasvarfs, hashomefs, lenny - contacts: sfrost - powell: address: 87.106.64.223 parents: gw-1und1 @@ -473,7 +459,7 @@ servers: caballero: address: 193.201.200.200 parents: gw-blackcat - hostgroups: computers, buildd, sw-raid, lenny + hostgroups: computers, buildd, sw-raid, squeeze pescetti: address: 217.114.76.85 @@ -496,6 +482,15 @@ servers: address: 130.89.149.227 parents: kassia hostgroups: secondary-IPs + klecker: + address: 130.89.148.10 + parents: gw-utwente + hostgroups: computers, service, apache2-hosts, ftpd-hosts, rsyncd-hosts, dl380, acpid-hosts, xinetd-hosts, squeeze, incomingmailrelayed, hassrvfs + klecker-ftp: + address: 130.89.148.12 + parents: klecker + hostgroups: secondary-IPs + ancina: address: 157.193.39.13 @@ -531,7 +526,7 @@ servers: wolkenstein: address: 206.12.19.116 parents: dijkstra - hostgroups: computers, hasbootfs, hassrvfs, kvmdomains, service, xinetd-hosts, rsyncd-hosts, apache2-hosts, lenny + hostgroups: computers, hasbootfs, hassrvfs, kvmdomains, service, xinetd-hosts, rsyncd-hosts, apache2-hosts, squeeze brahms: address: 206.12.19.115 parents: dijkstra @@ -571,7 +566,7 @@ servers: vivaldi: address: 206.12.19.12 parents: tchaikovsky - hostgroups: computers, hasbootfs, aacraid, hassrvfs, apache2-hosts, postgres84-hosts, service, apache-https, lenny, autofs + hostgroups: computers, hasbootfs, aacraid, hassrvfs, apache2-hosts, postgres84-hosts, service, apache-https, squeeze, autofs # MSA 2000 (2012i) giustini: address: 192.168.2.6 @@ -616,10 +611,10 @@ servers: address: 206.12.19.119 parents: tchaikovsky hostgroups: computers, service, hasbootfs, kvmdomains, squeeze - locke: - address: 206.12.19.120 - parents: tchaikovsky - hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hasvicepa +# locke: +# address: 206.12.19.120 +# parents: tchaikovsky +# hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hasvicepa lotti: address: 206.12.19.121 parents: tchaikovsky @@ -644,6 +639,30 @@ 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, apache-https + gombert: + address: 206.12.19.132 + parents: traetta + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hassrvfs + jenkins: + address: 206.12.19.133 + parents: salieri + hostgroups: computers, service, hasbootfs, kvmdomains, squeeze lebrun: address: 193.198.184.10 @@ -761,7 +780,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,38 +788,70 @@ servers: englund: address: 86.59.118.148 parents: gw-sil - hostgroups: computers, acpid-hosts, service, apache2-hosts, squeeze, hassrvfs + 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? + eder: + address: 86.59.118.151 + parents: gw-sil + hostgroups: computers, porterbox, squeeze, hassrvfs + eysler: + address: 86.59.118.152 + parents: gw-sil + hostgroups: computers, buildd, squeeze abel: address: 217.140.96.56 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, porterbox, lenny + hostgroups: computers, hasbootfs, hassrvfs, porterbox, squeeze arnold: address: 217.140.96.57 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, buildd, lenny + hostgroups: computers, hasbootfs, hassrvfs, buildd, squeeze 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 - hostgroups: computers, hasbootfs, hassrvfs, buildd, lenny + hostgroups: computers, hasbootfs, hassrvfs, buildd, squeeze antheil: address: 217.140.96.60 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, buildd, lenny + hostgroups: computers, hasbootfs, hassrvfs, buildd, squeeze arne: address: 217.140.96.61 parents: gw-arm hostgroups: computers, hasbootfs, hassrvfs, squeeze + harris: + address: 217.140.96.66 + parents: gw-arm + hostgroups: computers, hasbootfs, hassrvfs, wheezy, porterbox + hartmann: + address: 217.140.96.67 + parents: gw-arm + hostgroups: computers, hasbootfs, hassrvfs, wheezy, buildd + hasse: + address: 217.140.96.68 + parents: gw-arm + hostgroups: computers, hasbootfs, hassrvfs, wheezy, buildd + hebden: + address: 217.140.96.69 + parents: gw-arm + hostgroups: computers, hasbootfs, hassrvfs, wheezy, buildd + henze: + address: 217.140.96.70 + parents: gw-arm + hostgroups: computers, hasbootfs, hassrvfs, wheezy, buildd + hoiby: + address: 217.140.96.71 + parents: gw-arm + hostgroups: computers, hasbootfs, hassrvfs, wheezy poulenc: address: 144.32.168.77 @@ -885,6 +936,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 @@ -894,6 +948,8 @@ hostgroups: squeeze: alias: Hosts running squeeze + wheezy: + alias: Hosts running wheezy lenny: alias: Hosts running lenny @@ -1012,9 +1068,9 @@ hostgroups: hasusrfs: alias: hosts with a /usr filesystem private: 1 - hasvicepa: - alias: hosts with a /vicepa - private: 1 +# hasvicepa: +# alias: hosts with a /vicepa +# private: 1 incomingmailrelayed: alias: incoming mail needs to go through a mail relay @@ -1029,6 +1085,10 @@ hostgroups: alias: "hosts who's ntp offset is often unknown" private: 1 + brokensamhain: + alias: machines that can not run samhain + private: 1 + ############################# # servicegroups ############################# @@ -1086,12 +1146,12 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /" hostgroups: computers - excludehosts: klecker, kassia, spohr, liszt + excludehosts: kassia, spohr, liszt - name: disk usage on / servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 90 93 /" - hosts: klecker, kassia, spohr, liszt + hosts: kassia, spohr, liszt - name: disk usage on /boot servicegroups: diskspace @@ -1107,11 +1167,6 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org" hostgroups: hasorgfs -# - -# name: disk usage on /org -# servicegroups: diskspace -# nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /org" -# hosts: merkel - name: disk usage on /srv servicegroups: diskspace @@ -1123,11 +1178,6 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /srv" hosts: ries -# - -# name: disk usage on /org/scratch -# servicegroups: diskspace -# nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /org/scratch" -# hosts: merkel - name: disk usage on /tmp servicegroups: diskspace @@ -1143,11 +1193,6 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /home" hostgroups: hashomefs - - - name: disk usage on /mnt/hdc - servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /mnt/hdc" - hosts: voltaire - name: disk usage on /x servicegroups: diskspace @@ -1206,25 +1251,35 @@ 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-ab" + hosts: sibelius + - + name: disk usage on /srv/farm-snapshot/farm-cd + servicegroups: diskspace + 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-abf" + nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/farm-snapshot/farm-f" hosts: sibelius - - name: disk usage on /srv/farm-snapshot/farm-cde + name: disk usage on /srv/farm-snapshot/farm-e 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-e" hosts: sibelius - name: disk usage on /srv/fossology.debian.net servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /srv/fossology.debian.net" hosts: vivaldi - - - name: disk usage on /vicepa - servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /vicepa" - hostgroups: hasvicepa +# - +# name: disk usage on /vicepa +# servicegroups: diskspace +# nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /vicepa" +# hostgroups: hasvicepa - name: disk usage on /var/lib/postgresql/9.0/dak servicegroups: diskspace @@ -1248,6 +1303,7 @@ services: servicegroups: apt nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/apt" hostgroups: computers + excludehostsgroups: wheezy normal_check_interval: 60 retry_check_interval: 15 #### @@ -1276,27 +1332,27 @@ services: retry_check_interval: 5 #### - - name: afs - space - hostgroups: bosserver - nrpe: "/usr/lib/nagios/plugins/dsa-check-afs-space -H localhost" - normal_check_interval: 60 - max_check_attempts: 2 - retry_check_interval: 5 - - - name: afs - bos - hostgroups: bosserver - nrpe: "/usr/lib/nagios/plugins/dsa-check-afs-bos -H localhost" - normal_check_interval: 60 - max_check_attempts: 2 - retry_check_interval: 5 - - - name: afs - waiting connections - hostgroups: bosserver - nrpe: "/usr/lib/nagios/plugins/dsa-check-afs-rxdebug -H localhost" - normal_check_interval: 60 - max_check_attempts: 2 - retry_check_interval: 5 - +# - name: afs - space +# hostgroups: bosserver +# nrpe: "/usr/lib/nagios/plugins/dsa-check-afs-space -H localhost" +# normal_check_interval: 60 +# max_check_attempts: 2 +# retry_check_interval: 5 +# +# - name: afs - bos +# hostgroups: bosserver +# nrpe: "/usr/lib/nagios/plugins/dsa-check-afs-bos -H localhost" +# normal_check_interval: 60 +# max_check_attempts: 2 +# retry_check_interval: 5 +# +# - name: afs - waiting connections +# hostgroups: bosserver +# nrpe: "/usr/lib/nagios/plugins/dsa-check-afs-rxdebug -H localhost" +# normal_check_interval: 60 +# max_check_attempts: 2 +# retry_check_interval: 5 +# #- name: afs - udebug # hostgroups: bosserver # nrpe: "/usr/lib/nagios/plugins/dsa-check-afs-udebug -H localhost" @@ -1309,6 +1365,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 +1373,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 +1395,7 @@ services: depends: process - samhain normal_check_interval: 60 retry_check_interval: 5 + excludehostgroups: brokensamhain #### - @@ -1411,6 +1472,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 +1493,21 @@ 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, harris, hartmann, hasse, henze, hebden, hoiby - 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 + - + name: process - munin-node + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1: -u root -C munin -a '/usr/sbin/munin-node'" + hosts: harris, hartmann, hasse, henze, hebden, hoiby - name: network service - munin-node check: check_tcp!4949 hostgroups: computers depends: process - munin-node + excludehosts: vasks, wagner ### - name: process - ntpd @@ -1476,6 +1544,7 @@ 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 @@ -1487,6 +1556,7 @@ services: remotecheck: "/usr/lib/nagios/plugins/dsa-check-log-age-loghost $HOSTNAME$" runfrom: heininen hostgroups: computers + excludehosts: vasks, wagner ### MAIL STUFF ### - @@ -1518,34 +1588,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 +1628,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 +1646,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 +1810,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'" - hostgroups: unbound-hosts, squeeze + excludehosts: vasks, wagner + hostgroups: unbound-hosts, squeeze, wheezy ### - 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 +1871,7 @@ services: name: unwanted process - inetd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C inetd" hostgroups: computers - excludehosts: grieg, byrd, abel, alwyn + excludehosts: grieg, byrd, abel, alwyn, vasks - name: unwanted process - snmpd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd" @@ -1827,12 +1907,7 @@ 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 - - - 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: vasks, wagner - name: RAID - arrayprobe servicegroups: raid @@ -1922,6 +1997,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 @@ -1939,10 +2020,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 ### - @@ -1965,16 +2048,16 @@ services: hostgroups: computers excludehostgroups: acpid-hosts, kvmdomains ### - - - name: process - bosserver - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C bosserver -a '/usr/sbin/bosserver'" - hostgroups: bosserver - +# - +# name: process - bosserver +# nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C bosserver -a '/usr/sbin/bosserver'" +# hostgroups: bosserver +# ### - 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 @@ -1992,17 +2075,22 @@ services: hosts: draghi depends: process - xinetd ### -# - -# name: network service - rsync -# check: check_tcp!873 -# hostgroups: rsyncd-hosts -# depends: process - xinetd -# + - + name: network service - rsync + check: check_tcp!873 + hostgroups: rsyncd-hosts + depends: process - xinetd + excludehosts: merikanto, rietz - name: network service - rsync check: check_tcp!873 hosts: rietz2 depends: rietz:process - xinetd + - + name: network service - rsync + check: check_tcp!873 + hosts: merikanto2 + depends: merikanto:process - xinetd #- # name: network service - rsync # check: check_tcp!873 @@ -2041,7 +2129,7 @@ services: name: network service - http check: check_http hostgroups: apache2-hosts - excludehosts: kassia + excludehosts: kassia, klecker depends: process - apache2 - master - name: network service - http @@ -2049,6 +2137,11 @@ services: depends: kassia:process - apache2 - master #hosts: kassia-sec, kassia-ftp, kassia-volatile hosts: kassia-ftp, kassia-volatile + - + name: network service - http + check: check_http + depends: klecker:process - apache2 - master + hosts: klecker-ftp # keyserver on kaufmann - @@ -2100,17 +2193,17 @@ services: name: process - vsftp - listener nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C vsftpd -a 'vsftpd: LISTENER'" hostgroups: ftpd-hosts, uploadqueue - excludehosts: kassia + excludehosts: kassia, klecker - name: process - vsftp - instance nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:80 -c 0:100 -u ftp -C vsftpd -a 'vsftpd: '" hostgroups: ftpd-hosts, uploadqueue - excludehosts: kassia + excludehosts: kassia, klecker - name: network service - ftp check: check_ftp hostgroups: ftpd-hosts, uploadqueue - excludehosts: kassia + excludehosts: kassia, klecker depends: process - vsftp - listener - name: network service - ftp @@ -2118,6 +2211,12 @@ services: #hosts: kassia-sec, kassia-ftp hosts: kassia-ftp depends: kassia:process - xinetd + - + name: network service - ftp + check: check_ftp + #hosts: kassia-sec, kassia-ftp + hosts: klecker-ftp + depends: klecker:process - xinetd #### - @@ -2209,7 +2308,7 @@ services: - name: process - stunnel4 - puppet-ekeyd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:6 -c 1: -u stunnel4 -C stunnel4 -a '/usr/bin/stunnel4 /etc/stunnel/puppet-ekeyd.conf'" - hostgroups: squeeze + hostgroups: squeeze, wheezy excludehosts: fano, fasch, field, finzi #### - @@ -2251,6 +2350,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 #### #- @@ -2278,15 +2381,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 ### #- @@ -2328,10 +2430,6 @@ services: hostgroups: nfs-server # see if the nfs stuff works and doesn't hang. # the df check all script will also hang, but we don't appear to pay attention to that -# - -# name: nfs mount ftp archive -# nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /org/mirrors/ftp.debian.org/ftp" -# hosts: merkel - name: nfs mount ftp archive nrpe: "/usr/lib/nagios/plugins/check_disk 100 100 /srv/ftp.debian.org/ftp" @@ -2412,10 +2510,6 @@ services: name: DNS SOA sync - a.5.1.1.8.0.0.8.d.8.0.1.0.0.2.ip6.arpa check: "dsa_check_soas!a.5.1.1.8.0.0.8.d.8.0.1.0.0.2.ip6.arpa" hosts: global - - - name: DNS SOA sync - 2.1.0.0.0.0.0.2.8.8.8.0.1.0.0.2.ip6.arpa - check: "dsa_check_soas!2.1.0.0.0.0.0.2.8.8.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"