I have tried both the patch and new version 2.0.3, and they both work and fix the issue :).
Thanks heaps for the extremely quick and comprehensive response to this issue. Only VERY small thing now is that if I poll with 100 pings and if I drop 1, the graph shows 0.11% packet loss for the next interval and 0.89% packet loss in the interval after that. The total is right, however it implies the loss was over 2 periods rather than 1 (and also the true magnitude of the loss is slightly delayed). I assume this is just something to do with the way RRD works, and not a "bug" as such, but thought I would mention it just in case. Cheers Matthew -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Oetiker Sent: Tuesday, 27 September 2005 6:16 AM To: Niko Tyni Cc: Matthew Swainston; [EMAIL PROTECTED] Subject: [smokeping-users] Re: Error in packet loss reporting. Today Niko Tyni wrote: > On Mon, Sep 26, 2005 at 12:16:10PM +1000, Matthew Swainston wrote: > > I have been using Smokeping for quite some time with various versions up to > > 2.0.2, and there is an annoying little bug (or misconfiguration???) that I > > have seen in every version I have tried. The issue is that when the first > > packet in a polling cycle is dropped, smokeping reports 100% packet loss, > > irrespective of how many packets actually get through. This only appears to > > happen on the first packet, and if packet loss happens anywhere else the > > correct values seem to be reported. > Hi, > > this is indeed a bug in the fping probe. Thanks for reporting it! > I'm attaching a tiny patch that fixes it for me. > > Tobi, I'd say this warrants a 2.0.3 bugfix release. :-) release 2.0.3 coming up ... cheers tobi > > Cheers, > -- ______ __ _ /_ __/_ / / (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich / // _ \/ _ \/ / System Manager, Time Lord, Coder, Designer, Coach /_/ \.__/_.__/_/ http://people.ee.ethz.ch/oetiker +41(0)44-632-5286 -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/smokeping-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/smokeping-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
