monit-general
[Top][All Lists]
Advanced

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

RE: monit: instead of timeout after restart failures, can I have it aler


From: Sennott, Mark
Subject: RE: monit: instead of timeout after restart failures, can I have it alert?
Date: Tue, 17 Jul 2007 12:06:57 -0500

So should I just cut the whole line out of my config, or just the last
word of the line? 

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf
Of Martin Pala
Sent: Tuesday, July 17, 2007 12:02 PM
To: This is the general mailing list for monit
Subject: Re: monit: instead of timeout after restart failures,can I have
it alert?

Yes - just don't use the timeout statement, which serves as give-up
trigger

Martin


On Jul 17, 2007, at 5:42 PM, Sennott, Mark wrote:

> That's cool that it alerts, but I would also like to have it NOT give 
> up trying to restart. This is for an app that is dependent on a db, so

> when I do db maintenance I would like for monit to just patiently keep

> retrying until the db comes back and the app reconnects. Is there a 
> way to do this?
>
>
>
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On 
> Behalf Of Martin Pala
> Sent: Tuesday, July 17, 2007 2:44 AM
> To: This is the general mailing list for monit
> Subject: Re: monit: instead of timeout after restart failures,can I 
> have it alert?
>
> Hi,
>
> Monit will do unmonitor *and* send alert on timeout (it is similar for
> other action - alert is implicit)
>
> Martin
>
> On Jul 16, 2007, at 6:39 PM, Sennott, Mark wrote:
>
>> I have this in my config:
>>
>> if 3 restarts within 5 cycles then timeout
>>
>>
>> But I really want to do this:
>>
>> if 3 restarts within 5 cycles then alert
>>
>> But the monit program doesn't like the syntax. Anyone know a
>> workaround?
>>
>>
>> --
>> To unsubscribe:
>> http://lists.nongnu.org/mailman/listinfo/monit-general
>
>
>
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general
>
>
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general



--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

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