[Xymon] Graphs not showing

Scot Kreienkamp Scot.Kreienkamp at la-z-boy.com
Mon Jan 9 13:50:26 CET 2017


Are you sure data is making it into the RRD?  Try using rrdtool dump on the rrd and see if you get any data.


Scot Kreienkamp  | Senior Systems Engineer | La-Z-Boy Corporate
One La-Z-Boy Drive | Monroe, Michigan 48162 |  Office: 734-384-6403 |  |  Mobile: 7349151444 | Email: Scot.Kreienkamp at la-z-boy.com
> -----Original Message-----
> From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of W.J.M.
> Nelis
> Sent: Monday, January 09, 2017 1:58 AM
> To: xymon at xymon.com
> Subject: [Xymon] Graphs not showing
>
> Hello,
>
> my previous post was mangled because there were some snippets of HTML
> in
> it. Therefore the message is posted again, this time without HTML.
>
>
> 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 last part of the status message of test odr_mux
> contains the following as HTML comment:
>
>   linecount=2
> DEVMON RRD: odr 0 0
> DS:PeakLeft:GAUGE:600:-100:100 DS:PeakRight:GAUGE:600:-100:100 \
> DS:Underrun:DERIVE:600:0:U DS:Overrun:DERIVE:600:0:U \
> DS:BufferMin:GAUGE:600:-1:U DS:BufferMax:GAUGE:600:0:U
> sub-ozo -90:-90:176972:0:-1:0
> sub-urk -90:-90:176972:0:-1:0
>
> In xymonserver.cfg two lines are adapted:
>
> TEST2RRD=".... ,odr_mux=devmon"
> GRAPHS=" .... ,odr_mux::1"
>
> The statistics are entered in RRD's:
>
> root at 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 at debian:/var/lib/xymon/rrd/OzoNop#
>
> The graph definition is:
>
> [odr_mux]
>       FNPATTERN ^odr\.(.+)\.rrd$
>       TITLE , Frame loss rate
>       YAXIS Rate [/s]
>       DEF:ur at RRDIDX@=@RRDFN@:Underrun:AVERAGE
>       DEF:or at RRDIDX@=@RRDFN@:Overrun:AVERAGE
>       LINE1:ur at RRDIDX@#FF0000:@RRDPARAM@ underrun
>       GPRINT:ur at RRDIDX@:MIN:Min \: %5.1lf %s
>       GPRINT:ur at RRDIDX@:MAX:Max \: %5.1lf %s
>       GPRINT:ur at RRDIDX@:AVERAGE:Avg \: %5.1lf %s
>       GPRINT:ur at RRDIDX@:LAST:Cur \: %5.1lf %s\n
>       LINE1:or at RRDIDX@#00FF00:@RRDPARAM@  overrun
>       GPRINT:or at RRDIDX@:MIN:Min \: %5.1lf %s
>       GPRINT:or at RRDIDX@:MAX:Max \: %5.1lf %s
>       GPRINT:or at RRDIDX@:AVERAGE:Avg \: %5.1lf %s
>       GPRINT:or at 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 two lines long, the first one specifying the title to
> be "Invalid request", the second on showing an empty body.
>
> 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.
>
>
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon

This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.


More information about the Xymon mailing list