2013-04-11 22:12:43 +02:00
|
|
|
# Description: MegaRaid Status
|
|
|
|
# Type: Agent or Agent (active)
|
|
|
|
# Key: raid.mega.status
|
|
|
|
# Type of Information: Character
|
|
|
|
# Show Value: As is
|
|
|
|
|
|
|
|
# The value reported is like:
|
|
|
|
# State: OK: 0:0:RAID-1:2 drives:68GB:Optimal 0:1:RAID-5:4 drives:837GB:Optimal Drives:7
|
|
|
|
|
|
|
|
# You can add a simple trigger on this check like:
|
|
|
|
# { hostname:raid.mega.status.str( OK ) }=0
|
2014-07-10 12:55:14 +02:00
|
|
|
UserParameter=raid.mega.status[*],/usr/bin/sudo /var/lib/zabbix/bin/check_raid_megaraid_sudo -s $1 -o $2 -m $3
|
|
|
|
|
|
|
|
# Discover if there's a controller to check
|
|
|
|
UserParameter=raid.mega.discovery,/usr/bin/sudo /var/lib/zabbix/bin/disco_raid_megaraid_sudo
|