4.3.0 RC1 - Metrics Report
Anyone else having problems getting a the Metrics Report to display a graph with multiple hosts on it? I get a broken link for the graph for CPU, RAM, Ping, etc...
It works for singles hosts, just not when multiple hosts are selected.
- Brian Majeska
In <AANLkTimP4bO-jm9=mWd7cSWrwset+kgBrQNPBifkpRRA at mail.gmail.com> Brian Majeska <brian at majeska.com> writes:
Anyone else having problems getting a the Metrics Report to display a graph with multiple hosts on it? I get a broken link for the graph for CPU, RAM, Ping, etc...
It works for singles hosts, just not when multiple hosts are selected.
The Metrics Report silently fails, if the data you request is not collected for one of the included hosts. So you probably included a host where there is no client.
Regards, Henrik
Is there any way to debug this? :-) Its not working for any of my hosts no matter which metric I choose.
Say for a simple one, both hosts have a current and updated tcp.conn.rrd file. rrdtool dump shows they both have a DS called: sec
Each can produce a graph individually, it only fails when multiple hosts are combined: host 1: works http://server.example.com/xymon-cgi/showgraph.sh?host=host01.example.com&ser...
host 2: works http://server.example.com/xymon-cgi/showgraph.sh?host=host02.example.com&ser...
combined: fails http://server.example.com/xymon-cgi/showgraph.sh?host=host01.example.com,hos...
Any hints or pointers would be appreciated.
-- Brian Majeska
On Thu, Jan 27, 2011 at 3:42 AM, Henrik Størner <henrik at hswn.dk> wrote:
In <AANLkTimP4bO-jm9=mWd7cSWrwset+kgBrQNPBifkpRRA at mail.gmail.com> Brian Majeska <brian at majeska.com> writes:
Anyone else having problems getting a the Metrics Report to display a graph with multiple hosts on it? I get a broken link for the graph for CPU, RAM, Ping, etc...
It works for singles hosts, just not when multiple hosts are selected.
The Metrics Report silently fails, if the data you request is not collected for one of the included hosts. So you probably included a host where there is no client.
Regards, Henrik
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com
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
Yay! You made my day Henrik. Thank you for figuring it out.
I was about to wipe and re-install back to 4.2.x because my boss depends on those graphs ;-)
-- Brian Majeska
On Mon, Jan 31, 2011 at 3:17 AM, Henrik Størner <henrik at hswn.dk> wrote:
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
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com
participants (2)
-
brian@majeska.com
-
henrik@hswn.dk