[Nagios-users] check_ping & check_fping replacement without requirements

Karl DeBisschop karl-ZSqfqAwTGpIytDrLOV7HaA at public.gmane.org
Sat May 8 01:08:16 CEST 2004


On Fri, 07 May 2004 15:29:48 +0200
Andreas Ericsson <ae-n0Zl8IkGad4 at public.gmane.org> wrote:

> Hey all.
> 
> I've rewritten check_fping completely.
> Features / Improvements;
> Includes the code from fping (in a modified state) instead of calling
> it and parsing the output.
> Takes care of 'Unable to parse ping output' and such.
> Fixes the 1 second maximum threshold value in check_fping, which was 
> hardcoded in the fping source.
> Removes the ridiculous appearance of precision down to a millionth of
> a millisecond (0.1000000 RTA), and instead gives proper and valuable 
> output in a sensible manner.
> Both check_ping and check_fping command line syntax works just fine,
> so it could be used to replace either one (-n and -p both denote
> number of packets to send).
> 
> Drawbacks;
> Requires root privileges for raw sockets (if run setsuid it drops 
> privileges again after obtaining the socket). This is common to all
> ping programs though.
> 
> ToDo:
> Parallellize packet sending. This requires a different packet identity
> 
> encoding algorithm, as well as some manner of delay so that hosts
> don't think they're being flooded, so I'll wait a while with this.
> 
> Please send info on any and all bugs you find to ae-n0Zl8IkGad4 at public.gmane.org

I haven't looked at the implementation yet, but it is exactly the
direction we were hoping to go - would you mind if we included it as
check_icmp in the core plugins?

Plugin team - how do you all feel about this?

-- 
Karl


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Nagiosplug-devel mailing list
Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org
https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list