I'm using snmp to monitor RAID cards on servers. One of the paramaters being monitored is the RAID rebuild status. When the RAID is not being rebuilt, this snmp value = 0. When the RAID is being rebuilt, this value is the integer percent complete (1-100).
My question is: how to do the following:
How to do this?
My question is: how to do the following:
- Send an email saying "rebuild in progress" when Zabbix notices a non-zero value
- When the rebuild finishes, send another email saying "rebuild complete"
- If the rebuild status is 0, do not send any emails unless the previous status was non-zero
How to do this?
Comment