[xymon] 4.3.0 RC1 - Metrics Report

Henrik Størner henrik at hswn.dk
Mon Jan 31 12:17:47 CET 2011


In <AANLkTi=GatAQN2CdSF-MTwKmTt9C85Arta7_v1v3Qc4u at mail.gmail.com> Brian Majeska <brian at majeska.com> writes:

Hi Brian,

>Is there any way to debug this? :-)  Its not working for any of my
>hosts no matter which metric I choose.

maybe You're the victim of a configuration error in the default
"graphs.cfg" that ships with the 4.3.0 beta-3 and RC1 files.
I just tried this on the www.xymon.com demo-site, and indeed the
metrics graphs are broken.

The problem is in the "multi" graph definitions. These include
an FNPATTERN setting, but this is not really used as a "pattern"
in the regular-expression sense. It is used directly as the
filename of the RRD file to pull the data from. The default
graphs.cfg file got that mixed up. So if you look into graphs.cfg
you'll find this definition:

[conn-multi]
	FNPATTERN ^tcp.conn.rrd
	TITLE PING Round-trip time
	YAXIS Seconds
	DEF:p at RRDIDX@=@RRDFN@:sec:AVERAGE
	LINE2:p at RRDIDX@#@COLOR@:@RRDPARAM@

The FNPATTERN should NOT have the "^" in front of "tcp.conn.rrd".
If you delete that, I think your "Ping time" metrics will suddenly
work.

The same error was done on all of the "multi" graph definitions
that the Metrics report uses: la-multi, la1-multi, ram-multi etc.
Just remove that "^" from the beginning of all the FNPATTERN
definitions.

Thanks for noticing and reporting this. It would have been 
annoying to ship 4.3.0 with this issue.


Regards,
Henrik




More information about the Xymon mailing list