help - still problems to see rrd graph

Marco Avvisano marco.avvisano at regione.toscana.it
Thu Feb 9 13:27:56 CET 2006


Hi all,

i try to reinstall libpng 1.2.8, zlib 1.2.3, rrdtool 1.2.12
and hobbit hobbit-4.1.2p1.

All work fine, but always i can't see graphs.

When i try to see the immage i see this error message:

Content-type: text/html Garbage ': 09-Feb-2006 13:23:40' after command: 
COMMENT:Updated: 09-Feb-2006 13:23:40

my os Red Hat Enterprise Linux ES release 3 (Taroon Update 6)
any ideas?

M.

----- Original Message ----- 
From: "Marco Avvisano" <marco.avvisano at regione.toscana.it>
To: <hobbit at hswn.dk>
Sent: Tuesday, February 07, 2006 12:46 PM
Subject: Re: [hobbit] problem to see rrd graph


> Hi all,
>
> perhaps my problem is connected to the rrd version ( i use 
> rrdtool-1.2.12), or some build options that i used to install
> rrd is not compatible to hobbit?
> i follow these instructions to build rrd
>
>
> http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/doc/rrdbuild.en.html
>
> need helps....
>
>
> Marco
>
>
>
> ----- Original Message ----- 
> From: "Marco Avvisano" <marco.avvisano at regione.toscana.it>
> To: <hobbit at hswn.dk>
> Sent: Friday, February 03, 2006 9:43 AM
> Subject: Re: [hobbit] problem to see rrd graph
>
>
>> Searching in mail archive i found that, to test cgi, i need also to set
>> REQUEST_URI.
>> So i try :
>>
>> export REQUEST_METHOD=GET
>> QUERY_STRING="host=...."
>> export QUERY_STRING
>> REQUEST_URI="http://localhost/cgi-bin/hobbitgraph.sh?${QUERY_STRING}"
>> export REQUEST_URI
>> ./hobbitgraph.sh
>>
>>
>> the new output seems normal, but i can't see graphs:
>>
>>
>>
>>
>> <tr>
>>  <td align="left"><img
>> src="http://monitor.regione.toscana.it/cgi-bin/hobbitgraph.sh?host=monitor.regione.toscana.it&service=la&graph_height=120&graph_width=576&disp=hosta&nostale&action=view&graph=hourly"
>> alt="hourly graph"></td>
>>  <td align="left" valign="top"> <a
>> href="http://monitor.regione.toscana.it/cgi-bin/hobbitgraph.sh?host=monitor.regione.toscana.it&service=la&graph_height=120&graph_width=576&disp=hosta&nostale&graph=hourly&action=selzoom">
>> <img src="/gifs/zoom.gif" border=0 alt="Zoom graph" style='padding: 3px'>
>> </a> </td>
>> </tr>
>> <tr>
>>
>> no error on cgierror.log. I try to reinstall libpng 1.2.8 zlib 1.2.2, and
>> recompile hobbit.
>> My ldd output for hobbitgraph.cgi is :
>> libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x00e86000)
>>        librrd.so.2 => /usr/local/rrdtool-1.2.12/lib/librrd.so.2
>> (0x004c2000)
>>        libpng.so.3 => /usr/local/lib/libpng.so.3 (0x0090e000)
>>        libc.so.6 => /lib/tls/libc.so.6 (0x0098f000)
>>        libm.so.6 => /lib/tls/libm.so.6 (0x00480000)
>>        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00fe5000)
>> I try also to add in ld.so.conf /usr/local/lib, where is libpng.so, and 
>> run
>> lidconfig:
>>
>> ldconfig -v | grep libpng
>>        libpng.so.3 -> libpng.so.3.1.2.6
>>        libpng12.so.0 -> libpng12.so.0.1.2.6
>>        libpng12.so.0 -> libpng12.so.0.1.2.2
>>
>>
>>
>> any suggestions ?
>>
>> M.
>>
>>
>>
>> ----- Original Message ----- 
>> From: "Marco Avvisano" <marco.avvisano at regione.toscana.it>
>> To: <hobbit at hswn.dk>
>> Sent: Wednesday, February 01, 2006 4:19 PM
>> Subject: Re: [hobbit] problem to see rrd graph
>>
>>
>>>
>>> I try to set REQUEST_METHOD=GET  but the output is always :
>>>
>>> Content-type: image/png
>>> Expires: Wed, 01 Feb 2006 15:23:43 GMT
>>>
>>> Content-type: text/html
>>>
>>> <html><head><title>Invalid request</title></head>
>>> <body>Garbage ': 01-Feb-2006 16:18:43' after command:
>>> COMMENT:Updated: 01-Feb-2006 16:18:43</body></html>
>>>
>>> I have upgraded from hobbit 4.0.4
>>>
>>> M.
>>>
>>> ----- Original Message ----- 
>>> From: "Henrik Stoerner" <henrik at hswn.dk>
>>> To: <hobbit at hswn.dk>
>>> Sent: Tuesday, January 31, 2006 3:51 PM
>>> Subject: Re: [hobbit] problem to see rrd graph
>>>
>>>
>>>> On Tue, Jan 31, 2006 at 10:23:44AM +0100, Marco Avvisano wrote:
>>>>> I try to exec by hand hobbitgraph.sh, setting :
>>>>>
>>>>>
>>>>> REQUEST_URI=""
>>>>>
>>>>> QUERY_STRING="host=monitor.regione.toscana.it&service=la&graph_width=576&graph_height=120&first=1&count=1&disp=monitor%2eregione%2etoscana%2eit&nostale&graph=hourly&action=view"
>>>>
>>>> You need to set REQUEST_METHOD=GET also.
>>>>
>>>>
>>>> Henrik
>>>>
>>>>
>>>> To unsubscribe from the hobbit list, send an e-mail to
>>>> hobbit-unsubscribe at hswn.dk
>>>>
>>>
>>>
>>> To unsubscribe from the hobbit list, send an e-mail to
>>> hobbit-unsubscribe at hswn.dk
>>>
>>
>
>
> --------------------------------------------------------------------------------
>
>
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe at hswn.dk
>>
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
> 




More information about the Xymon mailing list