Change path of state file
authorPeter Palfrader <peter@palfrader.org>
Mon, 28 Aug 2017 11:47:20 +0000 (13:47 +0200)
committerPeter Palfrader <peter@palfrader.org>
Mon, 28 Aug 2017 11:47:20 +0000 (13:47 +0200)
config/nagios-master.cfg

index d14dcae..ec86a04 100644 (file)
@@ -2143,7 +2143,7 @@ services:
   -
     name: HW - hpssacli status
     servicegroups: raid
-    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"
+    nrpe: "if [ -e /var/cache/dsa/nagios/dsa-check-hpssacli ] ; then /usr/lib/nagios/plugins/dsa-check-statusfile /var/cache/dsa/nagios/dsa-check-hpssacli ; else /usr/lib/nagios/plugins/dsa-check-hpssacli; fi"
     check_interval: 120
     hostgroups: hpnewraid
   ###