[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] RRD data yes, graph no.



On 10/23/06, Rob Munsch <rmunsch (at) solutionsforprogress.com> wrote:
In hobbitgraph.cfg:
- -----
[cputemp]
        TITLE CPU Temperature
        YAXIS DegreesF
        DEF:cputemp.rrd:cputemp:AVERAGE
        LINE2:cputemp#0000FF:CPU Temperature
        GPRINT:cputemp:LAST: \: %5.1lf (cur)
        GPRINT:cputemp:MAX: \: %5.1lf (max)
        GPRINT:cputemp:MIN: \: %5.1lf (min)
        GPRINT:cputemp:AVERAGE: \: %5.1lf (avg)\n
- -----

wild guess #1 - shouldn't that be

        DEF:cputemp=cputemp.rrd:cputemp:AVERAGE

the manpage (man rrdgraph) says:

          DEF:vname=rrdfile:ds-name:CF[:step=step][:start=time][:end=time]

vname is the variable to graph
rrdfile is the rrd it comes from
ds-name is the data-set within the rrd

Ralph