[xymon] hobbitgraph.cgi: Attempting to reuse 'mysqlht'

Arie Skliarouk skliarie at gmail.com
Sun Nov 28 15:30:39 CET 2010


On Thu, Nov 25, 2010 at 17:59, Henrik Størner <henrik at hswn.dk> wrote:

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


See attached. Also attached all files you might require to recreate the
mysql sensor.

Note that the graph works for one machine, but not for the other.


> And the layout of the
> RRD-file - a command like
>
>        rrdtool info mysql.rrd |grep "type ="
>

Both files yield identical output:
ds[mysqlht].type = "GAUGE"
ds[mysqlhq].type = "GAUGE"
ds[mysqlhs].type = "GAUGE"

--
Arie

>
> should give us the necessary info about the datasets and their type.
>
> > If I request the same image for different server, same service - I get
> > the image. If I copy the mysql.rrd file from the
> > /var/lib/hobbit/rrd/atl-db01/mysql.rrd into the
> > /var/lib/hobbit/rrd/pa04, then the image for pa04 shows graph for the
> > atl-db01.
> >
> > Could be that dash in name of that particular server was affecting the
> > hobbitgraph.cgi somehow? I can attach the hobbitgraph.d/mysql.cfg and
> > hobbitserver.d/mysql.cfg if that would help.
>
> It shouldn't, and I know I have hostnames with dash'es in them. Haven't
> noticed any problems with graphs there, but I'll have a look.
>
>
> Regards,
> Henrik
>
> To unsubscribe from the xymon list, send an e-mail to
> xymon-unsubscribe at xymon.com
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20101128/94f5e750/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hobbitgraph.d-mysql.cfg
Type: application/octet-stream
Size: 913 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20101128/94f5e750/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hobbitserver.d-mysql.cfg
Type: application/octet-stream
Size: 76 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20101128/94f5e750/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clientlaunch.d-mysql.cfg
Type: application/octet-stream
Size: 150 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20101128/94f5e750/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bb-mysql.py
Type: text/x-python
Size: 4652 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20101128/94f5e750/attachment.py>


More information about the Xymon mailing list