From 79b737bb4ff1e488c1a3431b08439cf5d84b9c7d Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 21 Mar 2015 09:45:51 +0100 Subject: [PATCH] Nagios did not monitor the new locations of server and client certs - add these checks --- config/nagios-master.cfg | 8 ++++++++ 1 file changed, 8 insertions(+) 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 - -- 2.20.1