#Don't alert immediately, wait to see if recovery will happen

1 messages · Page 1 of 1 (latest)

hollow condor
#

Hi,

I have a script that disables mysql_replication on certain servers each hour for about 10 minutes. This kicks off the 'mysql_replication' health check almost instantly. I want to modify this so that I want to wait 10 minutes and only then generate an alert if it's still in the bad state.

How can I do this?

hushed cape
#

Hi @hollow condor ,
Check my comment here where I helped another user with similar a situation.
https://community.netdata.cloud/t/alert-status-escalation/6027/2

Netdata Community Forums

Hello @Richard_Barrantes, The configuration you shared is pretty close to what you desire, it just needs small changes. If you want the alert to check on a time window you need change the query (lookup field) . Changing delay field would just delay the notification but the alert will still trigger for the average of the last 5min. Since query...