X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=759faac14e0a69052e3e7b6631bb8fd231de51e7;hb=69fdde01ec4f761b9af20be24c0d7f2d000f6107;hp=2ae057db3e55350b97c3af5504e3de80420bc8b5;hpb=0d6871110ffc88fc5c71fb83892f1e71b0ecc295;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 2ae057d..759faac 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 @@ -184,8 +180,7 @@ servers: pettersson: address: 130.239.18.123 parents: gw-accumu - hostgroups: computers, hasbootfs, aacraid, nfs-client, service, apache2-hosts, jessie, autofs, sw-raid - ## No need to update to Stretch, casulana replaces it. It should eventually die. + hostgroups: computers, hasbootfs, aacraid, nfs-client, service, apache2-hosts, stretch, autofs, sw-raid mirror-accumu: address: 130.242.6.199 parents: gw-accumu2 @@ -342,7 +337,7 @@ servers: picconi: address: 5.153.231.3 parents: gw-bytemark - hostgroups: computers, service, kvmdomains, jessie, apache2-hosts, nfs-client, autofs, heavy-exim, spamd, apache-https, systemd-timesyncd + hostgroups: computers, service, kvmdomains, stretch, apache2-hosts, nfs-client, autofs, heavy-exim, spamd, apache-https, systemd-timesyncd senfter: address: 5.153.231.4 parents: gw-bytemark @@ -370,7 +365,7 @@ servers: parents: gw-bytemark hostgroups: computers, hassrvfs, kvmdomains, stretch, postgres96-hosts, systemd-timesyncd ganeti-bytemark: - address: 82.195.75.111 + address: 5.153.231.1 parents: gw-bytemark hostgroups: notacomputer coccia: @@ -384,7 +379,7 @@ servers: philp: address: 5.153.231.13 parents: ganeti-bytemark - hostgroups: computers, hassrvfs, kvmdomains, jessie, apache2-hosts, apache-https, systemd-timesyncd + hostgroups: computers, hassrvfs, kvmdomains, stretch, apache2-hosts, apache-https, systemd-timesyncd rainier: address: 5.153.231.16 parents: ganeti-bytemark @@ -418,11 +413,11 @@ servers: dillon: address: 5.153.231.22 parents: ganeti-bytemark - hostgroups: computers, general, kvmdomains, jessie, nfs-client, autofs, hassrvfs, systemd-timesyncd + hostgroups: computers, general, kvmdomains, stretch, nfs-client, autofs, hassrvfs, systemd-timesyncd ticharich: address: 5.153.231.23 parents: ganeti-bytemark - hostgroups: computers, general, kvmdomains, jessie, nfs-client, autofs, apache2-hosts, apache-https, service, broken_https_default_vhost, systemd-timesyncd + hostgroups: computers, general, kvmdomains, stretch, nfs-client, autofs, apache2-hosts, apache-https, service, broken_https_default_vhost, systemd-timesyncd petrova: address: 5.153.231.25 parents: ganeti-bytemark @@ -438,7 +433,7 @@ servers: quantz: address: 5.153.231.28 parents: ganeti-bytemark - hostgroups: computers, service, kvmdomains, jessie, hassrvfs, nfs-client, heavy-exim, apache2-hosts, autofs, apache-https, systemd-timesyncd + hostgroups: computers, service, kvmdomains, stretch, hassrvfs, nfs-client, heavy-exim, apache2-hosts, autofs, apache-https, systemd-timesyncd respighi: address: 5.153.231.29 parents: ganeti-bytemark @@ -454,7 +449,7 @@ servers: tate: address: 5.153.231.33 parents: ganeti-bytemark - hostgroups: computers, service, kvmdomains, jessie, autofs, nfs-client, apache2-hosts, apache-https, systemd-timesyncd + hostgroups: computers, service, kvmdomains, stretch, autofs, nfs-client, apache2-hosts, apache-https, systemd-timesyncd gideon: address: 5.153.231.34 parents: ganeti-bytemark @@ -478,7 +473,7 @@ servers: sor: address: 5.153.231.38 parents: ganeti-bytemark - hostgroups: computers, service, kvmdomains, stretch, hassrvfs, apache2-hosts, autofs, nfs-client, systemd-timesyncd + hostgroups: computers, service, kvmdomains, stretch, hassrvfs, apache2-hosts, apache-https, autofs, nfs-client, systemd-timesyncd jerea: address: 5.153.231.39 parents: ganeti-bytemark @@ -490,11 +485,11 @@ servers: pinel: address: 5.153.231.42 parents: ganeti-bytemark - hostgroups: computers, service, kvmdomains, jessie, hassrvfs, apache2-hosts, nfs-client, autofs, heavy-exim, systemd-timesyncd + hostgroups: computers, service, kvmdomains, stretch, hassrvfs, apache2-hosts, apache-https, nfs-client, autofs, heavy-exim, systemd-timesyncd rusca: address: 5.153.231.43 parents: ganeti-bytemark - hostgroups: computers, service, kvmdomains, jessie, hassrvfs, systemd-timesyncd + hostgroups: computers, service, kvmdomains, stretch, hassrvfs, systemd-timesyncd manziarly: address: 5.153.231.44 parents: ganeti-bytemark @@ -546,7 +541,7 @@ servers: mirror-conova: address: 217.196.149.229 parents: gw-conova - hostgroups: computers, stretch, service, apache2-hosts, apache-https + hostgroups: computers, stretch, service, apache2-hosts mirror-conova-debian: address: 217.196.149.232 hostgroups: secondary-IPs @@ -561,7 +556,7 @@ servers: parents: mirror-conova mirror-conova-syncproxy4-eu: address: 217.196.149.237 - hostgroups: secondary-IPs, rsyncd-hosts + hostgroups: secondary-IPs, rsyncd-hosts, https-service parents: mirror-conova arm-conova-01: @@ -618,7 +613,7 @@ servers: pkgmirror-csail: address: 128.31.0.51 parents: ganeti-csail - hostgroups: computers, service, kvmdomains, jessie, apache2-hosts, no-bacula, apache-https, hassrvfs, systemd-timesyncd + hostgroups: computers, service, kvmdomains, stretch, apache2-hosts, no-bacula, apache-https, hassrvfs, systemd-timesyncd usper: address: 128.31.0.69 parents: ganeti-csail @@ -730,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 @@ -755,11 +736,11 @@ servers: czerny: address: 82.195.75.109 parents: gw-manda - hostgroups: computers, service, dl380, acpid-hosts, jessie, 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, jessie, drbd-hosts + hostgroups: computers, service, dl380, acpid-hosts, stretch, drbd-hosts, manyprocesses bendel: address: 82.195.75.100 parents: ganeti3 @@ -809,7 +790,7 @@ servers: wilder: address: 82.195.75.112 parents: ganeti3 - hostgroups: computers, service, hassrvfs, apache2-hosts, kvmdomains, jessie, apache-https, rsyncd-hosts + hostgroups: computers, service, hassrvfs, apache2-hosts, kvmdomains, stretch, apache-https, rsyncd-hosts mailly: address: 82.195.75.114 parents: ganeti3 @@ -821,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 @@ -845,7 +826,7 @@ servers: seger: address: 82.195.75.93 parents: ganeti3 - hostgroups: computers, service, apache2-hosts, hassrvfs, hasbootfs, rsyncd-hosts, uploadqueue, kvmdomains, apache-https, postgres94-hosts, jessie + hostgroups: computers, service, apache2-hosts, hassrvfs, rsyncd-hosts, kvmdomains, apache-https, postgres96-hosts, stretch suchon: address: 82.195.75.68 parents: ganeti3 @@ -897,7 +878,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 @@ -1038,7 +1019,7 @@ servers: elgar: address: 209.87.16.24 parents: ubc-gateway - hostgroups: computers, service, kvmdomains, jessie, systemd-timesyncd + hostgroups: computers, service, kvmdomains, stretch, systemd-timesyncd gombert: address: 209.87.16.25 parents: ubc-gateway @@ -1347,6 +1328,9 @@ hostgroups: apache-https: alias: hosts with https services private: 1 + https-service: + alias: https service for secondary addresses + private: 1 broken_https_default_vhost: alias: https default vhost does not say 200 OK private: 1 @@ -1527,24 +1511,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-2017-3" + hosts: sibelius + - + 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-1" + 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-2 + 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-2" + 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-3 + 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-3" + 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-4 + 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-4" + 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 @@ -2280,17 +2284,17 @@ services: excludehostgroups: jessie, stretch - name: process - spamd - master - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --create-prefs --max-children 5 --helper-home-dir'" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd -d --pidfile=/var/run/spamd.pid --create-prefs --max-children 5 --helper-home-dir'" hostgroups: spamd excludehosts: picconi excludehostgroups: wheezy - name: process - spamd - master - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --create-prefs --max-children 20 --min-spare=5 --helper-home-dir'" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd -d --pidfile=/var/run/spamd.pid --create-prefs --max-children 20 --min-spare=5 --helper-home-dir'" hosts: picconi - name: process - spamd - master - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --create-prefs --max-children 10 --helper-home-dir'" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd -d --pidfile=/var/run/spamd.pid --create-prefs --max-children 10 --helper-home-dir'" hosts: bendel - name: process - spamd - child @@ -2372,42 +2376,22 @@ services: # }}} # {{{ postfix ### - - - name: process - postfix - master - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/master'" - hostgroups: postfix-hosts - excludehostgroups: stretch - name: process - postfix - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C master -a '/usr/lib/postfix/sbin/master'" hostgroups: postfix-hosts - excludehostgroups: jessie - - - name: process - postfix - qmgr - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t fifo -u'" - hostgroups: postfix-hosts - depends: process - postfix - master - excludehostgroups: stretch - name: process - postfix - qmgr nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C qmgr -a 'qmgr -l -t unix -u'" hostgroups: postfix-hosts depends: process - postfix - master - excludehostgroups: jessie - - - name: process - postfix - pickup - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t fifo -u -c'" - hostgroups: postfix-hosts - depends: process - postfix - master - excludehostgroups: stretch - name: process - postfix - pickup nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u postfix -C pickup -a 'pickup -l -t unix -u -c'" hostgroups: postfix-hosts depends: process - postfix - master - excludehostgroups: jessie - name: process - postfix - anvil @@ -2519,6 +2503,12 @@ services: excludehostgroups: broken_https_default_vhost depends: "process - apache2 - master" check_interval: 120 + - + name: network service - https + check: check_https + hostgroups: https-service + excludehostgroups: broken_https_default_vhost + check_interval: 120 - name: network service - https check: dsa_check_https_want_auth @@ -2534,7 +2524,7 @@ services: - name: network service - https cert check: dsa_check_cert!443 - hostgroups: apache-https + hostgroups: apache-https, https-service depends: network service - https check_interval: 60 - @@ -2548,11 +2538,7 @@ services: - name: network service - ftp check: check_ftp - hostgroups: uploadqueue, security_mirror - - - name: network service - ftp - check: check_ftp - hosts: klecker-ftp + hostgroups: uploadqueue # }}} # {{{ postgres -