From nfigaro@effigie.fr Wed Jun 24 08:12:23 2026 From: nfigaro@effigie.fr To: xymon@xymon.com Subject: [hobbit] I can't get any graph on hobbit Date: Fri, 08 Jul 2005 13:48:44 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1288977558670098965==" --===============1288977558670098965== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi,=20 I'm back with some troubles( again ?).=20 First of all, if you didn't have fun today, I just spent my last day rebuildi= ng my /usr/local/bin dir I trashed due to a stupid "find -rm" command. (I ca= n send the complete command if you don't know how to spend the rest of your w= orkday).=20 I recompiled a lot of stuff, and at last hobbit.=20 I tried to run the hobbitcgi from command line, and here is the result :=20 export QUERY_STRING=3D"host=3Dhostname&service=3Dla&disp=3Dhostname&graph=3Dh= ourly&action=3Dview" exec ~hobbit/server/bin/hobbitgraph.cgi $CGI_HOBBITGRAPH_OPTS Content-type: image/png Expires: Fri, 08 Jul 2005 11:43:46 GMT Content-type: text/html Invalid request Garbage ': 08-Jul-2005 13:38:46' after command: COMMENT:Updated: 08-Jul-2005 13:38:46 The rrd looks good :=20 rrdtool fetch ~hobbit/data/rrd/hostname/la.rrd AVERAGE 1120821300: 2.0000000000e+01 1120821600: 1.1990000000e+01 1120821900: 9.0000000000e+00 1120822200: 8.0000000000e+00 1120822500: 8.0000000000e+00 1120822800: 6.6666666667e+00 1120823100: 6.6666666667e+00 1120823400: NaNQ Any idea ?=20 NF=20 -----Message d'origine----- De : Henrik Stoerner [mailto:henrik at hswn.dk]=20 Envoy=C3=A9 : jeudi 7 juillet 2005 10:22 =C3=80 : hobbit at hswn.dk Objet : Re: [hobbit] I can't get any graph on hobbit On Thu, Jul 07, 2005 at 09:41:48AM +0200, FIGARO Nicolas wrote: > Hi, >=20 > After recompiling rrdtool 1.2.10 on aix 5.2 and hobbit 4.0.4, I have=20 > infos in my rrd files (rrd fetch shows some entries). >=20 > But I can't get any graph at the bottom of hobbit pages. Did you also recompile Hobbit ? If you are moving from rrdtool 1.0.x to 1.2.x= you must do a "make distclean; ./configure; make; make install" of Hobbit be= cause the library interface is different in the two rrdtool versions. > I tried to run the cgi from command line, but I have the following=20 > message : > "xgetenv: Cannot find value for variable QUERY_STRING" QUERY_STRING is set by the webserver when running a CGI program. It the "quer= y" part of the URL, ie. everything after the '?' mark in the URL. Regards, Henrik To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at = hswn.dk --===============1288977558670098965==-- From henrik@hswn.dk Wed Jun 24 08:12:23 2026 From: henrik@hswn.dk To: xymon@xymon.com Subject: [hobbit] RE : [hobbit] I can't get any graph on hobbit Date: Fri, 08 Jul 2005 13:56:24 +0200 Message-ID: <20050708115624.GA32108@hswn.dk> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0662435409869613500==" --===============0662435409869613500== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Fri, Jul 08, 2005 at 01:48:44PM +0200, FIGARO Nicolas wrote: > Invalid request > Garbage ': 08-Jul-2005 13:38:46' after command: > COMMENT:Updated: 08-Jul-2005 13:38:46 The latest (4.0.4) Hobbit version has some changes to hobbitgraph.cfg which were needed for RRDtool 1.2.x. If you originally installed an older version (4.0, 4.0.2, maybe even 4.0.3) then it will not update your hobbitgraph.cfg because it's a file that you might customize yourself. So the easiest solution - if you haven't done any modifications - is to just copy the hobbit-4.0.4/hobbitd/etcfiles/hobbitgraph.cfg to your ~hobbit/etc/directory. Regards, Henrik --===============0662435409869613500==--