X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=c5a3b5c0833746e2a1cad8896043140d3cbbc7db;hb=d9a39e36ee6ba94a1f36f55ea3764c1fe0cb90cd;hp=4282cf571ef4234fb571a6088b9a0fe7e435898a;hpb=3299af26801c45c32d93476bd02dcd6791971c0b;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 4282cf5..c5a3b5c 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 @@ -408,7 +403,7 @@ servers: donizetti: address: 5.153.231.20 parents: ganeti-bytemark - hostgroups: computers, general, kvmdomains, jessie, nfs-client, autofs, systemd-timesyncd + hostgroups: computers, general, kvmdomains, stretch, nfs-client, autofs, systemd-timesyncd moszumanska: address: 5.153.231.21 parents: ganeti-bytemark @@ -422,11 +417,11 @@ servers: 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 - hostgroups: computers, kvmdomains, jessie, apache2-hosts, apache-https, systemd-timesyncd + hostgroups: computers, kvmdomains, stretch, apache2-hosts, apache-https, systemd-timesyncd olin: address: 5.153.231.26 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,11 +449,11 @@ 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 - hostgroups: computers, service, kvmdomains, jessie, hassrvfs, systemd-timesyncd + hostgroups: computers, service, kvmdomains, stretch, hassrvfs, systemd-timesyncd lindsay: address: 5.153.231.36 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 @@ -494,7 +489,7 @@ servers: 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: @@ -591,14 +586,6 @@ servers: parents: gw-bytemark hostgroups: notacomputer - falla: - address: 128.31.0.65 - parents: ganeti-csail - hostgroups: computers, freebsd, hassrvfs, porterbox, jessie, jessie-freebsd - fischer: - address: 128.31.0.35 - parents: ganeti-csail - hostgroups: computers, freebsd, hassrvfs, porterbox, jessie mirror-csail: address: 128.31.0.62 parents: ganeti-csail @@ -618,7 +605,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 @@ -660,7 +647,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 @@ -724,25 +711,19 @@ servers: lw07: address: 185.17.185.187 parents: gw-leaseweb - hostgroups: computers, service, jessie, dl180, nfs-client, autofs, hassrvfs, postgres94-hosts, apache2-hosts + hostgroups: computers, service, jessie, dl180, nfs-client, autofs, hassrvfs, postgres94-hosts, apache2-hosts lw08: address: 185.17.185.189 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 + hostgroups: computers, service, jessie, dl180, nfs-client, autofs, hassrvfs, apache2-hosts + lw09: + address: 185.17.185.181 + parents: gw-leaseweb + hostgroups: computers, service, stretch, dl180 + lw10: + address: 185.17.185.182 + parents: gw-leaseweb + hostgroups: computers, service, stretch, dl180 # }}} # {{{ gw-karlsruhe zemlinsky: @@ -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 @@ -768,16 +749,6 @@ servers: address: 82.195.75.110 parents: ganeti3 hostgroups: computers, service, kvmdomains, stretch, hassrvfs, spamd, heavy-exim, highload - fils: - address: 82.195.75.89 - parents: ganeti3 - hostgroups: computers, freebsd, jessie, buildd, hassrvfs - contacts: christoph - fayrfax: - address: 82.195.75.82 - parents: ganeti3 - hostgroups: computers, freebsd, jessie, buildd, hassrvfs - contacts: christoph vento: address: 82.195.75.98 parents: ganeti3 @@ -821,7 +792,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 +816,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 @@ -858,11 +829,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 @@ -884,10 +850,6 @@ servers: address: 140.211.166.197 parents: pieta hostgroups: computers, hassrvfs, buildd, jessie - pizzetti: - address: 140.211.166.198 - parents: pieta - hostgroups: computers, jessie, hassrvfs, porterbox partch: address: 140.211.15.152 parents: gw-osuosl @@ -897,7 +859,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 @@ -939,66 +901,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 @@ -1025,16 +927,6 @@ servers: address: 209.87.16.21 parents: ubc-gateway hostgroups: computers, buildd, hassrvfs, kvmdomains, stretch, systemd-timesyncd - finzi: - address: 209.87.16.22 - parents: ubc-gateway - hostgroups: computers, freebsd, jessie, buildd, hassrvfs - contacts: christoph - fano: - address: 209.87.16.23 - parents: ubc-gateway - hostgroups: computers, freebsd, jessie, buildd, hassrvfs - contacts: christoph elgar: address: 209.87.16.24 parents: ubc-gateway @@ -1090,7 +982,7 @@ servers: tye: address: 209.87.16.37 parents: ubc-gateway - hostgroups: computers, service, kvmdomains, jessie, heavy-exim, apache2-hosts, apache-https, nfs-client, autofs, hassrvfs, systemd-timesyncd + hostgroups: computers, service, kvmdomains, stretch, heavy-exim, apache2-hosts, apache-https, nfs-client, autofs, hassrvfs, systemd-timesyncd ullmann: address: 209.87.16.38 parents: ubc-gateway @@ -1115,7 +1007,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, broken_https_default_vhost # }}} # {{{ gw-umn #saens: @@ -1214,10 +1106,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 @@ -1225,10 +1113,6 @@ hostgroups: notacomputer: alias: Systems that are not really systems. Yeah :) private: 1 - freebsd: - alias: freebsd - private: 1 - extinfo-icon_image_alt: Debian GNU/kFreeBSD armhf: alias: armhf private: 1 @@ -1277,8 +1161,6 @@ hostgroups: alias: Hosts running wheezy jessie: alias: Hosts running jessie - jessie-freebsd: - alias: kFreebsd hosts running jessie stretch: alias: Hosts running stretch @@ -1347,6 +1229,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 @@ -1505,7 +1390,7 @@ services: name: disk usage on /var/lib/postgresql servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var/lib/postgresql" - hosts: sibelius, busoni, buxtehude, lw07, fasolo + hosts: sibelius, buxtehude, lw07, fasolo - name: disk usage on /var/log servicegroups: diskspace @@ -1527,24 +1412,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-1" + 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-2 + 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-2" + 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-3 + 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-3" + 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-4 + 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-4" + 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-2017-4" + hosts: sibelius + - + 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-2017-5" + hosts: sibelius + - + 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-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 @@ -1629,14 +1534,6 @@ services: name: processes - total hostgroups: manyprocesses nrpe: "/usr/lib/nagios/plugins/check_procs 1500 1700" - - - name: swap usage - percent - nrpe: "/usr/lib/nagios/plugins/check_swap -w 20% -c 10%" - hostgroups: computers - - - name: swap usage - mb - nrpe: "/usr/lib/nagios/plugins/check_swap -w 20000 -c 5000" - hostgroups: computers - name: free memory - mb nrpe: "/usr/lib/nagios/plugins/dsa-check-memory -m mb" @@ -1651,15 +1548,10 @@ services: hostgroups: computers excludehosts: zelenka, zandonai excludehostgroups: jessie, stretch - - - name: process - getty - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C agetty -a /sbin/getty" - hostgroups: jessie-freebsd - name: process - getty nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C agetty -a /sbin/agetty" hostgroups: jessie, stretch - excludehostgroups: freebsd - name: processes - zombies @@ -1670,7 +1562,6 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-entropy" event_handler: dsa_event_handler_restart_ekey hostgroups: computers - excludehostgroups: freebsd - name: system - filesystem check nrpe: "/usr/bin/sudo /usr/lib/nagios/plugins/dsa-check-filesystems" @@ -1724,12 +1615,7 @@ services: servicegroups: backup nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u bacula -C bacula-fd -a '/usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf'" hostgroups: computers - excludehostgroups: freebsd, alioth - - - name: process - bacula-fd - servicegroups: backup - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u root -C bacula-fd -a '/usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf'" - hostgroups: freebsd + excludehostgroups: alioth - name: network backup status - draghi @@ -1768,7 +1654,6 @@ services: servicegroups: security nrpe: "sudo /usr/lib/nagios/plugins/dsa-check-libs" hostgroups: computers - excludehostgroups: freebsd check_interval: 60 retry_interval: 15 notification_interval: 10080 @@ -1776,26 +1661,23 @@ services: name: installed firewall 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 - name: process - ulogd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C ulogd -a '/usr/sbin/ulogd -d'" hostgroups: computers - excludehostgroups: freebsd, sparc, jessie, stretch + excludehostgroups: sparc, jessie, stretch - name: process - ulogd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u ulog -C ulogd -a '/usr/sbin/ulogd --daemon --uid ulog'" hostgroups: jessie, stretch - excludehostgroups: freebsd - name: unexpected process - ulogd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C ulogd" - hostgroups: freebsd, sparc + hostgroups: sparc #### - name: process - samhain @@ -1823,16 +1705,11 @@ services: name: process - syslog-ng nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslog-ng -a '/sbin/syslog-ng -p /var/run/syslog-ng.pid'" hostgroups: computers - excludehostgroups: freebsd, jessie, stretch - - - name: process - syslog-ng - nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 2: -u root -C syslog-ng -a '/sbin/syslog-ng -p /var/run/syslog-ng.pid'" - hostgroups: freebsd + excludehostgroups: jessie, stretch - name: process - syslog-ng nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslog-ng -a '/sbin/syslog-ng -F'" hostgroups: jessie, stretch - excludehostgroups: freebsd - name: remote logging on lotti @@ -1890,11 +1767,6 @@ services: name: process - munin-node nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u root -C munin-node -a 'munin-node'" hostgroups: computers - excludehostgroups: freebsd - - - name: process - munin-node - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u root -C perl -a '/usr/bin/perl -wT /usr/sbin/munin-node'" - hostgroups: freebsd - name: network service - munin-node check: check_tcp!4949 @@ -1918,7 +1790,7 @@ services: name: system time synced nrpe: "/usr/lib/nagios/plugins/dsa-check-timedatectl -s" hostgroups: computers - excludehostgroups: systemd-timesyncd, freebsd, wheezy + excludehostgroups: systemd-timesyncd, wheezy servicegroups: time - name: system time synced @@ -1934,10 +1806,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 ### - @@ -1949,11 +1818,7 @@ 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: 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 + excludehostgroups: alioth ### - name: process - monit @@ -2000,16 +1865,11 @@ services: name: process - udevd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -p 1 -C udevd -a 'udevd'" hostgroups: computers - excludehostgroups: freebsd, jessie, stretch + excludehostgroups: jessie, stretch - name: process - udevd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -p 1 -C systemd-udevd -a '/lib/systemd/systemd-udevd'" hostgroups: jessie, stretch - excludehostgroups: freebsd - - - name: unexpected process - udev - nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C udevd" - hostgroups: freebsd ### - name: process - acpid @@ -2036,19 +1896,13 @@ 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: wheezy, jessie, stretch - excludehostgroups: freebsd, alioth + excludehostgroups: 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, ubc-bl2 - ### - - - name: process - rngd - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd -a '/usr/sbin/rngd -r /dev/hwrng'" - hostgroups: kvmdomains - excludehostgroups: stretch + excludehostgroups: alioth + excludehosts: czerny, grnet-node01, storace # }}} # {{{ anti-services - @@ -2149,12 +2003,6 @@ services: nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli --no-controller-ok --ignore-controller='P700m'" check_interval: 120 hostgroups: bm-bl - - - name: HW - hpacucli status - servicegroups: raid - nrpe: "/usr/lib/nagios/plugins/dsa-check-hpacucli --no-battery" - check_interval: 120 - hosts: busoni ### # - # name: HW - edac status @@ -2205,12 +2053,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 @@ -2220,7 +2062,7 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'" hostgroups: computers excludehostgroups: postfix-hosts, mail-relay - excludehosts: master, busoni, quantz, buxtehude + excludehosts: master, quantz, buxtehude - name: process - exim nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u Debian-exim -C exim4 -a '/usr/sbin/exim4 -bd -q'" @@ -2230,11 +2072,11 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1: -C exim4" hostgroups: computers excludehostgroups: postfix-hosts - excludehosts: master, busoni, quantz, buxtehude + excludehosts: master, quantz, buxtehude - name: process - exim nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:300 -c 1:500 -C exim4 -a '/usr/sbin/exim4'" - hosts: master, busoni, quantz, buxtehude + hosts: master, quantz, buxtehude - name: mail queue nrpe: "/usr/lib/nagios/plugins/check_mailq -M exim -w 1000 -c 2000" @@ -2280,17 +2122,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 @@ -2304,7 +2146,7 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd" hostgroups: computers excludehostgroups: spamd - excludehosts: bendel, busoni + excludehosts: bendel - name: unwanted process - greylistd @@ -2499,6 +2341,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 @@ -2514,7 +2362,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 - @@ -2528,11 +2376,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 - @@ -2562,18 +2406,11 @@ services: hosts: storace, backuphost # }}} # {{{ buildd - - - 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, finzi, fils, fayrfax - contact_groups: buildd - 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, finzi, fils, fayrfax contact_groups: buildd - name: processes - zombie schroot @@ -2920,25 +2757,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'" @@ -3004,7 +2822,6 @@ services: name: system - all services running nrpe: "/usr/bin/sudo /bin/systemctl is-system-running" hostgroups: jessie, stretch - excludehostgroups: freebsd ### - name: process - slapd @@ -3073,3 +2890,5 @@ services: # }}} # vim: set ts=2 sw=2 et ai si fdm=marker: + +