From e1647ab13121d18392f045c7677c9697ed709937 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 28 Aug 2017 13:32:33 +0200 Subject: [PATCH] Use cached result for dsa-check-hpssacli if it exists --- config/nagios-master.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 6b3862f..d14dcae 100644 --- 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-hpssacli" + 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; fi" check_interval: 120 hostgroups: hpnewraid ### -- 2.20.1