logo       

Re: Any Ping Sensitivity Adjust: msg#00006

monitoring.monit.general

Subject: Re: Any Ping Sensitivity Adjust

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
mike.parker@xxxxxx




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

Attachment: icmp_multi.patch
Description: application/unknown

--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise