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.
 
 

17 lines
594 B

# Description: HP Smart Array status
# Type: Agent or Agent (active)
# Key: raid.hp.status
# Type of Information: Character
# Show Value: As is
# The value reported is like:
# OK
# If an error is found, the output will be:
# CRITICAL: <line with the first error>
# You can add a simple trigger on this check like:
# { hostname:raid.hp.status.str( OK ) }=0
UserParameter=raid.hp.status[*],/usr/bin/sudo /var/lib/zabbix/bin/check_raid_hp_sudo --slot=$1
# This is a discovery rule to find which slot are used
UserParameter=raid.hp.discovery,/usr/bin/sudo /var/lib/zabbix/bin/disco_raid_hp_sudo