X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=65f737eb7da7d49078013605558f7f0a63247100;hb=9b2891ae2b321a2854f031cff606caa21d79b512;hp=be544fc9ff9f149d02d4b35254f47e468dcce2b7;hpb=d5b681c91d9f41f2f78ebfa2a92b09a26079f52c;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index be544fc..65f737e 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -303,7 +303,7 @@ servers: pejacevic: address: 5.153.231.6 parents: gw-bytemark - hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, nfs-client, autofs + hostgroups: computers, service, kvmdomains, wheezy, apache2-hosts, nfs-client, autofs, apache-https contacts: holger piu-slave-bm-a: address: 5.153.231.7 @@ -322,6 +322,30 @@ servers: address: 5.153.231.11 parents: gw-bytemark hostgroups: computers, hassrvfs, kvmdomains, wheezy, autofs, nfs-client + backuphost: + address: 5.153.231.12 + parents: gw-bytemark + hostgroups: computers, hassrvfs, kvmdomains, wheezy + philp: + address: 5.153.231.13 + parents: gw-bytemark + hostgroups: computers, hassrvfs, kvmdomains, wheezy, apache2-hosts + couper: + address: 5.153.231.14 + parents: gw-bytemark + hostgroups: computers, hassrvfs, kvmdomains, wheezy, apache2-hosts, nfs-client, autofs + rainier: + address: 5.153.231.15 + parents: gw-bytemark + hostgroups: computers, kvmdomains, wheezy + rapoport: + address: 5.153.231.16 + parents: gw-bytemark + hostgroups: computers, kvmdomains, wheezy + delfin: + address: 5.153.231.17 + parents: gw-bytemark + hostgroups: computers, hassrvfs, kvmdomains, wheezy, apache2-hosts # }}} # {{{ gw-c3sl santoro: @@ -616,14 +640,6 @@ servers: address: 86.59.118.152 parents: gw-sil hostgroups: computers, buildd, wheezy - merikanto: - address: 86.59.118.147 - parents: gw-sil - hostgroups: computers, dl360, acpid-hosts, nfs-client, rsyncd-hosts, xinetd-hosts, service, squeeze, autofs - merikanto2: - address: 86.59.118.150 - parents: merikanto - hostgroups: secondary-IPs # }}} # {{{ gw-telegraaf2 vasks: @@ -720,14 +736,10 @@ servers: address: 206.12.19.113 parents: ganeti2 hostgroups: computers, service, bind9-hosts, kvmdomains, wheezy - morricone: - address: 206.12.19.9 - parents: sw-ubcece-kais - hostgroups: computers, hasbootfs, hasvarfs, hassrvfs, aacraid, rsyncd-hosts, heavy-exim, xinetd-hosts, apache2-hosts, service, squeeze, uploadqueue stabile: address: 206.12.19.13 parents: sw-ubcece-kais - hostgroups: computers, hashomefs, sw-raid, rsyncd-hosts, postgres84-hosts, apache2-hosts, xinetd-hosts, service, nfs-server, squeeze, hassrvfs + hostgroups: computers, hashomefs, sw-raid, rsyncd-hosts, apache2-hosts, xinetd-hosts, service, nfs-server, squeeze, hassrvfs paganini: address: 206.12.19.10 parents: sw-ubcece-kais @@ -878,10 +890,6 @@ servers: address: 206.12.19.143 parents: ganeti2 hostgroups: computers, service, kvmdomains, wheezy, hassrvfs, apache2-hosts, apache-https - coincy: - address: 206.12.19.144 - parents: ganeti2 - hostgroups: computers, service, kvmdomains, wheezy stanley: address: 206.12.19.145 parents: ganeti2 @@ -1313,7 +1321,7 @@ services: name: disk usage on /var/lib/postgresql servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var/lib/postgresql" - hosts: stabile, sibelius, busoni, buxtehude + hosts: sibelius, busoni, buxtehude - name: disk usage on /var/log servicegroups: diskspace @@ -1324,12 +1332,6 @@ services: servicegroups: diskspace nrpe: "/usr/lib/nagios/plugins/check_disk 75 90 /var/spool/postfix" hosts: bendel - - #- - # name: disk usage on /srv/morgue.debian.org - # servicegroups: diskspace - # nrpe: "/usr/lib/nagios/plugins/check_disk 90 95 /srv/morgue.debian.org" - # hosts: stabile - name: disk usage on /srv/mirrors servicegroups: diskspace @@ -1401,6 +1403,7 @@ services: servicegroups: backup nrpe: "sudo /usr/lib/nagios/plugins/dsa-check-dabackup" hostgroups: computers + excludehosts: backuphost normal_check_interval: 60 max_check_attempts: 2 retry_check_interval: 5 @@ -1408,7 +1411,7 @@ services: name: backup server config servicegroups: backup nrpe: "/usr/lib/nagios/plugins/dsa-check-dabackup-server" - hosts: beethoven + hosts: beethoven, backuphost normal_check_interval: 60 max_check_attempts: 2 retry_check_interval: 5 @@ -1933,7 +1936,7 @@ services: normal_check_interval: 60 - name: setup - local hostname etc-hosts - nrpe: 'if getent ahosts `hostname` | grep -q 127.0; then echo "Warning: local hostname resolves to 127/8 address"; exit 1; else echo "OK: Hostname resolves to non-127/8 address."; exit 1; fi' + nrpe: 'if getent ahosts `hostname` | grep -q 127.0; then echo "Warning: local hostname resolves to 127/8 address"; exit 1; else echo "OK: Hostname resolves to non-127/8 address."; exit 0; fi' hostgroups: computers excludehosts: wagner, vasks normal_check_interval: 60 @@ -2228,17 +2231,12 @@ services: check: check_tcp!873 hostgroups: rsyncd-hosts depends: process - xinetd - excludehosts: merikanto, rietz + excludehosts: rietz - name: network service - rsync check: check_tcp!873 hosts: rietz2 depends: rietz:process - xinetd - - - name: network service - rsync - check: check_tcp!873 - hosts: merikanto2 - depends: merikanto:process - xinetd - name: network service - rsync check: check_tcp!873 @@ -2422,7 +2420,8 @@ services: - name: postgresql backups nrpe: "/usr/bin/sudo -u debbackup /usr/lib/nagios/plugins/dsa-check-backuppg" - hosts: beethoven + #hosts: beethoven + hosts: backuphost #### #### - @@ -2518,8 +2517,8 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rpc.mountd -a '/sbin/rpc.mountd'" hostgroups: nfs-server - - name: nfs server stabile reachable - nrpe: "/usr/lib/nagios/plugins/check_ping -H 192.168.2.13 -w 50,10% -c 200,30%" + name: nfs server glinka reachable + nrpe: "/usr/lib/nagios/plugins/check_ping -H 192.168.2.76 -w 50,10% -c 200,30%" hosts: quantz # -