monit-general
[Top][All Lists]
Advanced

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

Re: Question regarding cycles


From: Andreas Oesterer
Subject: Re: Question regarding cycles
Date: Tue, 20 Sep 2005 15:23:14 -0700

Thanks that seems to work, one of these rare cases where the documentation is ahead of the code ;)
 
I have one comment, but it might just work as designed:
 
After the first failure, the status of the service is still listed as "online with all services". After the second failure the alert is sent and the service goes into failed status. After the first failure the service could be regared as having already failed or being in a jeopardy state. 
 
Andreas

 
On 9/20/05, Jan-Henrik Haukeland <address@hidden> wrote:
This functionality is new and only available in the 4.6 beta, just
released. Download from http://www.tildeslash.com/monit/dist/beta/
and tell us how it works out :)

On 20. sep. 2005, at 18.52, Andreas Oesterer wrote:

> I'm dealing with busy HTTP servers that might not always reply. I
> want to only receive an email if the test failed multiple times in
> a row. According to the ducumentation this syntax "should" work:
>
> check host xxx with address xxx.xxx.xxx.xxx
>   if failed port 80 for 3 times within 3 cycles then alert
>
> However I only get the following error:
>
> /etc/monitrc:21: Error: syntax error '3'
>
>
>
> What I'm I doing wrong?
>
>
> Thanks, Andreas
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general

--
Jan-Henrik Haukeland
Mobil +47 97141255



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


reply via email to

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