[drraw-users] Newbie - CDEF and Units

Christophe Kalt kalt at taranis.org
Tue Nov 13 19:18:19 MST 2007


On Nov 12, Justin Lambert wrote:
| I am using drraw 2.1.3 and having a horrible time getting a CDEF added
| to my graph.  I must be making it way harder than what it needs to be...
| 
| CDEF=used_mem,1024,*
| 
| What do I put in which blanks?  I have read the directions and am not
| getting any help and haven't been able to find the answer to this
| (seemingly) simple question through google. 

"used_mem" is wrong, that's the DS name in the RRD file, but
as you added it to the graph, drraw named it differently,
usually a single letter (a, b, c, ...).  That's what you need
to use in the CDEF box.

| I am also having a problem with units on my graphs.  My data is in MB -
| how do I get it to display that on the graphs without first converting
| my data to bytes then using the units exponent to convert it back to MB?

RRDtool should allow to do this, but that's never worked well
for me, so i often end up converting units.



More information about the drraw-users mailing list