[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Monit to not send alerts during bootup

From: Roose, Marco
Subject: RE: Monit to not send alerts during bootup
Date: Wed, 4 Dec 2013 07:20:51 +0000

Hi Rajesh,

this is an interesting question. I came to Monit  from similar problems. For some reasons some services did not start automatically in their runlevels.


I like the messages in the beginning. So  I’m sure all is fine. But I understand your point of view, too. If your services are never started with the system but with monit the initial start is not an abnormal situation and should not raise an alert. But how would you write this in the configuration? Maybe one could implement some uptime condition like this:


check foobar apache with pidfile /var/run/

start program = “/etc/init.d/foobar start”

stop program  = “/etc/init.d/foobar stop”

if 3 restarts within 6 cycles and uptime > 2 min then



If one could deal with the uptime of a system this could be very usefull for some other things.


Best regards,



From: address@hidden [mailto:address@hidden On Behalf Of Rajesh Shanmugam
Sent: Wednesday, December 04, 2013 6:58 AM
To: address@hidden
Subject: Monit to not send alerts during bootup



I use monits for controlling many of the services. During a system bootup monit starts my services. The problem is even first time when it starts up the services I get alerts. Is there someway I can make sure I do not receive emails for the first few cycles when monit is restarted ?.

Thanks in advance for the help



Attachment: smime.p7s
Description: S/MIME cryptographic signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]