[hobbit] [SEGFAULT] Re: [hobbit] graphs with external script

Etienne Roulland Etienne.Roulland at cvf.fr
Fri Oct 21 12:18:24 CEST 2005


Hello,


i've found some strange things...

Starting program: /usr2/hobbit/server/bin/hobbitgraph.cgi
--env=/usr2/hobbit/server/etc/hobbitserver.cfg
Content-type: image/png
Expires: Fri, 21 Oct 2005 09:40:25 GMT


Program received signal SIGSEGV, Segmentation fault.
0xb7e6b410 in strncpy () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0  0xb7e6b410 in strncpy () from /lib/tls/i686/cmov/libc.so.6
#1  0xb7f77480 in rrd_graph_options (argc=19, argv=0x8064af0,
im=0xbf8defb8) at rrd_graph.c:3044
#2  0xb7f77ada in rrd_graph (argc=19, argv=0x8064af0, prdata=0xbf8e4184,
xsize=0xbf8e0814, ysize=0xbf8e0814, stream=0xbf8e0814, ymin=0xbf8e0814,
ymax=0xbf8e4158) at rrd_graph.c:2724
#3  0x0804b515 in main (argc=2, argv=0xbf8e4224) at hobbitgraph.c:947


==> in the graph definition  was missing the RRD -v switch aka "YAXIS".

I've add it and graphs showed up.

But if i don't add a 

[mysql]  section i get a no graph definition.

(I already have mysqlslow & mysqlthread).

Etienne



On jeu, 2005-09-29 at 20:13 +0000, Henrik Storner wrote:
> In <1128009355.7465.57.camel at localhost.localdomain> Etienne Roulland <Etienne.Roulland at cvf.fr> writes:
> 
> >2005-09-21 16:30:57 hobbitsvc Setup error: Service mysql has a graph
> >ncv, but no graph-definition
> 
> >I've add 
> >[mysql]
> 
> Add ",mysql" to the GRAPHS setting in hobbitserver.cfg.
> 
> 
> Henrik
> 
> 
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 
> 
-- 
Etienne Roulland -- CVF Bordeaux



More information about the Xymon mailing list