[rrd-users] problem with graph not smooth

Iñaki Martínez Díez networking at hostalia.com
Wed Jul 18 16:44:19 CEST 2007


Hi,

 NOTE: re-send this email because the last had 2 attached graph and was
too big, sorry if you get 2 emails.


 I am changing from rrdtool 1.0.49 to 1.2.15 in a Debian servers and i
have a problem with the graphs that in new versión the graphs are not
smooth as the old version. Attached graph with new version.

 The RRD files created identically in both servers, even if i use the
old RRD the result is the same, not smooth.

      "--step", "60"
      "--start", $start,
      "DS:in:DERIVE:600:0:4294967295",
      "DS:out:DERIVE:600:0:4294967295",
      "RRA:AVERAGE:0.5:1:528480",
       "RRA:MAX:0.5:1:528480"

 The only diference is that old graph is GIF and the new one is PNG.

 Everything is done vía PHP scripts.

 To make the new graph:

    [0] => --start
    [1] => -3h-30m
    [2] => --end
    [3] => now
    [4] => -a
    [5] => GIF
    [6] => -v
    [7] => bits
    [8] => -w
    [9] => 420
    [10] => -h
    [11] => 150
    [12] => --step
    [13] => 60
    [14] => -t
    [15] => TITLE
    [16] => DEF:in=file.rrd:in:AVERAGE
    [17] => DEF:out=file.rrd:out:AVERAGE
    [18] => CDEF:rin=in
    [19] => CDEF:rout=out
    [20] => CDEF:bin=in,8,*
    [21] => CDEF:bout=out,8,*
    [22] => VDEF:min=bin,MAXIMUM
    [23] => VDEF:ain=bin,AVERAGE
    [24] => VDEF:lin=bin,LAST
    [25] => VDEF:tin=rin,TOTAL
    [26] => VDEF:pin=bin,95,PERCENT
    [27] => VDEF:mout=bout,MAXIMUM
    [28] => VDEF:aout=bout,AVERAGE
    [29] => VDEF:lout=bout,LAST
    [30] => VDEF:tout=rout,TOTAL
    [31] => VDEF:pout=bout,95,PERCENT
    [32] => COMMENT:
    [33] => AREA:bin#00FF00: Entrada
    [34] => LINE1:bout#0000ff: Salida
    [35] => HRULE:pin#00FF00
    [36] => HRULE:pout#0000FF
    [37] => COMMENT:\l
    [38] => GPRINT:min:      Maxima\: %9.0lf %sbps
    [39] => GPRINT:mout: %9.0lf %sbps\l
    [40] => GPRINT:ain:       Media\: %9.0lf %sbps
    [41] => GPRINT:aout: %9.0lf %sbps\l
    [42] => GPRINT:lin:      Actual\: %9.0lf %sbps
    [43] => GPRINT:lout: %9.0lf %sbps\l
    [44] => GPRINT:pin:95 Percentil\: %9.0lf %sbps
    [45] => GPRINT:pout: %9.0lf %sbps\l
    [46] => GPRINT:tin:     Trafico\: %9.0lf %sBytes
    [47] => GPRINT:tout: %9.0lf %sBytes\l
    [48] => COMMENT:"Inicio\: 18-07-2007 09\:28\:44 -> Final\:
18-07-2007 12\:58\:44"\c




-------------- next part --------------
A non-text attachment was scrubbed...
Name: rrdtool_1.2.15-0.3.png
Type: image/png
Size: 22960 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070718/00ea8899/attachment-0001.png 


More information about the rrd-users mailing list