Hi Amit,

The default timeout if one isnt specified is 30 seconds i think. The only
thing obvious from your email is that your " are in the wrong place. it
should be.

start program = "/etc/init.d/<program> start" with timeout 360 seconds

360 seconds is a long wait but if this doesnt work may be worth posting
your entire check.

Regards

Wayne

On 22 May 2012 12:44, Amit Naudiyal <[email protected]> wrote:

> Dear All,
>
> Please advise if there is any configuration by which I can skip alerts for
> few starting cycles.
> Like we have few services which we manage through Monit but those
> application take time to start and on next cycle, monit starts sending mail
> for them.
> We want, monit can skip alerts particularly for those services for defined
> cycles before actually sending alerts for them.
>
> The option "start program = /etc/init.d/<program> start" with timeout 
> 360secondsdoes not seems to be working. Program actually takes few seconds to 
> start
> with a pid file. Monit does not find pid and start sending mail even when
> program is under start process.
>
>
> Regards,
> Amit
>
>
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
>
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to