From dc5261e28b5a91fecb4622a89004381dd745176c Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 2 Oct 2009 20:33:02 +0200 Subject: [PATCH] check histhost.pem if available --- config/nagios-master.cfg | 5 +++++ 1 file changed, 5 insertions(+) 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 ############ #### -- 2.20.1