X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=config%2Fnagios-master.cfg;h=c0b2b4b616be30907ef0bb3013129767b661d738;hb=104efbd358476f8c13b217e210b15c61a568ab8b;hp=d5546fef7192a446bb29f54483abdac396ad5975;hpb=58ab394e4a428d282cc362ca4b81c8d3768460a6;p=mirror%2Fdsa-nagios.git diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index d5546fe..c0b2b4b 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -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 @@ -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 ############ #### @@ -1794,7 +1799,6 @@ services: nrpe: "/usr/lib/nagios/plugins/check_http -H localhost -p 8080 -S -C 14 -t 45" hosts: samosa - - #### #- # name: process - xenconsoled