X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=inline;f=config%2Fnagios-master.cfg;h=014682771ded515c047d0c063aae4db4b23ee218;hb=0d4facf3ed4004b2f32d78c6fe48dba3c5ae4082;hp=44203194ca0a1e7d81092ff956150ef965207a14;hpb=8a8b42c042f34784422d88f19013a5cd697f1733;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 4420319..0146827 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -386,6 +386,10 @@ servers: address: 5.153.231.11 parents: ganeti-bytemark hostgroups: computers, hassrvfs, kvmdomains, jessie, autofs, nfs-client, uploadqueue, xinetd-hosts, apache-https, apache2-hosts + backuphost: + address: 5.153.231.12 + parents: ganeti-bytemark + hostgroups: computers, hassrvfs, kvmdomains, jessie philp: address: 5.153.231.13 parents: ganeti-bytemark @@ -618,6 +622,14 @@ servers: address: 194.177.211.203 parents: ganeti-grnet hostgroups: computers, buildd, hassrvfs, kvmdomains, jessie + gigault: + address: 194.177.211.204 + parents: ganeti-grnet + hostgroups: computers, service, hassrvfs, kvmdomains, jessie + vittoria: + address: 194.177.211.205 + parents: ganeti-grnet + hostgroups: computers, service, hassrvfs, kvmdomains, jessie # }}} # {{{ gw-isc schein: @@ -801,10 +813,6 @@ servers: parents: pieta hostgroups: computers, jessie, hassrvfs, porterbox # malo TODO - mayer: - address: 140.211.166.78 - parents: gw-osuosl - hostgroups: computers, buildd, hasbootfs, jessie # mayr: # address: 140.211.166.58 # parents: gw-osuosl @@ -1498,7 +1506,7 @@ services: - name: disk usage on /srv/ftp-master.debian.org servicegroups: diskspace - nrpe: "/usr/lib/nagios/plugins/check_disk 85 95 /srv/ftp-master.debian.org" + nrpe: "/usr/lib/nagios/plugins/check_disk 93 96 /srv/ftp-master.debian.org" hosts: franck - name: disk usage on /storage/snapshot-farm-1 @@ -1615,7 +1623,7 @@ services: servicegroups: backup nrpe: "sudo /usr/lib/nagios/plugins/dsa-check-dabackup" hostgroups: computers - excludehosts: storace + excludehosts: backuphost, storace, backuphost normal_check_interval: 60 max_check_attempts: 2 retry_check_interval: 5 @@ -1623,7 +1631,7 @@ services: name: backup server config servicegroups: backup nrpe: "/usr/lib/nagios/plugins/dsa-check-dabackup-server" - hosts: storace + hosts: backuphost, storace, backuphost normal_check_interval: 60 max_check_attempts: 2 retry_check_interval: 5 @@ -1981,6 +1989,10 @@ services: name: "host SSL cert - debian client" nrpe: "if [ -e /etc/ssl/debian/certs/thishost.crt ]; then /usr/lib/nagios/plugins/dsa-check-cert-expire /etc/ssl/debian/certs/thishost.crt; else echo 'No thishost.crt on this host.'; fi" hostgroups: computers + - + name: "sso CRL" + nrpe: "if [ -e /var/lib/dsa/sso/ca.crl ]; then /usr/lib/nagios/plugins/dsa-check-crl-expire -w 129600 -c 86400 /var/lib/dsa/sso/ca.crl; else echo 'No sso/ca.crl on this host.'; fi" + hostgroups: computers # }}} # {{{ HW health/raid - @@ -2340,6 +2352,12 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:50 -c 1:100 -u www-data -a /usr/sbin/apache2" hostgroups: apache2-hosts depends: process - apache2 - master + excludehosts: klecker + - + name: process - apache2 - worker + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:80 -c 1:150 -u www-data -a /usr/sbin/apache2" + hosts: klecker + depends: process - apache2 - master - name: unwanted process - apache2 nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C apache2" @@ -2432,7 +2450,7 @@ services: - name: postgresql backups nrpe: "/usr/bin/sudo -u debbackup /usr/lib/nagios/plugins/dsa-check-backuppg" - hosts: storace + hosts: storace, backuphost # }}} # {{{ power # -