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:
d40a327
)
Use cached result for dsa-check-hpssacli if it exists
author
Peter Palfrader
<peter@palfrader.org>
Mon, 28 Aug 2017 11:32:33 +0000
(13:32 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Mon, 28 Aug 2017 11:32:33 +0000
(13:32 +0200)
config/nagios-master.cfg
patch
|
blob
|
history
diff --git
a/config/nagios-master.cfg
b/config/nagios-master.cfg
index
6b3862f
..
d14dcae
100644
(file)
--- a/
config/nagios-master.cfg
+++ b/
config/nagios-master.cfg
@@
-2143,7
+2143,7
@@
services:
-
name: HW - hpssacli status
servicegroups: raid
- nrpe: "
/usr/lib/nagios/plugins/dsa-check-hpssacl
i"
+ nrpe: "
if [ -e /var/cache/dsa/nagios/hpssacli ] ; then /usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/hpssacli ; else /usr/lib/nagios/plugins/dsa-check-hpssacli; f
i"
check_interval: 120
hostgroups: hpnewraid
###