I have monit installed on some user laptops/desktop so it can make sure a couple processes are always running/get restarted as needed. But since the devices are regularly shutdown/restarted I frequently receive a message like below which I do not want or care about, since they are telling me that the system was restarted. I want to suppress the messages that seem to automatically happen when monit starts/stops.
Subject: monit alert -- Monit instance changed Service - system_slaveone Event - Monit instance changed Action - start Date - Thu, 18 Apr 2013 07:53:51 Host - slaveone.example.local (slaveone) Description - Monit started.
But once the system is up, I do want to get some alerts about a couple services/resources that I do want to be notified about, so simply disabling email isn't want I want to do.
How can I suppress the message on startup/restart without completely disabling email?