graph GAUGES

Williams, Doug (Consultant-RIC) Doug.Williams at rhd.com
Wed Apr 8 23:14:27 CEST 2009


Nevermind, I just took out the %s in the GPRINT and it solved the
problem.  I should have looked at the rrd docs first.
Thanks
Doug

________________________________

From: Williams, Doug (Consultant-RIC) 
Sent: Tuesday, April 07, 2009 5:22 PM
To: 'hobbit at hswn.dk'
Subject: graph GAUGES


Has anyone ever seen something similar to graph below with really large
numbers ending with 'm'  (see avg column) that are not the data I'm
sending:
 
 
The graph looks to be correct though.
 
The data file sent is as follows:
 
cpuB : 2
dataB : 1
cpuA : 1
dataA : 1
 
And the hobbitgraph.cfg section:
[evacpu]
        TITLE EVA CPU Info
        YAXIS % Load
        DEF:cpuA=evacpu.rrd:cpuA:AVERAGE
        DEF:cpuB=evacpu.rrd:cpuB:AVERAGE
        DEF:dataA=evacpu.rrd:dataA:AVERAGE
        DEF:dataB=evacpu.rrd:dataB:AVERAGE
        LINE2:cpuA#CC0000:Controller A CPU
        LINE2:cpuB#0000CC:Controller B CPU
        LINE2:dataA#00CCCC:Controller A Data
        LINE2:dataB#00FF00:Controller B Data
        COMMENT:\n
        GPRINT:cpuA:LAST:Controller A CPU \: %5.1lf%s (cur)
        GPRINT:cpuA:MAX: \: %5.1lf%s (max)
        GPRINT:cpuA:MIN: \: %5.1lf%s (min)
        GPRINT:cpuA:AVERAGE: \: %5.1lf%s (avg)\n
        GPRINT:cpuB:LAST:Controller B CPU \: %5.1lf%s (cur)
        GPRINT:cpuB:MAX: \: %5.1lf%s (max)
        GPRINT:cpuB:MIN: \: %5.1lf%s (min)
        GPRINT:cpuB:AVERAGE: \: %5.1lf%s (avg)\n
        GPRINT:dataA:LAST:Controller A Data \: %5.1lf%s (cur)
        GPRINT:dataA:MAX: \: %5.1lf%s (max)
        GPRINT:dataA:MIN: \: %5.1lf%s (min)
        GPRINT:dataA:AVERAGE: \: %5.1lf%s (avg)\n
        GPRINT:dataB:LAST:Controller B Data \: %5.1lf%s (cur)
        GPRINT:dataB:MAX: \: %5.1lf%s (max)
        GPRINT:dataB:MIN: \: %5.1lf%s (min)
        GPRINT:dataB:AVERAGE: \: %5.1lf%s (avg)\n

 
Not sure how it is coming up with those latge numbers.  Any insights
appreciated.
 
Thanks
Doug



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20090408/639e8b21/attachment.html>


More information about the Xymon mailing list