X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=aa8133ef016e0e5e2ab7b6208924e7c1b1d47f48;hb=7e00e7390d9e30bf9a237fee19eea09b99e772f2;hp=0e59d2d009f0b3468037f705ae4a26325da5caef;hpb=5c1b0554f1305f928dae0fa015db82fbe36bc67d;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 0e59d2d..aa8133e 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -93,10 +93,6 @@ servers: address: 185.17.185.190 parents: gw-ubcece hostgroups: layer3-infrastructure - gw-linaro: - address: 64.28.108.36 - parents: gw-ubcece - hostgroups: layer3-infrastructure gw-manda: address: 82.195.78.118 parents: gw-ubcece @@ -659,7 +655,7 @@ servers: cgi-grnet-01: address: 194.177.211.202 parents: gw-grnet - hostgroups: computers, service, kvmdomains, jessie, hassrvfs, apache2-hosts, apache-https, xinetd-hosts, systemd-timesyncd + hostgroups: computers, service, kvmdomains, stretch, hassrvfs, apache2-hosts, apache-https, xinetd-hosts, systemd-timesyncd x86-grnet-01: address: 194.177.211.203 parents: ganeti-grnet @@ -729,20 +725,6 @@ servers: parents: gw-leaseweb hostgroups: computers, service, jessie, dl180, nfs-client, autofs, hassrvfs, apache2-hosts # }}} - # {{{ gw-linaro - arm-linaro-01: - address: 64.28.108.83 - parents: gw-linaro - hostgroups: computers, hasbootfs, hassrvfs, buildd, stretch, broken_mq - arm-linaro-03: - address: 64.28.108.85 - parents: gw-linaro - hostgroups: computers, hasbootfs, hassrvfs, buildd, stretch, broken_mq - asachi: - address: 64.28.108.84 - parents: gw-linaro - hostgroups: computers, hasbootfs, hassrvfs, porterbox, stretch, broken_mq - # }}} # {{{ gw-karlsruhe zemlinsky: address: 129.143.160.6 @@ -754,11 +736,11 @@ servers: czerny: address: 82.195.75.109 parents: gw-manda - hostgroups: computers, service, dl380, acpid-hosts, stretch, drbd-hosts + hostgroups: computers, service, dl380, acpid-hosts, stretch, drbd-hosts, manyprocesses clementi: address: 82.195.75.103 parents: gw-manda - hostgroups: computers, service, dl380, acpid-hosts, stretch, drbd-hosts + hostgroups: computers, service, dl380, acpid-hosts, stretch, drbd-hosts, manyprocesses bendel: address: 82.195.75.100 parents: ganeti3 @@ -820,7 +802,7 @@ servers: vogler: address: 82.195.75.92 parents: ganeti3 - hostgroups: computers, service, kvmdomains, jessie + hostgroups: computers, service, kvmdomains, stretch wolkenstein: address: 82.195.75.65 parents: ganeti3 @@ -857,11 +839,6 @@ servers: hostgroups: computers, buildd, hassrvfs, stretch, incomingmailrelayed # }}} # {{{ gw-osuosl - busoni: - address: 140.211.166.202 - parents: gw-osuosl - hostgroups: computers, service, dl360, hassrvfs, jessie, hasvarlogfs, apache2-hosts, no-bacula, apache-https - byrd: address: 140.211.166.200 parents: gw-osuosl @@ -896,7 +873,7 @@ servers: sallinen: address: 193.62.202.26 parents: gw-sanger - hostgroups: computers, service, stretch, dl380, nfs-client, autofs + hostgroups: computers, service, stretch, dl380, nfs-client, autofs, postgres96-hosts sibelius: address: 193.62.202.28 parents: gw-sanger @@ -938,66 +915,6 @@ servers: parents: gw-skroutz1, gw-skroutz2 hostgroups: computers, stretch, service, sw-raid, hassrvfs, apache2-hosts # }}} - # {{{ gw-ubcece - sw-ubcece: - hostgroups: layer2-infrastructure - contacts: lfilipoz - pingable: false - check_command: dsa_check_always_ok - sw-ubcece-mcld: - hostgroups: layer2-infrastructure - parents: sw-ubcece - contacts: lfilipoz - pingable: false - check_command: dsa_check_always_ok - sw-ubcece-kais: - hostgroups: layer2-infrastructure - parents: sw-ubcece - contacts: lfilipoz - pingable: false - check_command: dsa_check_always_ok - spontini: - address: 206.12.19.14 - parents: sw-ubcece-mcld - hostgroups: computers, buildd, hasbootfs, hassrvfs, sparc, wheezy - contacts: lfilipoz - ubc-bl7: - address: 206.12.19.217 - parents: sw-ubcece-kais - hostgroups: computers, bl460, acpid-hosts, service, jessie, drbd-hosts, multipath-hosts - ubc-bl6: - address: 206.12.19.216 - parents: sw-ubcece-kais - hostgroups: computers, bl460, acpid-hosts, service, jessie, drbd-hosts, multipath-hosts - ubc-bl2: - address: 206.12.19.212 - parents: sw-ubcece-kais - hostgroups: computers, bl460, acpid-hosts, service, jessie, drbd-hosts, multipath-hosts - ubc-bl3: - address: 206.12.19.213 - parents: sw-ubcece-kais - hostgroups: computers, bl460, acpid-hosts, service, jessie, drbd-hosts, multipath-hosts - ubc-bl4: - address: 206.12.19.214 - parents: sw-ubcece-kais - hostgroups: computers, bl460, acpid-hosts, service, jessie, drbd-hosts, multipath-hosts - ubc-bl8: - address: 206.12.19.218 - parents: sw-ubcece-kais - hostgroups: computers, bl460, acpid-hosts, service, jessie, drbd-hosts, multipath-hosts - # MSA 2000 (2012i) - giustini: - address: 192.168.2.6 - parents: sw-ubcece-kais - hostgroups: notacomputer - # unless we implement runfrom for host alive checks - pingable: false - check_command: dsa_check_always_ok -# locke: -# address: 206.12.19.120 -# parents: sw-ubcece-kais -# hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hasvicepa - # }}} # {{{ ubc-gateway ubc-enc2bl01: address: 209.87.16.1 @@ -1114,7 +1031,7 @@ servers: debussy: address: 209.87.16.46 parents: ubc-gateway - hostgroups: computers, service, kvmdomains, stretch, systemd-timesyncd + hostgroups: computers, service, kvmdomains, stretch, systemd-timesyncd, apache2-hosts, apache-https # }}} # {{{ gw-umn #saens: @@ -1213,10 +1130,6 @@ hostgroups: extinfo-icon_image: base/debian.png extinfo-icon_image_alt: Debian GNU/Linux extinfo-notes_url: https://db.debian.org/machines.cgi?host=%s - layer2-infrastructure: - alias: Layer 2 Devices - extinfo-icon_image: base/switch40.png - extinfo-icon_image_alt: switch layer3-infrastructure: alias: Layer 3 Devices extinfo-icon_image: base/switch40.png @@ -1529,24 +1442,44 @@ services: nrpe: "/usr/lib/nagios/plugins/check_disk 90 94 /srv/snapshot.debian.org" hosts: sibelius - - name: disk usage on /srv/farm-snapshot/farm-1 + name: disk usage on /srv/farm-snapshot/farm-2017-0 + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 97 95 /srv/farm-snapshot/farm-2017-0" + hosts: sibelius + - + name: disk usage on /srv/farm-snapshot/farm-2017-1 + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 97 95 /srv/farm-snapshot/farm-2017-1" + hosts: sibelius + - + name: disk usage on /srv/farm-snapshot/farm-2017-2 + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 97 95 /srv/farm-snapshot/farm-2017-2" + hosts: sibelius + - + name: disk usage on /srv/farm-snapshot/farm-2017-3 servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 97 95 /srv/farm-snapshot/farm-1" + nrpe: "/usr/lib/nagios/plugins/check_disk 97 95 /srv/farm-snapshot/farm-2017-3" hosts: sibelius - - name: disk usage on /srv/farm-snapshot/farm-2 + name: disk usage on /srv/farm-snapshot/farm-2017-4 servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 97 95 /srv/farm-snapshot/farm-2" + nrpe: "/usr/lib/nagios/plugins/check_disk 97 95 /srv/farm-snapshot/farm-2017-4" hosts: sibelius - - name: disk usage on /srv/farm-snapshot/farm-3 + name: disk usage on /srv/farm-snapshot/farm-2017-5 servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 97 95 /srv/farm-snapshot/farm-3" + nrpe: "/usr/lib/nagios/plugins/check_disk 97 95 /srv/farm-snapshot/farm-2017-5" hosts: sibelius - - name: disk usage on /srv/farm-snapshot/farm-4 + name: disk usage on /srv/farm-snapshot/farm-2017-6 servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 97 95 /srv/farm-snapshot/farm-4" + nrpe: "/usr/lib/nagios/plugins/check_disk 97 95 /srv/farm-snapshot/farm-2017-6" + hosts: sibelius + - + name: disk usage on /srv/farm-snapshot/farm-2017-7 + servicegroups: diskspace + nrpe: "/usr/lib/nagios/plugins/check_disk 97 95 /srv/farm-snapshot/farm-2017-7" hosts: sibelius - name: disk usage on /srv/ftp-master.debian.org @@ -1936,9 +1869,7 @@ services: - name: process - irqbalance nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C irqbalance -a '/usr/sbin/irqbalance'" - #hosts: casulana hostgroups: computers - #excludehostgroups: single-cpu, freebsd excludehostgroups: freebsd excludehosts: harris, smetana ### @@ -2044,7 +1975,7 @@ services: nrpe: "sudo /usr/lib/nagios/plugins/dsa-check-stunnel-sanity" hostgroups: computers excludehostgroups: freebsd, alioth - excludehosts: czerny, grnet-node01, storace, ubc-bl2 + excludehosts: czerny, grnet-node01, storace ### - name: process - rngd @@ -2207,12 +2138,6 @@ services: servicegroups: raid nrpe: "/usr/lib/nagios/plugins/dsa-check-drbd -d All" hostgroups: drbd-hosts - excludehosts: ubc-bl2, ubc-bl3, ubc-bl6, ubc-bl7, ubc-bl8 - - - name: RAID - DRBD - servicegroups: raid - nrpe: "/usr/lib/nagios/plugins/dsa-check-drbd -d All --ok-no-devices" - hosts: ubc-bl2, ubc-bl3, ubc-bl6, ubc-bl7, ubc-bl8 # }}} # }}} # {{{ ### mail stuff @@ -2924,25 +2849,6 @@ services: runfrom: denis # }}} # {{{ storage - - - name: ping alive check - remotecheck: "/usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 50,10% -c 200,30%" - runfrom: ubc-bl8 - hosts: giustini - check_interval: 5 - max_check_attempts: 4 - retry_interval: 1 - - - name: Overall Unit Status - remotecheck: "/usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C public -P 2c -o connUnitStatus -n -c 3 -w 3" - runfrom: ubc-bl8 - hosts: giustini - - - name: event log - remotecheck: "/usr/lib/nagios/plugins/dsa-check-msa-eventlog --start=11298 $HOSTADDRESS$ public" - runfrom: ubc-bl8 - hosts: giustini - ### - name: process - multipathd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:15 -c 1: -u root -C multipathd -a '/sbin/multipathd'"