[xymon] DEVMON, xymon, and TABLE

Buchan Milne bgmilne at staff.telkomsa.net
Thu Sep 2 11:04:39 CEST 2010


On Wednesday, 1 September 2010 18:32:33 Patrick Nixon wrote:
> Hey all,
>  Just want a sanity check here to make sure I'm not losing my marbles.
> 
>  Does the TABLE option inside devmon's message syntax only produce graphs
> for certain tests?
> 
>  I'm trying to use it to map the power usage for my PDUs, I have the data
> being collected (mostly) properly and stored in the rrd files.
> 
>  However, when I look at the status column, I'm just getting the link to
> the file and not the actual graph.
> 
>  I've reviewed Vernon's graph troubleshooting guide and everything is good.
> 
>  I guess if this doesn't work, I'll have to figure out how to write out the
> individual branch elements in devmon.

I doubt it is the actual RRD collection that is the problem, otherwise you 
probably wouldn't see a link to a graph ... however you should show the output 
of something like:

rrdtool info $BBRRD/hostname/power.rrd

> -- message file --
> PDU status:
> 
> TABLE:rrd(DS:ds0:powerCircuitAmps:GAUGE; DS:ds1:powerCircuitAmps:GAUGE)
> Circuit | Amps
> {powerCircuitName1}|{powerAmps}
> -- END --
> 
> -- status message from xymon --
> 
> <!--DEVMON RRD: power 0 0
> DS:ds0:GAUGE:600:0:U DS:ds1:GAUGE:600:0:U
> Total 39:39
> Circuit1 23:23
> Circuit2 16:16
> -->
> 
> ---
> 
> --hobbitgraphs entry --
> [power]
> 	FNPATTERN power.(.+).rrd
> 	TITLE Power Load
> 	YAXIS Power in Amps
> 	DEF:p at RRDIDX@=@RRDFN@:lambda:AVERAGE
> 	LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@
> 	-u 40
> 	-l 0
> 	GPRINT:p at RRDIDX@:LAST: \: %5.1lf (cur)
> 	GPRINT:p at RRDIDX@:MAX: \: %5.1lf (max)
> 	GPRINT:p at RRDIDX@:MIN: \: %5.1lf (min)
> 	GPRINT:p at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
> --

According to your rrd option to the table statement in your message file, the 
DS name in the hobbitgraph definition should be ds0 or ds1, not "lambda".

Will we see the devmon template?

Regards,
Buchan



More information about the Xymon mailing list