Hello,
I've been using Zabbix for quite a while now and today I was requested to set up a software raid monitoring. I have set up a script that will grep the raid status and report back to Zabbix with the state, like: clean, resyncing, degraded, etc.
I have set up a trigger that looks for values like this: find(/example-host/raid.status. md0, 1,,"resyncing")=1.
Everything is working as expected, when the returned status contains "resyncing" I am notified via Slack (this is the method I chose for notification instead of email).
Since I have been receiving many notifications related resyncing, I wanted to delay the notification, only if the raid array is still resyncing after 5 hours the first resyncing status has been reported.
How can I achieve this, but still get the notifications from the other triggers immediately?
I've been using Zabbix for quite a while now and today I was requested to set up a software raid monitoring. I have set up a script that will grep the raid status and report back to Zabbix with the state, like: clean, resyncing, degraded, etc.
I have set up a trigger that looks for values like this: find(/example-host/raid.status. md0, 1,,"resyncing")=1.
Everything is working as expected, when the returned status contains "resyncing" I am notified via Slack (this is the method I chose for notification instead of email).
Since I have been receiving many notifications related resyncing, I wanted to delay the notification, only if the raid array is still resyncing after 5 hours the first resyncing status has been reported.
How can I achieve this, but still get the notifications from the other triggers immediately?
Comment