[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Any Ping Sensitivity Adjust
From: |
M. D. Parker |
Subject: |
RE: Any Ping Sensitivity Adjust |
Date: |
Tue, 2 Aug 2005 16:48:30 -0700 |
I compiled and tried the suggested patch against the CVS head.
What happened during the test was that when started ALL hosts using the ICMP
test were flagged as down (and sent alerts accordingly) both with and
without the COUNT option.
Package was compiled on a Intel x32 running Fedora Core 3 with all current
patches.
==========================================
M. D. Parker
Systems Administrator
General Atomics / Electromagnetic Systems
+1 858 455 2877
address@hidden
-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Martin Pala
Sent: Tuesday, August 02, 2005 1:33 PM
To: address@hidden; This is the general mailing list for monit
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
> address@hidden
>
>
>
>
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general
*** eSafe scanned this email for malicious content ***
*** IMPORTANT: Do not open attachments from unrecognized senders ***
- Any Ping Sensitivity Adjust, M. D. Parker, 2005/08/02
- RE: Any Ping Sensitivity Adjust, Ugo Bellavance, 2005/08/02
- RE: Any Ping Sensitivity Adjust, M. D. Parker, 2005/08/02
- Re: Any Ping Sensitivity Adjust, Daniel, 2005/08/02
- Re: Any Ping Sensitivity Adjust, Martin Pala, 2005/08/03
- Re: Any Ping Sensitivity Adjust, Jan-Henrik Haukeland, 2005/08/03
- Re: Any Ping Sensitivity Adjust, Christian Hopp, 2005/08/03
- Re: Any Ping Sensitivity Adjust, Martin Pala, 2005/08/03
- Port Sensitivity Test too??, M. D. Parker, 2005/08/03
- Re: Port Sensitivity Test too??, Martin Pala, 2005/08/03
- RE: Any Ping Sensitivity Adjust, M. D. Parker, 2005/08/03