projects
/
mirror
/
dsa-nagios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3efdb13
)
check histhost.pem if available
author
Peter Palfrader
<peter@palfrader.org>
Fri, 2 Oct 2009 18:33:02 +0000
(20:33 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Fri, 2 Oct 2009 18:33:02 +0000
(20:33 +0200)
config/nagios-master.cfg
patch
|
blob
|
history
diff --git
a/config/nagios-master.cfg
b/config/nagios-master.cfg
index
1e85abd
..
de8f84f
100644
(file)
--- 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 ############
####