|
From: Josh L. <jo...@im...> - 2011-05-31 20:28:51
|
I am trying to set up graphs for an APC 9619 (I am using the template from
the SF files directory). The dm column appears on the bbdisp host. I am
getting the power message on this host on Xymon and I can see the graph
reference, but the image is blank/broken.
I only have docs/GRAPHING to go by and I followed this by:
* --extra-script /usr/share/devmon/extras/devmon-rrd.pl to both rrdstatus
and rrddata in tasks.cfg
* power=devmon to the end of TEST2RRD in xymonserver.cfg
* I'm at a complete loss in what would be accurate in Xymon's graphs.cfg,
but I took an example from extras/devmon-graph.cfg and changed a few
things. I was hoping to look at the RRD file for examples to help me
complete this
[power]
FNPATTERN power.(.*).rrd
TITLE Power
YAXIS Volts
DEF:in@RRDIDX@=@RRDFN@:ds0:AVERAGE
CDEF:inbytes@RRDIDX@=in@RRDIDX@,8,*
DEF:out@RRDIDX@=@RRDFN@:ds1:AVERAGE
CDEF:outbytes@RRDIDX@=out@RRDIDX@,8,*
LINE1:inbytes@RRDIDX@#@COLOR@:@RRDPARAM@ In
GPRINT:inbytes@RRDIDX@:LAST: %8.2lf %s (cur)
GPRINT:inbytes@RRDIDX@:MAX: %8.2lf %s (max)
GPRINT:inbytes@RRDIDX@:MIN: %8.2lf %s (min)
GPRINT:inbytes@RRDIDX@:AVERAGE: %8.2lf %s (avg)\n
LINE1:outbytes@RRDIDX@#@COLOR@:@RRDPARAM@ Out
GPRINT:outbytes@RRDIDX@:LAST: %8.2lf %s (cur)
GPRINT:outbytes@RRDIDX@:MAX: %8.2lf %s (max)
GPRINT:outbytes@RRDIDX@:MIN: %8.2lf %s (avg)
GPRINT:outbytes@RRDIDX@:AVERAGE: %8.2lf %s (avg)\n
-l 0
I am looking at the RRD file and the values (min, max, value, etc) are all
NaN or 0.0000000000e+00
Can anyone point me in the right direction?
Thank you for this much needed addition to Xymon!
Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373
|