X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=268ee7cc71df5d4c378907a09b6a600248126cc9;hb=fe41bb2535fc41013e18684e3074d90654c559e0;hp=79924815f4edd446f2f5636778afa65a2e571553;hpb=ab29f4c590d31d006415154cbd4f37bfcef76317;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 7992481..268ee7c 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -77,7 +77,7 @@ servers: parents: gw-ubc hostgroups: routing-infrastructure gw-sanger: - address: 193.62.202.18 + address: 193.62.202.20 parents: gw-ubc hostgroups: routing-infrastructure contacts: tjrc1 @@ -173,7 +173,8 @@ servers: parents: gw-ubc hostgroups: routing-infrastructure gw-ynic: - address: 144.32.168.65 + # really janet, because ynic is stupid about firewalling + address: 146.97.42.26 parents: gw-ubc hostgroups: routing-infrastructure @@ -257,7 +258,7 @@ servers: heininen: address: 82.195.75.98 parents: gw-man-da - hostgroups: computers, acpid-hosts + hostgroups: computers, acpid-hosts, service unger: address: 82.195.75.102 parents: gw-man-da @@ -300,7 +301,7 @@ servers: ries: address: 128.148.34.103 parents: gw-brown.edu - hostgroups: computers, service, apache2-hosts, bind9-hosts, dl385, rsyncd-hosts, postgres83-hosts, spamd, heavy-exim, acpid-hosts, xinetd-hosts + hostgroups: computers, service, bind9-hosts, dl385, rsyncd-hosts, postgres83-hosts, acpid-hosts, xinetd-hosts franck: address: 128.148.34.3 @@ -311,10 +312,10 @@ servers: address: 140.211.166.78 parents: gw-osuosl hostgroups: computers, buildd, hasbootfs - mayr: - address: 140.211.166.58 - parents: gw-osuosl - hostgroups: computers, buildd, hasbootfs +# mayr: +# address: 140.211.166.58 +# parents: gw-osuosl +# hostgroups: computers, buildd, hasbootfs rietz: address: 140.211.166.43 parents: gw-osuosl @@ -385,7 +386,7 @@ servers: widor: address: 93.94.130.161 parents: gw-dg-i.net - hostgroups: computers, apache2-hosts, sw-raid, acpid-hosts, hasorgfs + hostgroups: computers, apache2-hosts, sw-raid, acpid-hosts, hasorgfs, service contacts: bzed pergolesi: @@ -408,7 +409,7 @@ servers: sibelius: address: 193.62.202.28 parents: gw-sanger - hostgroups: computers, acpid-hosts, megaraid, postgres84-hosts + hostgroups: computers, acpid-hosts, megaraid, postgres84-hosts, service contacts: tjrc1 smetana: address: 193.62.202.29 @@ -431,7 +432,7 @@ servers: schumann: address: 212.227.126.54 parents: gw-1und1-karlsruhe - hostgroups: computers, acpid-hosts + hostgroups: computers, acpid-hosts, service wieck: address: 195.20.242.89 parents: gw-1und1-karlsruhe @@ -485,7 +486,7 @@ servers: agnesi: address: 67.233.102.241 parents: gw-agnesi - hostgroups: deadslow + hostgroups: deadslow, porterbox spontini: address: 206.12.19.14 @@ -499,14 +500,13 @@ servers: dijkstra: address: 206.12.19.218 parents: tchaikovsky - hostgroups: computers, bl460, acpid-hosts + hostgroups: computers, bl460, acpid-hosts, service luchesi: address: 206.12.19.214 parents: tchaikovsky - hostgroups: computers, bl460, acpid-hosts + hostgroups: computers, bl460, acpid-hosts, service tchaikovsky: address: 206.12.19.118 - address6: 2607:f8f0:610:4000:216:36ff:fe40:3809 hostgroups: computers, general, apache2-hosts, hasbootfs, kvmdomains wolkenstein: address: 206.12.19.116 @@ -523,39 +523,39 @@ servers: duarte: address: 206.12.19.114 parents: dijkstra - hostgroups: computers, hasbootfs, hassrvfs, apache2-hosts, kvmdomains + hostgroups: computers, hasbootfs, hassrvfs, apache2-hosts, kvmdomains, service valente: address: 206.12.19.112 parents: dijkstra - hostgroups: computers, hasbootfs, hassrvfs, postgres83-hosts, ftpd-hosts, rsyncd-hosts, kvmdomains, heavy-exim, xinetd-hosts + hostgroups: computers, hasbootfs, hassrvfs, postgres83-hosts, ftpd-hosts, rsyncd-hosts, kvmdomains, heavy-exim, xinetd-hosts, service bellini: address: 206.12.19.7 parents: gw-ubc - hostgroups: computers, hasbootfs, nfs-client, hassrvfs, aacraid, heavy-exim + hostgroups: computers, hasbootfs, nfs-client, hassrvfs, aacraid, heavy-exim, service morricone: address: 206.12.19.9 parents: tchaikovsky - hostgroups: computers, hasbootfs, hassrvfs, aacraid, postgres84-hosts, ftpd-hosts, rsyncd-hosts, heavy-exim, xinetd-hosts, apache2-hosts + hostgroups: computers, hasbootfs, hassrvfs, aacraid, postgres84-hosts, ftpd-hosts, rsyncd-hosts, heavy-exim, xinetd-hosts, apache2-hosts, service stabile: address: 206.12.19.13 parents: gw-ubc - hostgroups: computers, hashomefs, sw-raid, rsyncd-hosts, postgres84-hosts, apache2-hosts, xinetd-hosts + hostgroups: computers, hashomefs, sw-raid, rsyncd-hosts, postgres84-hosts, apache2-hosts, xinetd-hosts, service cimarosa: address: 206.12.19.8 parents: gw-ubc - hostgroups: computers, hasbootfs, aacraid, hassrvfs, nfs-client, apache2-hosts + hostgroups: computers, hasbootfs, aacraid, hassrvfs, nfs-client, apache2-hosts, service paganini: address: 206.12.19.10 parents: tchaikovsky - hostgroups: computers, hasbootfs, aacraid, hassrvfs, xinetd-hosts, nfs-client + hostgroups: computers, hasbootfs, aacraid, hassrvfs, xinetd-hosts, nfs-client, service respighi: address: 206.12.19.11 parents: gw-ubc - hostgroups: computers, hasbootfs, aacraid, hassrvfs + hostgroups: computers, hasbootfs, aacraid, hassrvfs, service vivaldi: address: 206.12.19.12 parents: tchaikovsky - hostgroups: computers, hasbootfs, aacraid, hassrvfs, apache2-hosts, postgres84-hosts + hostgroups: computers, hasbootfs, aacraid, hassrvfs, apache2-hosts, postgres84-hosts, service # MSA 2000 (2012i) giustini: address: 192.168.2.6 @@ -567,11 +567,11 @@ servers: fano: address: 206.12.19.110 parents: luchesi - hostgroups: computers, freebsd, squeeze + hostgroups: computers, freebsd, squeeze, buildd finzi: address: 206.12.19.111 parents: luchesi - hostgroups: computers, freebsd, squeeze + hostgroups: computers, freebsd, squeeze, buildd gabrielli: address: 206.12.19.17 parents: tchaikovsky @@ -587,15 +587,15 @@ servers: rossini: address: 206.12.19.19 parents: tchaikovsky - hostgroups: computers, dl585, acpid-hosts + hostgroups: computers, dl585, acpid-hosts, service salieri: address: 206.12.19.20 parents: tchaikovsky - hostgroups: computers, dl585, acpid-hosts + hostgroups: computers, dl585, acpid-hosts, service traetta: address: 206.12.19.21 parents: tchaikovsky - hostgroups: computers, dl585, acpid-hosts + hostgroups: computers, dl585, acpid-hosts, service lebrun: address: 193.198.184.10 @@ -609,12 +609,12 @@ servers: tartini: address: 82.94.249.158 parents: gw-telegraaf - hostgroups: computers, sw-raid, apache2-hosts, mysql-hosts, hasbootfs, hassrvfs, hasvarfs, hasusrfs + hostgroups: computers, sw-raid, apache2-hosts, mysql-hosts, hasbootfs, hassrvfs, hasvarfs, hasusrfs, service piatti: address: 193.167.161.225 parents: gw-helsinki - hostgroups: computers, dl385, acpid-hosts, apache2-hosts, hasbootfs, incomingmailrelayed2025, hasorgfs + hostgroups: computers, dl385, acpid-hosts, apache2-hosts, hasbootfs, incomingmailrelayed2025, hasorgfs, service contacts: holger rem: @@ -634,7 +634,7 @@ servers: goedel: address: 213.188.99.214 parents: gw-cst - hostgroups: computers, hasbootfs, ntpsuckers + hostgroups: computers, hasbootfs, ntpsuckers, buildd schein: address: 149.20.20.6 @@ -648,7 +648,7 @@ servers: pettersson: address: 130.239.18.123 parents: gw-aca - hostgroups: computers, hasbootfs, aacraid, nfs-client, acpid-hosts + hostgroups: computers, hasbootfs, aacraid, nfs-client, acpid-hosts, service lafayette: address: 147.215.7.160 @@ -658,20 +658,20 @@ servers: grieg: address: 194.177.211.200 parents: gw-grnet - hostgroups: computers, apache2-hosts, acpid-hosts, megaraid, heavy-exim, postgres84-hosts + hostgroups: computers, apache2-hosts, acpid-hosts, megaraid, heavy-exim, postgres84-hosts, service rautavaara: address: 194.177.211.199 parents: gw-grnet - hostgroups: computers, acpid-hosts, megaraid + hostgroups: computers, acpid-hosts, megaraid, service fasch: address: 194.177.211.201 parents: rautavaara - hostgroups: computers, freebsd, squeeze + hostgroups: computers, freebsd, squeeze, buildd #, mptraid holter: address: 194.177.211.202 parents: gw-grnet - hostgroups: computers, acpid-hosts, hassrvfs, apache2-hosts, mptraid + hostgroups: computers, acpid-hosts, hassrvfs, apache2-hosts, mptraid, service barber: address: 194.177.211.203 parents: gw-grnet @@ -683,7 +683,7 @@ servers: cilea: address: 194.177.211.205 parents: gw-grnet - hostgroups: computers, acpid-hosts, mptraid, hassrvfs + hostgroups: computers, acpid-hosts, mptraid, hassrvfs, service vitry: address: 194.177.211.206 parents: gw-grnet @@ -695,25 +695,25 @@ servers: scelsi: address: 194.177.211.208 parents: gw-grnet - hostgroups: computers, acpid-hosts, mptraid + hostgroups: computers, acpid-hosts, mptraid, service orff: address: 194.177.211.209 parents: gw-grnet - hostgroups: computers, acpid-hosts, bind9-hosts, mptraid + hostgroups: computers, acpid-hosts, bind9-hosts, mptraid, service field: address: 194.177.211.210 parents: rautavaara - hostgroups: computers, freebsd, squeeze + hostgroups: computers, freebsd, squeeze, buildd #, mptraid beethoven: address: 86.59.118.146 parents: gw-sil - hostgroups: computers, hasbootfs, aacraid, nfs-server + hostgroups: computers, hasbootfs, aacraid, nfs-server, service merikanto: address: 86.59.118.147 parents: gw-sil - hostgroups: computers, dl360, acpid-hosts, spamd, heavy-exim, nfs-client, rsyncd-hosts, xinetd-hosts + hostgroups: computers, dl360, acpid-hosts, spamd, heavy-exim, nfs-client, rsyncd-hosts, xinetd-hosts, service merikanto2: address: 86.59.118.150 parents: merikanto @@ -721,12 +721,12 @@ servers: englund: address: 86.59.118.148 parents: gw-sil - hostgroups: computers, acpid-hosts + hostgroups: computers, acpid-hosts, service # which raid? lindberg: address: 86.59.118.149 parents: gw-sil - hostgroups: computers, acpid-hosts + hostgroups: computers, acpid-hosts, service # which raid? abel: @@ -838,9 +838,6 @@ hostgroups: alias: Hosts with LSI Logic Fusion-MPT private: 1 - etch: - alias: Hosts running etch - private: 1 squeeze: alias: Hosts running squeeze private: 1 @@ -1014,12 +1011,12 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 80 90 /" hostgroups: computers - excludehosts: ries, klecker, kassia, spohr + excludehosts: klecker, kassia, spohr - name: disk usage on / servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 90 93 /" - hosts: ries, klecker, kassia, spohr + hosts: klecker, kassia, spohr - name: disk usage on /boot servicegroups: diskspace @@ -1706,6 +1703,12 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli" normal_check_interval: 120 hostgroups: dl385, dl380, dl360, bl460 + - + name: HW - hpacucli enclosure status + servicegroups: raid + nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli-enclosure 1 1E:1" + normal_check_interval: 120 + hosts: franck - name: HW - hpacucli status servicegroups: raid @@ -1888,7 +1891,7 @@ services: - name: network service - https check: check_https - hosts: ries, franck, chopin, draghi, liszt, spohr, widor, tchaikovsky, grieg, vivaldi + hosts: franck, chopin, draghi, liszt, spohr, widor, tchaikovsky, grieg, vivaldi depends: "process - apache2 - master" normal_check_interval: 120 - @@ -1903,7 +1906,7 @@ services: # liszt lists.debian.org # grieg buildd.debian.org # vivaldi fossology.debian.org - hosts: ries, franck, chopin, spohr, tchaikovsky, draghi, merkel2, liszt, widor, grieg, vivaldi + hosts: franck, chopin, spohr, tchaikovsky, draghi, merkel2, liszt, widor, grieg, vivaldi depends: network service - https normal_check_interval: 60 @@ -2035,6 +2038,29 @@ services: name: udd stunnel - master cert nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 8080 -S -C 14 -t 45" hosts: samosa + ### + - + name: process - UPS - nut usbhid-ups - ups1 + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u nut -C usbhid-ups -a '/lib/nut/usbhid-ups -a ups1'" + hosts: franck + - + name: process - UPS - nut upsd + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u nut -C upsd -a '/sbin/upsd'" + hosts: franck + - + name: process - UPS - nut upsmon master + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C upsmon -a '/sbin/upsmon'" + hosts: franck + - + name: process - UPS - nut upsmon worker + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u nut -C upsmon -a '/sbin/upsmon'" + hosts: franck + depends: process - UPS - nut upsmon master + - + name: UPS - on line power + nrpe: "/usr/lib/nagios/plugins/dsa-check-ups" + hosts: franck + depends: process - UPS - nut upsd #### #- @@ -2057,11 +2083,19 @@ services: hosts: unger ### + - + 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 + contacts: luk, pkern, HE + - 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 ###