X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=cf8594ce7261ac8aa44d7a12df977cd95d5267a0;hb=40389fe7ad8028bedd698e6d804e9474e1156594;hp=0eacbc6b3c72a8eabf87da5fc14c94e7c563b7fd;hpb=22a1b3108d97d9bb81a66a42b082eb05d19786ba;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 0eacbc6..cf8594c 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -212,7 +212,7 @@ servers: pettersson: address: 130.239.18.123 parents: gw-accumu - hostgroups: computers, hasbootfs, aacraid, nfs-client, acpid-hosts, service, apache2-hosts, wheezy, autofs, sw-raid + hostgroups: computers, hasbootfs, aacraid, nfs-client, acpid-hosts, service, apache2-hosts, jessie, autofs, sw-raid praetorius: address: 130.239.18.121 parents: gw-accumu @@ -222,7 +222,7 @@ servers: mips-aql-01: address: 141.170.6.149 parents: gw-aql - hostgroups: computers, buildd, wheezy, nfs-client + hostgroups: computers, buildd, jessie, nfs-client mips-aql-02: address: 141.170.6.150 parents: gw-aql @@ -248,7 +248,7 @@ servers: arnold: address: 217.140.96.57 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, buildd, wheezy, broken_mq + hostgroups: computers, hasbootfs, hassrvfs, buildd, jessie, broken_mq arm-arm-01: address: 217.140.96.58 parents: gw-arm @@ -257,6 +257,10 @@ servers: address: 217.140.96.59 parents: gw-arm hostgroups: computers, hasbootfs, hassrvfs, buildd, jessie, broken_mq + arm-arm-03: + address: 217.140.96.60 + parents: gw-arm + hostgroups: computers, hasbootfs, hassrvfs, buildd, jessie, broken_mq harris: address: 217.140.96.66 parents: gw-arm @@ -268,7 +272,7 @@ servers: hoiby: address: 217.140.96.71 parents: gw-arm - hostgroups: computers, hasbootfs, hassrvfs, armhf, wheezy, buildd, broken_mq + hostgroups: computers, hasbootfs, hassrvfs, armhf, jessie, buildd, broken_mq ia64-arm-01: address: 217.140.96.61 parents: gw-arm @@ -403,7 +407,7 @@ servers: dinis: address: 5.153.231.19 parents: ganeti-bytemark - hostgroups: computers, general, kvmdomains, wheezy + hostgroups: computers, general, kvmdomains, wheezy, hassrvfs donizetti: address: 5.153.231.20 parents: ganeti-bytemark @@ -433,7 +437,7 @@ servers: barriere: address: 5.153.231.27 parents: ganeti-bytemark - hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, porterbox + hostgroups: computers, service, kvmdomains, jessie, hassrvfs, porterbox quantz: address: 5.153.231.28 parents: ganeti-bytemark @@ -461,20 +465,24 @@ servers: lindsay: address: 5.153.231.36 parents: ganeti-bytemark - hostgroups: computers, service, kvmdomains, jessie + hostgroups: computers, service, kvmdomains, jessie, autofs, nfs-client fede: address: 5.153.231.37 - hostgroups: computers, service, kvmdomains, wheezy, hassrvfs + hostgroups: computers, service, kvmdomains, jessie, hassrvfs sor: address: 5.153.231.38 parents: ganeti-bytemark hostgroups: computers, service, kvmdomains, jessie, hassrvfs, apache2-hosts, autofs, nfs-client + jerea: + address: 5.153.231.39 + parents: ganeti-bytemark + hostgroups: computers, service, kvmdomains, jessie, hassrvfs, apache2-hosts # }}} # {{{ gw-c3sl santoro: address: 200.17.202.197 parents: gw-c3sl - hostgroups: computers, service, apache2-hosts, rsyncd-hosts, xinetd-hosts, hassrvfs, wheezy, high-RTT, security_mirror, no-bacula, apache-https + hostgroups: computers, service, apache2-hosts, rsyncd-hosts, xinetd-hosts, hassrvfs, jessie, high-RTT, security_mirror, no-bacula, apache-https contacts: faw # }}} # {{{ gw-carnet @@ -504,10 +512,6 @@ servers: hostgroups: computers, buildd, hassrvfs, sw-raid, wheezy, sparc # }}} # {{{ gw-csail - senfl: - address: 128.31.0.51 - parents: gw-csail - hostgroups: computers, service, dl360, acpid-hosts, hassrvfs, apache2-hosts, rsyncd-hosts, xinetd-hosts, squeeze, apache-https steffani: address: 128.31.0.36 parents: gw-csail @@ -542,6 +546,10 @@ servers: address: 128.31.0.50 parents: ganeti-csail hostgroups: computers, buildd, hassrvfs, kvmdomains, wheezy + httpredir-csail-01: + address: 128.31.0.66 + parents: ganeti-csail + hostgroups: computers, service, kvmdomains, jessie, apache2-hosts # }}} # {{{ gw-dgi storace: @@ -583,7 +591,11 @@ servers: cgi-grnet-01: address: 194.177.211.202 parents: gw-grnet - hostgroups: computers, service, kvmdomains, jessie, hassrvfs, apache2-hosts + hostgroups: computers, service, kvmdomains, jessie, hassrvfs, apache2-hosts, apache-https + x86-grnet-01: + address: 194.177.211.203 + parents: ganeti-grnet + hostgroups: computers, buildd, hassrvfs, kvmdomains, jessie # }}} # {{{ gw-isc schein: @@ -694,7 +706,7 @@ servers: geo1: address: 82.195.75.105 parents: ganeti3 - hostgroups: computers, service, bind9-hosts, kvmdomains, wheezy + hostgroups: computers, service, bind9-hosts, kvmdomains, jessie handel: address: 82.195.75.104 parents: ganeti3 @@ -744,7 +756,7 @@ servers: zani: address: 148.100.88.22 parents: gw-marist - hostgroups: computers, buildd, hassrvfs, jessie, incomingmailrelayed, ping-suckers + hostgroups: computers, buildd, hassrvfs, jessie, incomingmailrelayed # }}} # {{{ gw-osuosl busoni: @@ -779,7 +791,7 @@ servers: partch: address: 140.211.15.152 parents: gw-osuosl - hostgroups: computers, wheezy, hassrvfs, porterbox, sw-raid + hostgroups: computers, jessie, hassrvfs, porterbox, sw-raid rietz: address: 140.211.166.43 parents: gw-osuosl @@ -986,10 +998,6 @@ servers: address: 206.12.19.137 parents: ganeti2 hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, no-bacula - lilburn: - address: 206.12.19.138 - parents: ganeti2 - hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, apache2-hosts, nfs-client, autofs popov: address: 206.12.19.119 parents: ganeti2 @@ -1035,11 +1043,15 @@ servers: powerpc-unicamp-01: address: 143.106.167.149 parents: prokofiev - hostgroups: computers, hasbootfs, hassrvfs, buildd, wheezy + hostgroups: computers, hasbootfs, hassrvfs, buildd, jessie ppc64el-unicamp-01: address: 143.106.167.135 parents: prokofiev hostgroups: computers, hasbootfs, hassrvfs, buildd, jessie + plummer: + address: 143.106.167.146 + parents: prokofiev + hostgroups: computers, porterbox, hassrvfs, jessie # }}} # {{{ gw-utwente klecker: @@ -1063,7 +1075,7 @@ servers: henze: address: 144.32.168.74 parents: gw-ynic - hostgroups: computers, hasbootfs, hassrvfs, armhf, wheezy, buildd + hostgroups: computers, hasbootfs, hassrvfs, armhf, jessie, buildd hasse: address: 144.32.168.75 parents: gw-ynic @@ -1183,8 +1195,6 @@ hostgroups: alias: Hosts with LSI Logic MegaRAID private: 1 - squeeze: - alias: Hosts running squeeze wheezy: alias: Hosts running wheezy jessie: @@ -1305,9 +1315,6 @@ hostgroups: high-RTT: alias: machines with high round trip times private: 1 - ping-suckers: - alias: machines that just suck at icmp - private: 1 alioth: alias: machines that just are just awkward private: 1 @@ -1357,7 +1364,7 @@ services: name: PING check: "check_ping!350.0,20%!600.0,40%" hostgroups: pingable - excludehostgroups: layer3-infrastructure, high-RTT, ping-suckers + excludehostgroups: layer3-infrastructure, high-RTT normal_check_interval: 5 max_check_attempts: 4 retry_check_interval: 1 @@ -1368,13 +1375,6 @@ services: normal_check_interval: 5 max_check_attempts: 4 retry_check_interval: 1 - - - name: PING - check: "check_ping!600.0,90%!900.0,95%" - hostgroups: ping-suckers - normal_check_interval: 5 - max_check_attempts: 4 - retry_check_interval: 1 - name: PING check: "check_ping!2000.0,60%!3000.0,80%" @@ -1822,21 +1822,17 @@ services: name: process - ud-replicated nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C ud-replicated -a '/usr/bin/python /usr/bin/ud-replicated'" hostgroups: computers - excludehostgroups: squeeze, freebsd, alioth + excludehostgroups: freebsd, alioth - name: process - ud-replicated nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C python2.7 -a '/usr/bin/python /usr/bin/ud-replicated'" hostgroups: freebsd ### - - - 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: squeeze - name: process - monit nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1:1 -u root -C monit -a '/usr/bin/monit -d 300 -I -c /etc/monit/monitrc -s /var/lib/monit/monit.state'" hostgroups: computers - excludehostgroups: squeeze, alioth, jessie + excludehostgroups: alioth, jessie ### - name: MQ connection on rainier @@ -1910,8 +1906,14 @@ 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, wheezy, jessie + hostgroups: wheezy, jessie + excludehostgroups: freebsd, alioth + - + name: process - stunnel4 - puppet-ekeyd is crazy + nrpe: "sudo /usr/lib/nagios/plugins/dsa-check-stunnel-sanity" + hostgroups: computers excludehostgroups: freebsd, alioth + excludehosts: czerny, grnet-node01, storace # }}} # {{{ anti-services - @@ -1951,6 +1953,14 @@ services: name: "host SSL cert" nrpe: "if [ -e /etc/ssl/certs/thishost.pem ]; then /usr/lib/nagios/plugins/dsa-check-cert-expire /etc/ssl/certs/thishost.pem; else echo 'No thishost.pem on this host.'; fi" hostgroups: computers + - + name: "host SSL cert - debian server" + nrpe: "if [ -e /etc/ssl/debian/certs/thishost-server.crt ]; then /usr/lib/nagios/plugins/dsa-check-cert-expire /etc/ssl/debian/certs/thishost-server.crt; else echo 'No thishost-server.crt on this host.'; fi" + hostgroups: computers + - + name: "host SSL cert - debian client" + nrpe: "if [ -e /etc/ssl/debian/certs/thishost.crt ]; then /usr/lib/nagios/plugins/dsa-check-cert-expire /etc/ssl/debian/certs/thishost.crt; else echo 'No thishost.crt on this host.'; fi" + hostgroups: computers # }}} # {{{ HW health/raid - @@ -2014,13 +2024,13 @@ services: # nrpe: "/usr/lib/nagios/plugins/dsa-check-edac" # normal_check_interval: 120 #hostgroups: computers - #excludehosts: villa, lobos, senfl, schein + #excludehosts: villa, lobos, schein - name: HW - hpasmcli status nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm" normal_check_interval: 120 hostgroups: dl385, dl380, dl360, bl460, dl585, bm-bl - excludehosts: villa, lobos, senfl, schein, storace + excludehosts: villa, lobos, schein, storace - name: HW - hpasmcli status nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --ps-no-redundant" @@ -2035,7 +2045,7 @@ services: name: HW - hpasmcli status nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --fan-no-redundant" normal_check_interval: 120 - hosts: senfl, schein + hosts: schein - name: HW - hpasmcli status nrpe: "/usr/lib/nagios/plugins/dsa-check-hpasm --fan-ignore-not-present"