[rrd-users] Trouble graphing small values

fredrik fredrik at n-mental.com
Sat Feb 9 09:28:50 CET 2008


15m is a small positive value (0.015).

Lazy wrote:
> Hi all,
> 
> I'm getting values around 15m(on graphs) when rrd contains small
> positive values.
> 
> the graphing command "rrdtool graph load.png --imgformat PNG -s -1000
> DEF:a=load.rrd:load:AVERAGE AREA:a\#ff0000"
> 
> the load.rrd dump
> <!-- Round Robin Database Dump --><rrd> <version> 0003 </version>
>        <step> 60 </step> <!-- Seconds -->
>        <lastupdate> 1202509716 </lastupdate> <!-- 2008-02-08 23:28:36 CET -->
> 
>        <ds>
>                <name> load </name>
>                <type> GAUGE </type>
>                <minimal_heartbeat> 120 </minimal_heartbeat>
>                <min> 0.0000000000e+00 </min>
>                <max> 2.0000000000e+02 </max>
> 
>                <!-- PDP Status -->
>                <last_ds> UNKN </last_ds>
>                <value> 5.8746974400e-01 </value>
>                <unknown_sec> 0 </unknown_sec>
>        </ds>
> 
> ...
> <!-- Round Robin Archives -->   <rra>
>                <cf> AVERAGE </cf>
>                <pdp_per_row> 1 </pdp_per_row> <!-- 60 seconds -->
> 
>                <params>
>                <xff> 5.0000000000e-01 </xff>
>                </params>
>                <cdp_prep>
>                        <ds>
>                        <primary_value> 1.6000000000e-02 </primary_value>
>                        <secondary_value> 1.2496628108e-02 </secondary_value>
>                        <value> NaN </value>
>                        <unknown_datapoints> 0 </unknown_datapoints>
> ...
> <!-- 2008-02-06 23:29:00 CET / 1202336940 --> <row><v>
> 1.5000000000e-02 </v><v>...</row
> ...
>                        <!-- 2008-02-08 23:25:00 CET / 1202509500 -->
> <row><v> 1.5608202650e-02 </v>...</row
>                        <!-- 2008-02-08 23:26:00 CET / 1202509560 -->
> <row><v> 1.5000000000e-02 </v>...</row
> 
> load at 23:25 is very small, but on graph it shows 15m.
> 
> Is this rra correct? Any ideas what I can be doing wrong ?
> 
> Thanks in advance for any advice.
> 
> --
> Lazy
> 
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
> 



More information about the rrd-users mailing list