X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=0d4803b0a50749615ac639069b927fdf5e7e9fd5;hb=1eb3784301ee9ae85bd74724b66f9f1e2495187b;hp=85b1d4607e9620a314f76714427332816f9cd66d;hpb=95cb68cdda12c566021eed0af64af7435ddaa21c;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 85b1d46..0d4803b 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -177,7 +177,7 @@ servers: address: 130.239.18.121 parents: gw-accumu hostgroups: computers, buildd, hassrvfs, jessie - boman: + mirror-accumu: address: 130.239.18.124 parents: gw-accumu hostgroups: computers, service, jessie, apache2-hosts, hassrvfs @@ -462,10 +462,18 @@ servers: address: 5.153.231.36 parents: ganeti-bytemark hostgroups: computers, service, kvmdomains, jessie, autofs, nfs-client, systemd-timesyncd - bilbao: + mirror-bytemark: address: 5.153.231.37 parents: ganeti-bytemark - hostgroups: computers, service, kvmdomains, jessie, systemd-timesyncd, apache2-hosts, hassrvfs + hostgroups: computers, service, kvmdomains, jessie, systemd-timesyncd, apache2-hosts, hassrvfs, xinetd-hosts + mirror-bytemark-debian: + address: 5.153.231.45 + hostgroups: secondary-IPs + parents: mirror-bytemark + mirror-bytemark-security: + address: 5.153.231.46 + hostgroups: secondary-IPs + parents: mirror-bytemark sor: address: 5.153.231.38 parents: ganeti-bytemark @@ -533,7 +541,15 @@ servers: mirror-conova: address: 217.196.149.229 parents: gw-conova - hostgroups: computers, jessie, service, apache2-hosts + hostgroups: computers, jessie, service, apache2-hosts, xinetd-hosts + mirror-conova-debian: + address: 217.196.149.232 + hostgroups: secondary-IPs + parents: mirror-conova + mirror-conova-security: + address: 217.196.149.233 + hostgroups: secondary-IPs + parents: mirror-conova arm-conova-01: address: 217.196.149.230 @@ -764,7 +780,7 @@ servers: handel: address: 82.195.75.104 parents: ganeti3 - hostgroups: computers, service, kvmdomains, apache2-hosts, jessie + hostgroups: computers, service, kvmdomains, apache2-hosts, stretch kaufmann: address: 82.195.75.107 parents: ganeti3 @@ -963,10 +979,6 @@ servers: # address: 206.12.19.120 # parents: sw-ubcece-kais # hostgroups: computers, service, hasbootfs, kvmdomains, squeeze, hasvicepa - glinka: - address: 206.12.19.126 - parents: ganeti2 - hostgroups: computers, service, kvmdomains, jessie, apache2-hosts, apache-https, nfs-client, autofs, xinetd-hosts # }}} # {{{ ubc-gateway ubc-enc2bl01: @@ -985,14 +997,15 @@ servers: address: 209.87.16.10 parents: ubc-gateway hostgroups: computers, bl460g8, service, jessie, multipath-hosts, hpnewraid + rachmaninoff: address: 209.87.16.20 parents: ubc-gateway - hostgroups: computers, service, kvmdomains, jessie + hostgroups: computers, service, kvmdomains, jessie, systemd-timesyncd x86-ubc-01: address: 209.87.16.21 parents: ubc-gateway - hostgroups: computers, buildd, hassrvfs, kvmdomains, jessie + hostgroups: computers, buildd, hassrvfs, kvmdomains, jessie, systemd-timesyncd finzi: address: 209.87.16.22 parents: ubc-gateway @@ -1006,67 +1019,72 @@ servers: elgar: address: 209.87.16.24 parents: ubc-gateway - hostgroups: computers, service, kvmdomains, jessie + hostgroups: computers, service, kvmdomains, jessie, systemd-timesyncd gombert: address: 209.87.16.25 parents: ubc-gateway - hostgroups: computers, service, kvmdomains, jessie, apache2-hosts, apache-https + hostgroups: computers, service, kvmdomains, jessie, apache2-hosts, apache-https, systemd-timesyncd nono: address: 209.87.16.26 parents: ubc-gateway - hostgroups: computers, service, kvmdomains, jessie, heavy-exim, xinetd-hosts, apache2-hosts, apache-https, broken_https_default_vhost, hassrvfs + hostgroups: computers, service, kvmdomains, jessie, heavy-exim, xinetd-hosts, apache2-hosts, apache-https, broken_https_default_vhost, hassrvfs, systemd-timesyncd reger: address: 209.87.16.27 parents: ubc-gateway - hostgroups: computers, service, kvmdomains, jessie, apache2-hosts, apache-https, heavy-exim + hostgroups: computers, service, kvmdomains, jessie, apache2-hosts, apache-https, heavy-exim, systemd-timesyncd diabelli: address: 209.87.16.28 parents: ubc-gateway - hostgroups: computers, service, kvmdomains, jessie, apache2-hosts, apache-https, broken_https_default_vhost + hostgroups: computers, service, kvmdomains, jessie, apache2-hosts, apache-https, broken_https_default_vhost, systemd-timesyncd menotti: address: 209.87.16.29 parents: ubc-gateway - hostgroups: computers, service, kvmdomains, jessie, hassrvfs, apache2-hosts, apache-https + hostgroups: computers, service, kvmdomains, jessie, hassrvfs, apache2-hosts, apache-https, systemd-timesyncd danzi: address: 209.87.16.30 parents: ubc-gateway - hostgroups: computers, service, kvmdomains, jessie, postgres94-hosts, xinetd-hosts + hostgroups: computers, service, kvmdomains, jessie, postgres94-hosts, xinetd-hosts, systemd-timesyncd geo2: address: 209.87.16.31 parents: ubc-gateway - hostgroups: computers, service, bind9-hosts, kvmdomains, jessie + hostgroups: computers, service, bind9-hosts, kvmdomains, jessie, systemd-timesyncd lotti: address: 209.87.16.32 parents: ubc-gateway - hostgroups: computers, service, kvmdomains, jessie, hassrvfs + hostgroups: computers, service, kvmdomains, jessie, hassrvfs, systemd-timesyncd muffat: address: 209.87.16.33 parents: ubc-gateway - hostgroups: computers, service, kvmdomains, jessie, spamd, heavy-exim, mail-relay + hostgroups: computers, service, kvmdomains, jessie, spamd, heavy-exim, mail-relay, systemd-timesyncd sonntag: address: 209.87.16.34 parents: ubc-gateway - hostgroups: computers, service, kvmdomains, jessie, nfs-client, autofs + hostgroups: computers, service, kvmdomains, jessie, nfs-client, autofs, systemd-timesyncd tchaikovsky: address: 209.87.16.35 parents: ubc-gateway - hostgroups: computers, general, apache2-hosts, kvmdomains, apache-https, jessie + hostgroups: computers, general, apache2-hosts, kvmdomains, apache-https, jessie, systemd-timesyncd gretchaninov: address: 209.87.16.36 parents: ubc-gateway - hostgroups: computers, general, kvmdomains, jessie, hassrvfs, nfs-server, apache2-hosts, xinetd-hosts, apache-https + hostgroups: computers, general, kvmdomains, jessie, hassrvfs, nfs-server, apache2-hosts, xinetd-hosts, apache-https, systemd-timesyncd tye: address: 209.87.16.37 parents: ubc-gateway - hostgroups: computers, service, kvmdomains, jessie, heavy-exim, apache2-hosts, apache-https, nfs-client, autofs, hassrvfs + hostgroups: computers, service, kvmdomains, jessie, heavy-exim, apache2-hosts, apache-https, nfs-client, autofs, hassrvfs, systemd-timesyncd ullmann: address: 209.87.16.38 parents: ubc-gateway - hostgroups: computers, service, kvmdomains, jessie, postgres94-hosts, nfs-client, apache2-hosts, autofs, apache-https + hostgroups: computers, service, kvmdomains, jessie, postgres94-hosts, nfs-client, apache2-hosts, autofs, apache-https, systemd-timesyncd buxtehude: address: 209.87.16.39 parents: ubc-gateway - hostgroups: computers, service, kvmdomains, jessie, hassrvfs, apache2-hosts, heavy-exim, postgres94-hosts, hasvarlogfs, apache-https, spamd, nfs-server + hostgroups: computers, service, kvmdomains, jessie, hassrvfs, apache2-hosts, heavy-exim, postgres94-hosts, hasvarlogfs, apache-https, spamd, nfs-server, systemd-timesyncd + piu-slave-ubc-01: + address: 209.87.16.42 + parents: ubc-gateway + hostgroups: computers, service, kvmdomains, jessie, nfs-client, autofs, systemd-timesyncd + contacts: holger # }}} # {{{ gw-umn #saens: @@ -1613,6 +1631,14 @@ services: 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" + hostgroups: computers + - + name: free memory - percent + nrpe: "/usr/lib/nagios/plugins/dsa-check-memory -m pct" + hostgroups: computers - name: process - getty nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C getty -a /sbin/getty" @@ -1699,6 +1725,12 @@ services: 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 + - + name: network backup status - draghi + servicegroups: backup + nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile -a 2h /home/debbackup/nagios-status" + hosts: draghi + #### - name: process - acc.umu.se backup @@ -1728,8 +1760,7 @@ services: - name: upgraded libraries servicegroups: security - nrpe: "sudo /usr/local/sbin/dsa-check-libs" - #nrpe: "sudo /usr/lib/nagios/plugins/dsa-check-libs" + nrpe: "sudo /usr/lib/nagios/plugins/dsa-check-libs" hostgroups: computers excludehostgroups: freebsd check_interval: 60 @@ -1894,6 +1925,15 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u daemon -C atd -a /usr/sbin/atd" hostgroups: computers ### + - + 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 + ### - name: process - cron nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:3 -c 1: -u root -C cron -a /usr/sbin/cron" @@ -2008,10 +2048,6 @@ services: name: ganeti - job watcher paused nrpe: "/usr/lib/nagios/plugins/negate /usr/lib/nagios/plugins/dsa-check-file -f /var/lib/ganeti/watcher.pause" hostgroups: computers - - - name: unwanted process - irqbalance - nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C irqbalance" - hostgroups: computers - name: unwanted process - openvpn nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C openvpn" @@ -2487,12 +2523,22 @@ services: name: network service - ftp check: check_ftp hostgroups: uploadqueue, security_mirror - excludehosts: klecker + excludehosts: klecker, mirror-isc, mirror-umn - name: network service - ftp check: check_ftp hosts: klecker-ftp depends: klecker:process - xinetd + - + name: network service - ftp + check: check_ftp + hosts: mirror-umn2 + depends: mirror-umn:process - xinetd + - + name: network service - ftp + check: check_ftp + hosts: mirror-isc2 + depends: mirror-isc:process - xinetd # }}} # {{{ postgres - @@ -3062,6 +3108,12 @@ services: check_interval: 60 max_check_attempts: 2 retry_interval: 5 + - + name: puppet - agent check + nrpe: "/usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/puppet-agent" + hostgroups: computers + check_interval: 60 + retry_interval: 15 # }}} # }}}