X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=60e7de336d362374a5f584ff938e28ca432c7375;hb=2260f2817fcdb4c095176da23ca4d52868751c56;hp=1e85abd94ff207a405d6ccb921ad1d26bec92b69;hpb=383a8f90215fe499dfdc014d119e07cccb096253;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 1e85abd..60e7de3 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -455,7 +455,7 @@ servers: address: 130.89.149.226 parents: kassia hostgroups: secondary-IPs - kassia4: + kassia-volatile: address: 130.89.149.227 parents: kassia hostgroups: secondary-IPs @@ -511,7 +511,7 @@ servers: bellini: address: 137.82.84.79 parents: gw-ubc - hostgroups: computers, lenny, hasbootfs, nfs-client, hassrvfs, aacraid + hostgroups: computers, lenny, hasbootfs, nfs-client, hassrvfs, aacraid, heavy-exim morricone: address: 137.82.84.81 parents: gw-ubc @@ -1195,7 +1195,7 @@ services: name: process - spamd - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -d --pidfile=/var/run/spamd.pid'" hostgroups: heavy-exim - excludehosts: rietz, merkel, raff, powell + excludehosts: rietz, merkel, raff, powell, bellini - name: process - spamd - master nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C spamd -a '/usr/sbin/spamd --create-prefs --max-children 20 --min-spare=5 --helper-home-dir -d --pidfile=/var/run/spamd.pid'" @@ -1210,7 +1210,7 @@ services: hosts: liszt hostgroups: heavy-exim depends: process - spamd - master - excludehosts: rietz, merkel, raff + excludehosts: rietz, merkel, raff, bellini # - name: process - spamd - master @@ -1230,7 +1230,7 @@ services: - name: unwanted process - spamd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C spamd" - hosts: merkel, raff + hosts: merkel, raff, bellini ### #- @@ -1446,6 +1446,11 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd" hostgroups: computers + #### + - + name: "host SSL cert" + nrpe: "if [ -e /etc/ssl/certs/thishost.pem ]; then /usr/lib/nagios/plugins/dsa-check-cert-expire /etc/ssl/certs/thishost.pem; else echo 'No thishost.pem on this host.'; fi" + hostgroups: computers ############ Processes/Services that only run on some computers ############ #### @@ -1615,7 +1620,7 @@ services: name: network service - http check: check_http depends: kassia:process - apache2 - master - hosts: kassia-sec, kassia-ftp + hosts: kassia-sec, kassia-ftp, kassia-volatile # apache1 process on merkel