[Nagiosplug-devel] Re: [Nagios-users] check_ping & check_fping replacement without requirements

Karl DeBisschop karl at debisschop.net
Fri May 7 16:09:05 CEST 2004

On Fri, 07 May 2004 15:29:48 +0200
Andreas Ericsson <ae at op5.se> 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 at op5.se

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?


More information about the Devel mailing list