X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=4a5208d23e01cc9caee33aff87f5cb73fd4ff7a5;hb=9b0766f6458bd692c55a387a4e6990ba5c49dc42;hp=c4d01458de2c9d5cb09af38e663f02da0a0603f1;hpb=8a92c811ea1796db723bd7e866d5182c92cd6e63;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index c4d0145..4a5208d 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -28,6 +28,10 @@ servers: address: 130.239.18.97 parents: gw-ubcece hostgroups: layer3-infrastructure + gw-accumu2: + address: 130.242.6.198 + parents: gw-ubcece + hostgroups: layer3-infrastructure gw-aql: address: 141.170.2.17 parents: gw-ubcece @@ -126,6 +130,14 @@ servers: address: 86.59.118.145 parents: gw-ubcece hostgroups: layer3-infrastructure + gw-skroutz1: + address: 154.57.0.249 + parents: gw-ubcece + hostgroups: layer3-infrastructure + gw-skroutz2: + address: 154.57.0.250 + parents: gw-ubcece + hostgroups: layer3-infrastructure gw-ubcece: address: 206.12.19.254 hostgroups: layer3-infrastructure @@ -178,9 +190,9 @@ servers: parents: gw-accumu hostgroups: computers, buildd, hassrvfs, jessie mirror-accumu: - address: 130.239.18.124 - parents: gw-accumu - hostgroups: computers, service, jessie, apache2-hosts, hassrvfs + address: 130.242.6.199 + parents: gw-accumu2 + hostgroups: computers, service, jessie, apache2-hosts, hassrvfs, xinetd-hosts # }}} # {{{ gw-aql eller: @@ -461,7 +473,7 @@ servers: lindsay: address: 5.153.231.36 parents: ganeti-bytemark - hostgroups: computers, service, kvmdomains, jessie, autofs, nfs-client, systemd-timesyncd + hostgroups: computers, service, kvmdomains, stretch, autofs, nfs-client, systemd-timesyncd mirror-bytemark: address: 5.153.231.37 parents: ganeti-bytemark @@ -537,7 +549,7 @@ servers: acker: address: 217.196.149.228 parents: gw-conova - hostgroups: computers, jessie, service, sw-raid + hostgroups: computers, stretch, service, sw-raid mirror-conova: address: 217.196.149.229 parents: gw-conova @@ -780,7 +792,7 @@ servers: handel: address: 82.195.75.104 parents: ganeti3 - hostgroups: computers, service, kvmdomains, apache2-hosts, jessie + hostgroups: computers, service, kvmdomains, apache2-hosts, stretch, postgres96-hosts kaufmann: address: 82.195.75.107 parents: ganeti3 @@ -916,6 +928,12 @@ servers: parents: gw-sil hostgroups: computers, buildd, jessie, hassrvfs # }}} + # {{{ gw-skroutz + mirror-skroutz: + address: 154.57.0.251 + parents: gw-skroutz1, gw-skroutz2 + hostgroups: computers, stretch, service, sw-raid, hassrvfs, apache2-hosts, xinetd-hosts + # }}} # {{{ gw-ubcece sw-ubcece: hostgroups: layer2-infrastructure @@ -963,10 +981,6 @@ servers: address: 206.12.19.218 parents: sw-ubcece-kais hostgroups: computers, bl460, acpid-hosts, service, jessie, drbd-hosts, multipath-hosts - ganeti2: - address: 206.12.19.23 - parents: sw-ubcece-kais - hostgroups: notacomputer # MSA 2000 (2012i) giustini: address: 192.168.2.6 @@ -979,10 +993,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: @@ -1635,6 +1645,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" @@ -1721,6 +1739,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 @@ -1750,8 +1774,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 @@ -1916,6 +1939,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" @@ -3058,7 +3090,7 @@ services: ### - name: process - icinga - nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:60 -c 1: -u nagios -C icinga -a '/usr/sbin/icinga -d /etc/icinga/icinga.cfg'" + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:90 -c 1: -u nagios -C icinga -a '/usr/sbin/icinga -d /etc/icinga/icinga.cfg'" hosts: tchaikovsky ### - @@ -3090,6 +3122,13 @@ 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 + excludehosts: moszumanska + check_interval: 60 + retry_interval: 15 # }}} # }}}