monit-general
[Top][All Lists]
Advanced

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

Re: Any Ping Sensitivity Adjust


From: Martin Pala
Subject: Re: Any Ping Sensitivity Adjust
Date: Tue, 02 Aug 2005 22:33:17 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1

OK, here is patch which should solve the problem. It is now possible to specify via new 'count' parameter how many echo requests should monit send. In the case that at least one reply is received, the test passed (thus you can tune the loss tolerance using 'count' option). Monit now sends 3 echo requests in one cycle => 66% loss is allowed.

Example:

 check host foobar with address www.foobar.org
   if failed icmp type echo count 5 with timeout 10 seconds then alert
   if failed port 80 then alert


Can you try it? (it's for current cvs version, you can find the cvs access instructions here: http://savannah.nongnu.org/cvs/?group=monit)

Thanks,
Martin




M. D. Parker wrote:
From my understanding, the ICMP or port tests only perform ONE probe before
announcing failure --> alert.
I am getting a lot of transient messages that fail one cycle, only to be ok
on the next cycle resulting in a lot of messages at times.  Is there
currently a way of configuring the host check so that if n-consecutive
failures you get an alert notification?

What I am using now:

check host myhost
      address myhost.domain.com
      if failed icmp type echo with timeout 5 seconds then alert

Thanks for your help
==========================================

M. D. Parker
Systems Administrator
General Atomics / Electromagnetic Systems
+1 858 455 2877
address@hidden




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

Attachment: icmp_multi.patch
Description: application/unknown


reply via email to

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