X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=67305b24f6d29effa4dd934a9ea713885e2509df;hb=17af004cb385796db60669ca2eef5e6f31415007;hp=74e835d413dd17c8a5a91e343265d31b4ba406f5;hpb=7cd1a0ab18444bc05f872c1d8779c86fc3923cb4;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 74e835d..67305b2 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 @@ -168,6 +168,15 @@ servers: address: 86.59.118.145 parents: gw-ubc hostgroups: routing-infrastructure + gw-arm: + address: 82.44.141.46 + parents: gw-ubc + hostgroups: routing-infrastructure + gw-ynic: + # really janet, because ynic is stupid about firewalling + address: 146.97.42.26 + parents: gw-ubc + hostgroups: routing-infrastructure global: hostgroups: notacomputer @@ -249,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 @@ -274,10 +283,10 @@ servers: address: 82.195.75.70 parents: gw-man-da hostgroups: computers, buildd, no-udev, hasbootfs, ntpsuckers - purcell: - address: 82.195.75.69 + kokkonen: + address: 82.195.75.97 parents: gw-man-da - hostgroups: computers, buildd + hostgroups: computers, service, acpid-hosts, postgres84-hosts master: address: 70.103.162.29 @@ -303,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 @@ -377,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: @@ -400,7 +409,7 @@ servers: sibelius: address: 193.62.202.28 parents: gw-sanger - hostgroups: computers, acpid-hosts, megaraid + hostgroups: computers, acpid-hosts, megaraid, postgres84-hosts, service contacts: tjrc1 smetana: address: 193.62.202.29 @@ -423,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 @@ -477,7 +486,7 @@ servers: agnesi: address: 67.233.102.241 parents: gw-agnesi - hostgroups: deadslow + hostgroups: deadslow, porterbox spontini: address: 206.12.19.14 @@ -491,11 +500,11 @@ 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 hostgroups: computers, general, apache2-hosts, hasbootfs, kvmdomains @@ -514,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 @@ -558,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 @@ -575,6 +584,18 @@ servers: address: 206.12.19.15 parents: tchaikovsky hostgroups: computers, buildd + rossini: + address: 206.12.19.19 + parents: tchaikovsky + hostgroups: computers, dl585, acpid-hosts, service + salieri: + address: 206.12.19.20 + parents: tchaikovsky + hostgroups: computers, dl585, acpid-hosts, service + traetta: + address: 206.12.19.21 + parents: tchaikovsky + hostgroups: computers, dl585, acpid-hosts, service lebrun: address: 193.198.184.10 @@ -588,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: @@ -613,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 @@ -627,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 @@ -637,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 @@ -662,37 +683,37 @@ 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 - hostgroups: computers, acpid-hosts, mptraid + hostgroups: computers, acpid-hosts, mptraid, buildd krenek: address: 194.177.211.207 parents: gw-grnet - hostgroups: computers, acpid-hosts, mptraid + hostgroups: computers, acpid-hosts, mptraid, buildd 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 @@ -700,14 +721,47 @@ 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: + address: 217.140.96.56 + parents: gw-arm + hostgroups: computers, hasbootfs, hassrvfs, porterbox + arnold: + address: 217.140.96.57 + parents: gw-arm + hostgroups: computers, hasbootfs, hassrvfs, buildd + alain: + address: 217.140.96.58 + parents: gw-arm + hostgroups: computers, hasbootfs, hassrvfs, buildd + alwyn: + address: 217.140.96.59 + parents: gw-arm + hostgroups: computers, hasbootfs, hassrvfs, buildd + antheil: + address: 217.140.96.60 + parents: gw-arm + hostgroups: computers, hasbootfs, hassrvfs, buildd + arne: + address: 217.140.96.61 + parents: gw-arm + hostgroups: computers, hasbootfs, hassrvfs + + poulenc: + address: 144.32.168.77 + parents: gw-ynic + hostgroups: computers, buildd, sw-raid, hassrvfs + porpora: + address: 144.32.168.78 + parents: gw-ynic + hostgroups: computers, buildd, sw-raid, hassrvfs ############################# # host groups @@ -768,6 +822,9 @@ hostgroups: bl460: alias: HP BL460 blades private: 1 + dl585: + alias: HP DL385 hosts + private: 1 sw-raid: alias: Hosts with Linux software raid private: 1 @@ -781,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 @@ -1138,6 +1192,11 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-file -w -f /etc/ferm/ferm.conf" hostgroups: computers excludehostgroups: freebsd + - + name: puppetized firewall + nrpe: "/usr/lib/nagios/plugins/dsa-check-file -w -f /etc/ferm/conf.d/defs.conf" + hostgroups: computers + excludehostgroups: freebsd #### - @@ -1626,12 +1685,12 @@ services: 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 + hostgroups: dl385, dl380, dl360, bl460, dl585 - name: RAID - arrayprobe servicegroups: raid nrpe: "sudo /usr/bin/arrayprobe" - hostgroups: dl385, dl380, dl360, bl460 + hostgroups: dl385, dl380, dl360, bl460, dl585 excludehosts: franck - name: RAID - arrayprobe @@ -1644,12 +1703,18 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli" normal_check_interval: 120 hostgroups: dl385, dl380, dl360, bl460 + - + name: HW - hpacucli status + servicegroups: raid + 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 - hpasmcli status nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm" normal_check_interval: 120 - hostgroups: dl385, dl380, dl360, bl460 + hostgroups: dl385, dl380, dl360, bl460, dl585 excludehosts: villa, lobos, liszt, senfl, schein, rore - name: HW - hpasmcli status @@ -1920,9 +1985,8 @@ services: #### - name: process - postresql84 - 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'" + 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 - excludehosts: franck - name: process - postresql83 - 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/main -c config_file=/etc/postgresql/8.3/main/postgresql.conf'" @@ -1968,6 +2032,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 #### #-