From: Peter Palfrader Date: Sat, 21 Mar 2015 08:45:51 +0000 (+0100) Subject: Nagios did not monitor the new locations of server and client certs - add these checks X-Git-Url: https://wiki.adam-barratt.org.uk/gitweb/?a=commitdiff_plain;h=79b737bb4ff1e488c1a3431b08439cf5d84b9c7d;p=mirror%2Fdsa-nagios.git Nagios did not monitor the new locations of server and client certs - add these checks --- diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index e031cb1..e68723c 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -1935,6 +1935,14 @@ services: 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 + - + name: "host SSL cert - debian server" + nrpe: "if [ -e /etc/ssl/debian/certs/thishost-server.crt ]; then /usr/lib/nagios/plugins/dsa-check-cert-expire /etc/ssl/debian/certs/thishost-server.crt; else echo 'No thishost-server.crt on this host.'; fi" + hostgroups: computers + - + 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 # }}} # {{{ HW health/raid -