From 6153c4aa15b20a9f1381fba328a0e250376983ea Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 9 Jul 2014 16:35:15 +0200 Subject: [PATCH] Add missing UserParam for the mdadm discovery script --- zabbix_conf/raid_mdadm.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zabbix_conf/raid_mdadm.conf b/zabbix_conf/raid_mdadm.conf index 8f75437..7ae4e8d 100644 --- a/zabbix_conf/raid_mdadm.conf +++ b/zabbix_conf/raid_mdadm.conf @@ -10,3 +10,6 @@ # You can add a simple trigger on this check like: # { hostname:raid.sw.status.str( OK ) }=0 UserParameter=raid.sw.status[*],/var/lib/zabbix/bin/check_raid_mdadm --device=$1 + +# This is a discovery rule to find configured RAID devices +UserParameter=raid.sw.discovery,/var/lib/zabbix/bin/disco_raid_mdadm