X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=cf34271f902cd30ec027348b4058bf6ccfb35177;hb=44644ad5247016305360ecd5e53944a0c6830f96;hp=aac91dc8856e9906cf8c5b38607c9fcb08d0359b;hpb=df740e5ed13aca9707569b57a9ae6652e4889c19;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index aac91dc..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: @@ -137,10 +133,6 @@ servers: 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 @@ -229,7 +221,7 @@ servers: mundy: address: 192.25.206.62 parents: gw-HP-ftc - hostgroups: computers, buildd, hassrvfs, sw-raid, acpid-hosts, squeeze, brokensamhain + hostgroups: computers, buildd, hassrvfs, sw-raid, acpid-hosts, squeeze paer: address: 192.25.206.11 parents: gw-HP-ftc @@ -237,11 +229,11 @@ 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 - hostgroups: computers, buildd, acpid-hosts, squeeze, brokensamhain + hostgroups: computers, buildd, acpid-hosts, squeeze sperger: address: 82.195.75.34 @@ -251,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 @@ -307,10 +299,10 @@ 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 @@ -325,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 @@ -343,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, apache2-hosts + hostgroups: computers, service, rsyncd-hosts, dl385, hassrvfs, acpid-hosts, xinetd-hosts, squeeze, apache2-hosts #, bosserver rietz2: address: 140.211.166.44 @@ -392,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 @@ -405,7 +392,7 @@ 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: @@ -472,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 @@ -495,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 @@ -530,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 @@ -570,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 @@ -615,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 @@ -658,11 +654,15 @@ servers: berlioz: address: 206.12.19.131 parents: traetta - hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, apache2-hosts, hassrvfs + 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 @@ -696,7 +696,7 @@ servers: zandonai: address: 80.245.147.46 parents: gw-zivit - hostgroups: computers, buildd, hassrvfs, squeeze, brokensamhain + hostgroups: computers, buildd, hassrvfs, squeeze goedel: address: 213.188.99.214 @@ -795,15 +795,23 @@ servers: parents: gw-sil 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 @@ -815,11 +823,35 @@ servers: 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 @@ -916,6 +948,8 @@ hostgroups: squeeze: alias: Hosts running squeeze + wheezy: + alias: Hosts running wheezy lenny: alias: Hosts running lenny @@ -1034,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 @@ -1112,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 @@ -1241,11 +1275,11 @@ services: 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 @@ -1269,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 #### @@ -1297,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" @@ -1458,12 +1493,15 @@ 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 + 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 - excludehosts: vasks, wagner + - + 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 @@ -1512,7 +1550,6 @@ services: name: process - syslog-ng nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 2: -u root -C syslog-ng -a '/sbin/syslog-ng -p /var/run/syslog-ng.pid'" hostgroups: freebsd - excludehosts: vasks, wagner - name: remote logging @@ -1793,7 +1830,7 @@ services: name: process - unbound nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u unbound -C unbound -a '/usr/sbin/unbound'" excludehosts: vasks, wagner - hostgroups: unbound-hosts, squeeze + hostgroups: unbound-hosts, squeeze, wheezy ### - name: process - uptimed @@ -1871,13 +1908,6 @@ services: 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 excludehosts: vasks, wagner - - - 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: wagner - name: RAID - arrayprobe servicegroups: raid @@ -2018,11 +2048,11 @@ 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 @@ -2045,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 @@ -2094,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 @@ -2102,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 - @@ -2153,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 @@ -2171,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 #### - @@ -2262,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 #### - @@ -2464,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"