[Nagiosplug-devel] [ nagiosplug-Patches-2347686 ] check_fping: expose fping timeout option (-t)
SourceForge.net
noreply at sourceforge.net
Mon Jun 1 16:57:33 CEST 2009
Patches item #2347686, was opened at 2008-11-26 02:41
Message generated for change (Comment added) made by psychotrahe
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=2347686&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Enhancement
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Martin Foster (martin_foster)
>Assigned to: Matthias Eble (psychotrahe)
Summary: check_fping: expose fping timeout option (-t)
Initial Comment:
This patch exposes the fping timeout (-t) option to check_fping. Necessary for checking hosts that are likely to have more than the default of 500msec RTT.
Works in the same way as the timeout option for ping/check_ping.
Attached patch applies to version 1.4.13 of the plugins, though we've maintained this patch at my site for years. Hopefully useful to the greater community.
----------------------------------------------------------------------
>Comment By: Matthias Eble (psychotrahe)
Date: 2009-06-01 16:57
Message:
Hi Martin,
I applied the patch to our git repository. However I had to change some
things:
* use -T instead of -t as -t is usually meant to provide an overall
timeout rather than a timeout for individual requests.
* If timeout is not specified, check_fpings default wil be used. Rather
than specifying a default value in check_fping itself.
I also added a -i option to specify the packet interval fping uses (if -n
>1)
Thanks for the patch
Matthias
----------------------------------------------------------------------
Comment By: Andre Sachs (xtea)
Date: 2009-06-01 14:15
Message:
+1 ! This really helps for monitoring high latency satellite based links.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=2347686&group_id=29880
More information about the Devel
mailing list