Change path of state file
[mirror/dsa-nagios.git] / config / nagios-master.cfg
index f7015b5..ec86a04 100644 (file)
@@ -778,10 +778,6 @@ servers:
     address: 82.195.75.107
     parents: ganeti3
     hostgroups: computers, service, apache2-hosts, rsyncd-systemd-hosts, kvmdomains, stretch, apache-https
-  stockhausen:
-    address: 82.195.75.108
-    parents: ganeti3
-    hostgroups: computers, service, kvmdomains, jessie
   ganeti3:
     address: 82.195.75.111
     parents: gw-manda
@@ -2147,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/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
   ###