On 04.07.2011 11:20, Martin Pala wrote:
Changing reminder option solved problem, now notifications are send
every time when service fails to start.
But why monit changes state of service to "not monitored" when it fails
to start it? When it fails status is changed to "execution failed"
and on the next check changed on "not monitored"
regards,
Krzysiek
Yes, see the "reminder" option for alert statement:
http://www.mmonit.com/monit/documentation/monit.html#setting_an_error_reminder
Regards,
Martin
On Jul 4, 2011, at 9:48 AM,<[email protected]> <[email protected]>
wrote:
Hi,
I have the following problem: when service is restarted by monit couple of
times in short time period, monit automatically changes status of this service
to unmonitored and stops sending notification via emial. But when this service
keeps stopping working monit tries to restart it but don't send notification
about it. Is it possible for monit to send emails regardless how many times and
now often service stops working?
In production we are using centOS, but this problem also occurs in my Ubuntu
workstation.
Please have a look into it, and let me know if I can assist you any further.
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general