<div dir="ltr">On Thu, Nov 25, 2010 at 17:59, Henrik Størner <span dir="ltr"><<a href="mailto:henrik@hswn.dk">henrik@hswn.dk</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div class="im">On Wed, 24 Nov 2010 16:12:07 +0200, Arie Skliarouk wrote:<br>
<br>
> I created a custom mysql parameters check that shows graphs on one<br>
> server, but not on the other. hobbitgraph.sh (hobbitgraph.cgi?) kept<br>
> sending following error instead of the actual image:<br>
> <html><head><title>Invalid request</title></head> <body>Attempting to<br>
> reuse 'mysqlht'</body></html><br>
<br>
</div>This is an error from the rrdtool library. So I would suspect something<br>
dodgy with the graph-definition in hobbit-graphs.cfg, or the RRD file<br>
data is not as you would expect.<br>
<br>
Could you show us the graph definition you use ?</blockquote><div><br>See attached. Also attached all files you might require to recreate the mysql sensor.<br><br>Note that the graph works for one machine, but not for the other.<br>

 </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> And the layout of the<br>
RRD-file - a command like<br>
<br>
        rrdtool info mysql.rrd |grep "type ="<br></blockquote><div><br>Both files yield identical output:<br>ds[mysqlht].type = "GAUGE"<br>ds[mysqlhq].type = "GAUGE"<br>ds[mysqlhs].type = "GAUGE"<br>

<br>--<br>Arie<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
should give us the necessary info about the datasets and their type.<br>
<div class="im"><br>
> If I request the same image for different server, same service - I get<br>
> the image. If I copy the mysql.rrd file from the<br>
> /var/lib/hobbit/rrd/atl-db01/mysql.rrd into the<br>
> /var/lib/hobbit/rrd/pa04, then the image for pa04 shows graph for the<br>
> atl-db01.<br>
><br>
> Could be that dash in name of that particular server was affecting the<br>
> hobbitgraph.cgi somehow? I can attach the hobbitgraph.d/mysql.cfg and<br>
> hobbitserver.d/mysql.cfg if that would help.<br>
<br>
</div>It shouldn't, and I know I have hostnames with dash'es in them. Haven't<br>
noticed any problems with graphs there, but I'll have a look.<br>
<br>
<br>
Regards,<br>
Henrik<br>
<br>
To unsubscribe from the xymon list, send an e-mail to<br>
<a href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a><br>
<br>
<br>
</blockquote></div><br></div>