Hi all,
I have a 2-node setup, with monit enabled on both, and synced via HA.
I have scheduled the 'HA update and reconfigure backup' script to run once an hour (for now). Every time the script runs I get Monit stopped/Monit started notifications from node2, which makes sense.
Is there a way to still use Monit, but not get these hourly notifications? Without turning off 'HA update and reconfigure backup', that is. 8)
Did you find a solution to this? I kind of have the same situation.
The only thing I could find to solve this, is to go to Services -> Monit -> Settings, select "Alert settings" tab, edit the corresponding alert and from the list of "Events" remove "Monit instance changed".
Downside of this is that all notifications related to this event are not sent.
As far as I noticed yet, this is:
- "Monit <version> started"
- "Monit <version> stopped"
- "Monit reloaded"
Thank you, that helps me.