[xymon] DEVMON, xymon, and TABLE

David Baldwin david.baldwin at ausport.gov.au
Thu Sep 2 02:05:53 CEST 2010


Patrick,
> 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.
>
Do you mean that the graph image is broken, or is it completely missing?
If it's broken there could be a problem with an RRD file - easy enough
to create some extras if you've been tweaking a devmon template. Check
the RRD directory and see if there are any extras that match the
FNPATTERN. The other gotcha, now I think of it is that the FNPATTERN is
a regexp, and note that it doesn't start with ^power - so if you have
ANY RRD filenames containing the substring power they will match. Try
changing the FNPATTERN line to:

--hobbitgraphs entry --
[power]
	FNPATTERN ^power\.(.+)\.rrd


>  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.
>
Have you added 'power' into GRAPHS= line in /etc/hobbit/hobbitserver.cfg ?

David.
> Thanks!
> --patrick
>
> -- 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
> --
>   
>


-- 
David Baldwin - IT Unit
Australian Sports Commission          www.ausport.gov.au
Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
david.baldwin at ausport.gov.au          Leverrier Street Bruce ACT 2617


-------------------------------------------------------------------------------------
Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au

This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
-------------------------------------------------------------------------------------



More information about the Xymon mailing list