Xymon Mailing List Archive search

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

list Etienne Roulland
Fri, 21 Oct 2005 12:18:24 +0200
Message-Id: <user-0d7b5d5641f7@xymon.invalid>

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 <user-a6146bb9413e@xymon.invalid> Etienne Roulland <user-318b6b240fb9@xymon.invalid> 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

-- 
Etienne Roulland -- CVF Bordeaux