[rrd-users] Label spacing difference between 1.4.4 and 1.4.5

Bernard Li bernard at vanhpc.org
Fri Mar 4 02:35:07 CET 2011


Hi all:

We're experiencing an issue with Ganglia where graphs generated by
RRDtool 1.4.5 is different than that of 1.4.4.  Here are the graphs in
question:

1.4.4: http://therealms.org/oss/rrdtool/1.4.4.png
1.4.5: http://therealms.org/oss/rrdtool/1.4.5.png

You'll noticed that the label for the 1.4.5 graph spanned two rows,
whereas for 1.4.4, it only spanned one row.

Does anybody know what triggered this difference?  I'm guessing this
commit but I'm not certain:

http://oss.oetiker.ch/rrdtool-trac/changeset/2160/trunk/program

BTW, the command to generate the graphs is as follows:

/usr/bin/rrdtool graph - --start '-3600' --end N --width 300 --height
103 --title 'rhel6b2 Cluster Memory last hour' --lower-limit 0
--vertical-label Bytes --base 1024
DEF:'mem_total'='/var/lib/ganglia/rrds/rhel6b2/__SummaryInfo__/mem_total.rrd':'sum':AVERAGE
CDEF:'bmem_total'=mem_total,1024,*
DEF:'mem_shared'='/var/lib/ganglia/rrds/rhel6b2/__SummaryInfo__/mem_shared.rrd':'sum':AVERAGE
CDEF:'bmem_shared'=mem_shared,1024,*
DEF:'mem_free'='/var/lib/ganglia/rrds/rhel6b2/__SummaryInfo__/mem_free.rrd':'sum':AVERAGE
CDEF:'bmem_free'=mem_free,1024,*
DEF:'mem_cached'='/var/lib/ganglia/rrds/rhel6b2/__SummaryInfo__/mem_cached.rrd':'sum':AVERAGE
CDEF:'bmem_cached'=mem_cached,1024,*
DEF:'mem_buffers'='/var/lib/ganglia/rrds/rhel6b2/__SummaryInfo__/mem_buffers.rrd':'sum':AVERAGE
CDEF:'bmem_buffers'=mem_buffers,1024,*
CDEF:'bmem_used'='bmem_total','bmem_free',-,'bmem_cached',-,'bmem_shared',-,'bmem_buffers',-
AREA:'bmem_used'#5555cc:'Use' STACK:'bmem_shared'#0000aa:'Share'
STACK:'bmem_cached'#33cc33:'Cache'
STACK:'bmem_buffers'#99ff33:'Buffer'
DEF:'swap_total'='/var/lib/ganglia/rrds/rhel6b2/__SummaryInfo__/swap_total.rrd':'sum':AVERAGE
DEF:'swap_free'='/var/lib/ganglia/rrds/rhel6b2/__SummaryInfo__/swap_free.rrd':'sum':AVERAGE
CDEF:'bmem_swapped'='swap_total','swap_free',-,1024,*
STACK:'bmem_swapped'#9900CC:'Swap' LINE2:'bmem_total'#FF0000:'Total'

Thanks!

Bernard



More information about the rrd-users mailing list