monit-general
[Top][All Lists]
Advanced

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

Question regarding cycles


From: Andreas Oesterer
Subject: Question regarding cycles
Date: Tue, 20 Sep 2005 09:52:23 -0700

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

reply via email to

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