Monitor multiple WAN Gateways

Started by jfou1987, July 11, 2025, 02:43:26 PM

Previous topic - Next topic
Hello,

Hope my question wasn't already asked, but i didn't found any exact situation.

I have 3 ISP connected, each monitored to a DNS IP (8.8.8.8/1.1.1.1/1.0.0.1)
Failover is working fine. But i'd like to receive and email when each connection goes down and when it goes up again.

The default gateway alert in the monit service settings only notify me when one is going down. If an other one is going down, i didn't received information. Of course, in this case, one connection is still available to send out the e-mail.

Is there anybody found a suitable option to monitor this crucial information ?

I have only systems with 2 ISPs and up to 4 Gateways because of IPv6 and IPv4. Usually I get the failed (with details) and succeeded (very generic) email on change. But I can not recall (or find any emails) for a cascade of failures.
If an uplink goes down, then in the on email both IPv6 + IPv4 are reported. But there could be cases that only one protocol may be down as I also monitor IP addresses outside of my ISPs network.

In Services / Monit / Settings in the "Service Settings" tab I have enabled the gateway_alert.