How to send e-mail alert with monit on WAN reconnect?

Started by Cyberturtle, June 26, 2023, 01:28:22 PM

Previous topic - Next topic
Hi there,

last days I have spent many hours setting up an e-mail alert with monit for getting e-mails after the WAN has reconnected (or changed it's IP addresses).
Test notifications are working. I have cloned the default "gateway_alert" and changed the test to a created changedstatus one, but mails are not getting out. The only time I'm getting e-mails is during reboot if the monit instance changes.

How is it possible? Any ideas? Thanks in advance.

Cyberturtle