From: Peter Palfrader Date: Fri, 2 Oct 2009 18:33:02 +0000 (+0200) Subject: check histhost.pem if available X-Git-Url: https://wiki.adam-barratt.org.uk/gitweb/?a=commitdiff_plain;h=dc5261e28b5a91fecb4622a89004381dd745176c;p=mirror%2Fdsa-nagios.git check histhost.pem if available --- diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 1e85abd..de8f84f 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -1446,6 +1446,11 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C snmpd" hostgroups: computers + #### + - + name: "host's 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 ############ ####