X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-nagios.git;a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=0b8c442080f0aec0bd97b56514d7ea5f29f65115;hp=8db85e93d0b869e8626d4dd8ce1a6231eb7635b6;hb=b86fe19226b2779117a5f441e7737663e1075509;hpb=9ddbfeb2d2793b01de2a0275f050e3a3641313b6 diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 8db85e9..0b8c442 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -161,7 +161,7 @@ servers: schumann: address: 212.227.126.54 parents: gw-1und1-sec - hostgroups: computers, service, apache2-hosts, rsyncd-hosts, stretch, security_mirror, hassrvfs, pe1950, physical_x86_intel + hostgroups: computers, service, apache2-hosts, rsyncd-hosts, buster, security_mirror, hassrvfs, pe1950, physical_x86_intel wieck: address: 195.20.242.89 parents: gw-1und1-sec @@ -171,7 +171,7 @@ servers: pettersson: address: 130.239.18.123 parents: gw-accumu - hostgroups: computers, hasbootfs, aacraid, nfs-client, service, apache2-hosts, buster, autofs, sw-raid, physical_x86_intel + hostgroups: computers, hasbootfs, aacraid, nfs-client, service, buster, autofs, sw-raid, physical_x86_intel contacts: zobel, tfheen, lfilipoz, zumbi, jcristau, pabs, aurel32, dsa-nsa contact_groups: "" mirror-accumu: @@ -361,42 +361,14 @@ servers: address: 5.153.231.12 parents: ganeti-bytemark hostgroups: computers, hassrvfs, kvmdomains, buster, systemd-timesyncd - philp: - address: 5.153.231.13 - parents: ganeti-bytemark - hostgroups: computers, hassrvfs, kvmdomains, stretch, apache2-hosts, apache-https, systemd-timesyncd, broken_https_default_vhost - rainier: - address: 5.153.231.16 - parents: ganeti-bytemark - hostgroups: computers, kvmdomains, stretch, systemd-timesyncd - rapoport: - address: 5.153.231.15 - parents: ganeti-bytemark - hostgroups: computers, kvmdomains, stretch, systemd-timesyncd delfin: address: 5.153.231.17 parents: ganeti-bytemark hostgroups: computers, hassrvfs, kvmdomains, buster, apache2-hosts, apache-https, nfs-client, autofs, systemd-timesyncd - wuiet: - address: 5.153.231.18 - parents: ganeti-bytemark - hostgroups: computers, general, kvmdomains, stretch, service, apache-https, apache2-hosts, heavy-exim, systemd-timesyncd - dinis: - address: 5.153.231.19 - parents: ganeti-bytemark - hostgroups: computers, general, kvmdomains, buster, hassrvfs, systemd-timesyncd - donizetti: - address: 5.153.231.20 - parents: ganeti-bytemark - hostgroups: computers, general, kvmdomains, stretch, nfs-client, autofs, systemd-timesyncd dillon: address: 5.153.231.22 parents: ganeti-bytemark hostgroups: computers, general, kvmdomains, stretch, nfs-client, autofs, hassrvfs, systemd-timesyncd - ticharich: - address: 5.153.231.23 - parents: ganeti-bytemark - hostgroups: computers, general, kvmdomains, buster, nfs-client, autofs, apache2-hosts, apache-https, service, broken_https_default_vhost, systemd-timesyncd petrova: address: 5.153.231.25 parents: ganeti-bytemark @@ -421,10 +393,6 @@ servers: address: 5.153.231.34 parents: ganeti-bytemark hostgroups: computers, service, kvmdomains, stretch, hassrvfs, systemd-timesyncd - lindsay: - address: 5.153.231.36 - parents: ganeti-bytemark - hostgroups: computers, service, kvmdomains, buster, autofs, nfs-client, systemd-timesyncd sor: address: 5.153.231.38 parents: ganeti-bytemark @@ -437,18 +405,6 @@ servers: address: 5.153.231.40 parents: ganeti-bytemark hostgroups: computers, service, kvmdomains, stretch, hassrvfs, nfs-client, autofs, systemd-timesyncd - pinel: - address: 5.153.231.42 - parents: ganeti-bytemark - 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, stretch, hassrvfs, systemd-timesyncd - manziarly: - address: 5.153.231.44 - parents: ganeti-bytemark - hostgroups: computers, service, kvmdomains, buster, autofs, nfs-client, apache2-hosts, apache-https, systemd-timesyncd casulana: address: 5.153.231.41 @@ -665,19 +621,19 @@ servers: lw01: address: 185.17.185.177 parents: gw-leaseweb - hostgroups: computers, service, stretch, dl180, nfs-server, rsyncd-hosts, physical_x86_intel + hostgroups: computers, service, stretch, dl180, nfs-server, physical_x86_intel lw02: address: 185.17.185.178 parents: gw-leaseweb - hostgroups: computers, service, stretch, dl180, nfs-server, rsyncd-hosts, physical_x86_intel + hostgroups: computers, service, stretch, dl180, nfs-server, physical_x86_intel lw03: address: 185.17.185.179 parents: gw-leaseweb - hostgroups: computers, service, stretch, dl180, nfs-server, rsyncd-hosts, physical_x86_intel + hostgroups: computers, service, stretch, dl180, nfs-server, physical_x86_intel lw04: address: 185.17.185.180 parents: gw-leaseweb - hostgroups: computers, service, stretch, dl180, nfs-server, rsyncd-hosts, physical_x86_intel + hostgroups: computers, service, stretch, dl180, nfs-server, physical_x86_intel lw07: address: 185.17.185.187 parents: gw-leaseweb @@ -740,7 +696,7 @@ servers: handel: address: 82.195.75.104 parents: ganeti-manda - hostgroups: computers, service, kvmdomains, apache2-hosts, stretch, postgres96-hosts, hassrvfs, systemd-timesyncd + hostgroups: computers, service, kvmdomains, apache2-hosts, buster, postgres11-hosts, hassrvfs, systemd-timesyncd kaufmann: address: 82.195.75.107 parents: ganeti-manda @@ -796,17 +752,33 @@ servers: suchon: address: 82.195.75.68 parents: ganeti-manda - hostgroups: computers, service, kvmdomains, stretch, uploadqueue, queued, systemd-timesyncd + hostgroups: computers, service, kvmdomains, hassrvfs, stretch, uploadqueue, queued, systemd-timesyncd adayevskaya: address: 82.195.75.75 parents: ganeti-manda hostgroups: computers, service, kvmdomains, buster, systemd-timesyncd + postgresql-manda-01: + address: 82.195.75.76 + parents: ganeti-manda + hostgroups: computers, service, kvmdomains, hassrvfs, buster, systemd-timesyncd, postgres11-hosts + dinis: + address: 82.195.75.77 + parents: ganeti-manda + hostgroups: computers, general, kvmdomains, buster, hassrvfs, systemd-timesyncd + rainier: + address: 82.195.75.94 + parents: ganeti-manda + hostgroups: computers, kvmdomains, stretch, systemd-timesyncd + rapoport: + address: 82.195.75.95 + parents: ganeti-manda + hostgroups: computers, kvmdomains, stretch, systemd-timesyncd # }}} # {{{ gw-marist zani: address: 148.100.88.22 parents: gw-marist - hostgroups: computers, pybuildd, hassrvfs, buster, incomingmailrelayed + hostgroups: computers, pybuildd, hassrvfs, buster, incomingmailrelayed587 # }}} # {{{ gw-osuosl byrd: @@ -925,6 +897,10 @@ servers: address: 209.87.16.22 parents: ganeti2-ubc hostgroups: computers, buildd, hassrvfs, kvmdomains, buster, systemd-timesyncd + manziarly: + address: 209.87.16.23 + parents: ganeti2-ubc + hostgroups: computers, service, kvmdomains, buster, autofs, nfs-client, apache2-hosts, apache-https, systemd-timesyncd, hassrvfs elgar: address: 209.87.16.24 parents: ganeti2-ubc @@ -980,7 +956,7 @@ servers: tye: address: 209.87.16.37 parents: ganeti2-ubc - hostgroups: computers, service, kvmdomains, stretch, heavy-exim, apache2-hosts, apache-https, nfs-client, autofs, hassrvfs, systemd-timesyncd + hostgroups: computers, service, kvmdomains, stretch, apache2-hosts, apache-https, nfs-client, autofs, hassrvfs, systemd-timesyncd ullmann: address: 209.87.16.38 parents: ganeti2-ubc @@ -1010,6 +986,10 @@ servers: address: 209.87.16.46 parents: ganeti2-ubc hostgroups: computers, service, kvmdomains, stretch, systemd-timesyncd, apache2-hosts, apache-https, broken_https_default_vhost + static-master-ubc-01: + address: 209.87.16.47 + parents: ganeti2-ubc + hostgroups: computers, service, kvmdomains, buster, systemd-timesyncd, hassrvfs grabbe: address: 209.87.16.48 parents: ganeti2-ubc @@ -1018,6 +998,30 @@ servers: address: 209.87.16.49 parents: ganeti2-ubc hostgroups: computers, service, kvmdomains, stretch, hassrvfs, systemd-timesyncd + wuiet: + address: 209.87.16.60 + parents: ganeti2-ubc + hostgroups: computers, general, kvmdomains, stretch, service, apache-https, apache2-hosts, heavy-exim, systemd-timesyncd + philp: + address: 209.87.16.61 + parents: ganeti2-ubc + hostgroups: computers, hassrvfs, kvmdomains, stretch, apache2-hosts, apache-https, systemd-timesyncd, broken_https_default_vhost + lindsay: + address: 209.87.16.62 + parents: ganeti2-ubc + hostgroups: computers, service, kvmdomains, buster, autofs, nfs-client, systemd-timesyncd + pinel: + address: 209.87.16.63 + parents: ganeti2-ubc + hostgroups: computers, service, kvmdomains, stretch, hassrvfs, apache2-hosts, apache-https, nfs-client, autofs, heavy-exim, systemd-timesyncd + ticharich: + address: 209.87.16.64 + parents: ganeti2-ubc + hostgroups: computers, general, kvmdomains, buster, nfs-client, autofs, apache2-hosts, apache-https, service, broken_https_default_vhost, systemd-timesyncd + donizetti: + address: 209.87.16.65 + parents: ganeti2-ubc + hostgroups: computers, general, kvmdomains, stretch, nfs-client, autofs, systemd-timesyncd ganeti3-ubc: address: 209.87.16.50 @@ -1105,20 +1109,16 @@ servers: hostgroups: computers, service, apache2-hosts, apache-https, rsyncd-hosts, dl380, stretch, incomingmailrelayed2025, hassrvfs, physical_x86_intel klecker-ftp: address: 130.89.148.12 - parents: klecker + parents: new-klecker hostgroups: secondary-IPs klecker-archive: address: 130.89.148.13 parents: klecker hostgroups: secondary-IPs - klecker-static: - address: 130.89.148.14 - parents: klecker - hostgroups: secondary-IPs new-klecker: address: 130.89.148.77 parents: gw-utwente - hostgroups: computers, service, buster, r540, manyprocesses, incomingmailrelayed2025, physical_x86_intel, hassrvfs + hostgroups: computers, service, buster, r540, manyprocesses, incomingmailrelayed2025, physical_x86_intel, hassrvfs, apache2-hosts, apache-https smit: address: 130.89.148.78 parents: gw-utwente @@ -1222,8 +1222,6 @@ hostgroups: alias: Physical machines with Intel CPUs private: 1 - jessie: - alias: Hosts running jessie stretch: alias: Hosts running stretch buster: @@ -1346,7 +1344,7 @@ hostgroups: alias: hosts with a /var/log filesystem private: 1 - incomingmailrelayed: + incomingmailrelayed587: alias: incoming mail needs to go through a mail relay # i.e. no port 25 private: 1 @@ -1846,13 +1844,6 @@ services: hostgroups: computers max_check_attempts: -2 notification_interval: 1440 - - - name: process - nrpe - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u nagios -C nrpe -a '/usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d'" - hostgroups: computers - excludehostgroups: stretch, buster - max_check_attempts: -1 - depends: network service - nrpe - name: process - nrpe nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u nagios -C nrpe -a '/usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -f'" @@ -1866,7 +1857,7 @@ services: hostgroups: computers - name: network service - munin-node - check: check_tcp!4949 + nrpe: "/usr/lib/nagios/plugins/check_tcp -H localhost -p 4949" hostgroups: computers depends: process - munin-node ### @@ -2353,7 +2344,7 @@ services: name: network service - smtp check: dsa_check_smtp hostgroups: computers - excludehostgroups: postfix-hosts, incomingmailrelayed, incomingmailrelayed2025 + excludehostgroups: postfix-hosts, incomingmailrelayed587, incomingmailrelayed2025 depends: process - exim - @@ -2364,7 +2355,7 @@ services: - name: network service - submission check: dsa_check_smtp_port!587 - hostgroups: incomingmailrelayed + hostgroups: incomingmailrelayed587 depends: process - exim - name: network service - smtp 2025 @@ -2483,7 +2474,6 @@ services: name: process - varnish nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:2 -c 1:15 -u vcache -a '/usr/sbin/varnishd -j unix,user=vcache -F -a '" hostgroups: varnish-hosts - excludehostgroups: jessie - name: unwanted process - varnish nrpe: "/usr/lib/nagios/plugins/check_procs -w 0 -C varnishd" @@ -2544,11 +2534,6 @@ services: retry_interval: 5 # }}} # {{{ NFS Stuff - - - name: process - statd - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u statd -C rpc.statd -a '/sbin/rpc.statd'" - hostgroups: nfs-client, nfs-server - excludehostgroups: stretch, buster - name: process - nfsd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u root -C nfsd -a '[nfsd]'" @@ -2812,8 +2797,18 @@ services: hostgroups: bind9-hosts - name: network service - dns - check: check_dns - hostgroups: bind9-hosts + check: check_dig!www.debian.org! + hosts: geo1, geo2, geo3 + depends: process - named + - + name: network service - dns + check: check_dig!_openpgpkey.debian.org!-A -t SOA + hosts: kaufmann + depends: process - named + - + name: network service - dns + check: check_dig!debian.org!-A -t SOA + hosts: denis depends: process - named - name: unwanted process - named