Additional scripts for Zabbix agent on Linux to discover and monitor several services
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
605 B

# 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
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