Xymon Mailing List Archive search

Graphs not showing

list Wim Nelis
Sun, 8 Jan 2017 18:49:38 +0000
Message-Id: <user-1ba83dd1db87@xymon.invalid>

Hello, the status of audio streams through an Open Digital Radio multiplexer is monitored in Xymon. A Perl script retrieves the status and statistics from the multiplexer, and sent them to Xymon. The statistics are to be shown in graphs. However, while the RR databases are build, no graphs are shown. I am using debian 8.6 with xymon 4.3.17. (An update to version 4.3.27 failed, as the configure script does not recognise rrdtool 1.4.8, resulting in a version of xymon which does not support trend graphs.) A perl script retrieves the status of (the input channels of) the multiplexer, and sends the message to xymon. The statistics are included in the format which is also used by devmon. The status message of test odr_mux looks like: Open Digital Radio DabMux status
service ODR-DabMux v1.1.0 MGMT Server
Subchannel State Peak left [dB] Peak right [dB] Underrun [/s] Overrun [/s]
sub-ozo NoData &red &yellow -90 &yellow -90 &red 41.34 &green 0.00
sub-urk NoData &red &yellow -90 &yellow -90 &red 41.34 &green 0.00
In xymonserver.cfg two lines are adapted: TEST2RRD=".... ,odr_mux=devmon" GRAPHS=" .... ,odr_mux::1" The statistics are entered in RRD's: root@debian:/var/lib/xymon/rrd/OzoNop# ls -l odr* -rw-r--r-- 1 xymon xymon 114560 Jan 8 19:04 odr.sub-ozo.rrd -rw-r--r-- 1 xymon xymon 114560 Jan 8 19:04 odr.sub-urk.rrd root@debian:/var/lib/xymon/rrd/OzoNop# The graph definition is: [odr_mux] FNPATTERN ^odr\.(.+)\.rrd$ TITLE , Frame loss rate YAXIS Rate [/s] DEF:ur@RRDIDX@=@RRDFN@:Underrun:AVERAGE DEF:or@RRDIDX@=@RRDFN@:Overrun:AVERAGE LINE1:ur@RRDIDX@#FF0000:@RRDPARAM@ underrun GPRINT:ur@RRDIDX@:MIN:Min \: %5.1lf %s GPRINT:ur@RRDIDX@:MAX:Max \: %5.1lf %s GPRINT:ur@RRDIDX@:AVERAGE:Avg \: %5.1lf %s GPRINT:ur@RRDIDX@:LAST:Cur \: %5.1lf %s\n LINE1:or@RRDIDX@#00FF00:@RRDPARAM@ overrun GPRINT:or@RRDIDX@:MIN:Min \: %5.1lf %s GPRINT:or@RRDIDX@:MAX:Max \: %5.1lf %s GPRINT:or@RRDIDX@:AVERAGE:Avg \: %5.1lf %s GPRINT:or@RRDIDX@:LAST:Cur \: %5.1lf %s\n The web page of this test shows the two tables, but no graphs. Only the magnifying glasses, which should be on the right of a graph, are shown. When clicking on the magnifying glass, an empty page is shown. The source code of this page is: Removing the graph definition results in a link to be displayed, and the magnifying glass shows an appropriate error message. Further experiments showed that if all multi-graph stuff is removed (that is, FNPATTERN and the @RRD...@ parameters) a single graph is shown. Extending the graph definition with FNPATTERN causes to problem to surface again. The logfiles of xymon do not contain messages related to this problem, as far as I can see. Enabling debugging for xymond_rrd, the one spawn by the status channel reader, does not give any helpful information. All the other graphs, including one multi-graph (test memory), of this host are displayed. The problem is only visible in test odr_mux. Can anyone give me a hint on how to proceed to solve this issue? Regards, Wim Nelis.