[drraw-users] Howto stack a CDEF on a DEF

Ingo Lantschner ingo.lists at vum.at
Fri May 25 06:08:42 EDT 2007


Hello,
first of all, thanks for this tool - I am getting more and more a  
friend of it, as I am discovering its various features.

One thing I can not find is how to stack a CDEF on a DEF:

Instead of:
    DEF:a=/usr/local/nagios/nagiosgraph/rrd//localhost_Root% 
20Partition_0.rrd:used:AVERAGE  \
    ...
    DEF:d=/usr/local/nagios/nagiosgraph/rrd//localhost_Root% 
20Partition_0.rrd:max:AVERAGE  \
    CDEF:E=d,a,-  \
    AREA:E#008000:"free MB": \
    AREA:a#800000:"used MB":STACK    \
    ...

I would like to draw:

    DEF:a=/usr/local/nagios/nagiosgraph/rrd//localhost_Root% 
20Partition_0.rrd:used:AVERAGE  \
    ...
    DEF:d=/usr/local/nagios/nagiosgraph/rrd//localhost_Root% 
20Partition_0.rrd:max:AVERAGE  \
    CDEF:E=d,a,-  \
    AREA:a#800000:"used MB": \
    AREA:E#008000:"free MB":STACK \
    ...

Unfortunately there is no possibility to check "Stacking" for a CDEF  
- at least not in version 2.2a3. Any idea?

TIA Ingo.


-- 
Ingo Lantschner
Vienna/Austria
Mob (+43-664) 143 84 18




More information about the drraw-users mailing list