[Solved] 23.7.2 - Monit repeatedly emailing about Interface Down (backup WAN)

Started by rkubes, August 25, 2023, 02:53:09 PM

Previous topic - Next topic
I have two WAN in a failover group. The primary is Ethernet and is up 99.99% of the time. The secondary is Wi-Fi (to connect to a hotspot), and is down (not connected) 99.99% of the time. I have them configured so that when my Internet goes down, I can turn on the hotspot and the router will automatically connect to it and provide backup Internet.

Prior to updating last night to 23.7.2 I wasn't getting any alerts for the Interface down. However, after updating it's now sending me alerts every 20 minutes that the secondary WAN is down and being removed from the Failover group.

I only want to be alerted when either WAN either comes up, or goes down. I don't want to receive alerts every 20 minutes reminding me that it is still down.

Aside from disabling the alert completely, is there any configuration that I can change to avoid the repeating alert?

Have you set a reminder in alert settings?
Refer to https://docs.opnsense.org/manual/monit.html Alert Settings
i am not an expert... just trying to help...

Quote from: tiermutter on August 25, 2023, 04:50:54 PM
Have you set a reminder in alert settings?
Refer to https://docs.opnsense.org/manual/monit.html Alert Settings

Thank you for this direction. I did see that a reminder was set for "10".

I've now split out two different alerts, one with the reminder set to '10' for everything that's not a "status failed" event; so I'll continue to get those reminders. Then one with the reminder set to '0' for "status failed" alerts.

I'm hoping this will resolve the issue.