1
High availability / Re: Monit & HA/pfsync
« on: February 22, 2024, 11:25:18 pm »Hi all,
We have a 2-node cluster, and I have set a cronjob so that all services sync from node1 to node2 once an hour.
Monit System Monitoring is one of these services and as soon as I set up the hourly sync I was receiving 2 emails each hour: Monit Stopped & Monit Started.
As you can imagine this was getting quite annoying, so I unchecked Monit on https://node1/system_hasync.php from the list. I figured that as long as the config on node2 doesn't get refreshed, there's no need to Monit to restart on this node.
Apparently I ass-u-me-d wrong: Monit still sends me 2 email each hour. Why is that?
Under the Alert Settings for your email, configure the following settings to disable from sending "instance changed" alerts, but still alert on everything else (see screenshot.)