[smokeping-users] Reading the rrdtool xml dump and tie out graph

David Anderson - Macomb dwanderson at macomb.com
Mon Jan 28 23:26:44 CET 2008


Yes, I think I understand that bit of it - however - there is no value in
the time frame depicted in the top of the xml file that match the data
graphed. The graph is announcing a median value of 25.4 us avg. All my
points from this xml file are:

    <lastupdate> 1201287439 </lastupdate> <!-- 2008-01-25 12:57:19 CST -->
        <name> uptime </name>
        <value> NaN </value>

        <name> loss </name>
        <value> 0.0000000000e+00 </value>

        <name> median </name>
        <value> 2.7847821400e-03 </value>

        <name> ping1 </name>
        <value> 2.7847821400e-03 </value>

        <name> ping2 </name>
        <value> 2.7847821400e-03 </value>

        <name> ping3 </name>
        <value> 2.7847821400e-03 </value>

        <name> ping4 </name>
        <value> 2.7847821400e-03 </value>

        <name> ping5 </name>
        <value> 2.7847821400e-03 </value>

        <name> ping6 </name>
        <value> 2.7847821400e-03 </value>

        <name> ping7 </name>
        <value> 2.7847821400e-03 </value>

        <name> ping8 </name>
        <value> 2.7847821400e-03 </value>

        <name> ping9 </name>
        <value> 2.7847821400e-03 </value>

        <name> ping10 </name>
        <value> 2.7847821400e-03 </value>

        <name> ping11 </name>
        <value> 2.7847821400e-03 </value>

        <name> ping12 </name>
        <value> 2.7847821400e-03 </value>

        <name> ping13 </name>
        <value> 2.7847821400e-03 </value>

        <name> ping14 </name>
        <value> 2.7847821400e-03 </value>

        <name> ping15 </name>
        <value> 2.7847821400e-03 </value>

        <name> ping16 </name>
        <value> 2.7847821400e-03 </value>

        <name> ping17 </name>
        <value> 4.1771732100e-03 </value>

        <name> ping18 </name>
        <value> 4.1771732100e-03 </value>

        <name> ping19 </name>
        <value> 4.1771732100e-03 </value>

        <name> ping20 </name>
        <value> 4.1771732100e-03 </value>

So I would guess ping10 was chosen for median, and displayed as median above
in the xml file. But I don't follow how 2.7847821400e-03 in the xml file is
being displayed as 25.4 us avg on the graph. Is that value on the graph a
modified median avg of all 20 points, or am I looking at the incorrect time
frame?

I have always been a bit slow in these matters. that must be whats hitting
me know.

On Jan 28, 2008 2:33 PM, Arnold Nipper <arnold at nipper.de> wrote:

> On 28.01.2008 16:03 David Anderson - Macomb wrote
>
> > When I try this, it gives me a single plot graphed out. Then I expect
> >  that the remainder of the data in this xml file would/should match
> > with what is plotted. So I am taking the uptime, loss, median, and
> > ping1 -> ping20. Converting the values from sci notation and I expect
> > that they should match what is plotted. But I get a medial value like
> > = .0027847821400 and on the graphs it is declaring a median value of
> > 25.4 us avg. Am I missing a step or some other simple math step?
> >
>
> The definition of "median" is:
>
> In probability theory and  statistics, a median is described as the
> number separating the higher half of a sample, a population, or a
> probability distribution, from the lower half. The median of a finite
> list of numbers can be found by arranging all the observations from
> lowest value to highest value and picking the middle one. If there is an
> even number of observations, the median is not unique, so one often
> takes the mean of the two middle values.
>
> See http://en.wikipedia.org/wiki/Median for details and examples.
>
>
>
>
> HTH, Arnold
> --
> Arnold Nipper / nIPper consulting, Sandhausen, Germany
> email: arnold at nipper.de       phone: +49 6224 9259 299
> mobile: +49 172 2650958         fax: +49 6224 9259 333
>
>


-- 
... course don't ever tell anybody that they're not free cause then they
gonna get real busy killen and maimin to prove to you that they are  -
George Hanson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20080128/fba2f203/attachment.html 


More information about the smokeping-users mailing list