Xymon Mailing List Archive search

problem to see rrd graph

7 messages in this thread

list Marco Avvisano · Mon, 30 Jan 2006 14:47:47 +0100 ·
Hi all,

i have upgrade rrd to 1.2.12 and hobbit to 4.2pre
and now i don't see any graph. I try to add in hobbitserver.cfg
LD_LIBRARY_PATH, and the bin directory for rrdtool in PATH but nothing.

any suggestions?

thanks

Marco
list Timothy L. Myers · Mon, 30 Jan 2006 08:49:07 -0700 ·
check the rrd logs and see you your sill looking for an old lib, I just moved to a new box with a new OS and I am having the same problem this morning. 
quoted from Marco Avvisano

-----Original Message-----
From: Marco Avvisano [mailto:user-e09c0f3f8c70@xymon.invalid]
Sent: Monday, January 30, 2006 6:48 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] problem to see rrd graph


Hi all,

i have upgrade rrd to 1.2.12 and hobbit to 4.2pre
and now i don't see any graph. I try to add in hobbitserver.cfg
LD_LIBRARY_PATH, and the bin directory for rrdtool in PATH but nothing.

any suggestions?

thanks

Marco
list Marco Avvisano · Tue, 31 Jan 2006 10:23:44 +0100 ·
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"

and the output is :


Content-type: image/png
Expires: Tue, 31 Jan 2006 09:26:36 GMT

Content-type: text/html

<html><head><title>Invalid request</title></head>
<body>Garbage ': 31-Jan-2006 10:21:36' after command:
COMMENT:Updated: 31-Jan-2006 10:21:36</body></html>

any suggestions?

thanks

Marco


*************************************************************
Marco Avvisano
Regione Toscana - Giunta Regionale
Direzione Generale Organizzazione - Servizio I.I.T.R.
Via di Novoli, 26 - 50127 Firenze (Italy)
Tel. +XX.XXX.XXX.XXXX - Fax +XX.XXX.XXX.XXXX
e-mail: user-10e48085ec84@xymon.invalid
quoted from Timothy L. Myers
*************************************************************
----- Original Message ----- 
From: "Myers, Timothy L." <user-96e7c936b511@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Monday, January 30, 2006 4:49 PM
Subject: RE: [hobbit] problem to see rrd graph

check the rrd logs and see you your sill looking for an old lib, I just 
moved to a new box with a new OS and I am having the same problem this 
morning.

-----Original Message-----
From: Marco Avvisano [mailto:user-e09c0f3f8c70@xymon.invalid]
Sent: Monday, January 30, 2006 6:48 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] problem to see rrd graph


Hi all,

i have upgrade rrd to 1.2.12 and hobbit to 4.2pre
and now i don't see any graph. I try to add in hobbitserver.cfg
LD_LIBRARY_PATH, and the bin directory for rrdtool in PATH but nothing.

any suggestions?

thanks

Marco

list Henrik Størner · Tue, 31 Jan 2006 15:51:26 +0100 ·
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
list Marco Avvisano · Wed, 1 Feb 2006 16:19:38 +0100 ·
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.
quoted from Henrik Størner

----- Original Message ----- 
From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
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

list Marco Avvisano · Fri, 3 Feb 2006 09:43:45 +0100 ·
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&amp;service=la&amp;graph_height=120&amp;graph_width=576&amp;disp=hosta&amp;nostale&amp;action=view&amp;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&amp;service=la&amp;graph_height=120&amp;graph_width=576&amp;disp=hosta&amp;nostale&amp;graph=hourly&amp;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.
quoted from Marco Avvisano


----- Original Message ----- 
From: "Marco Avvisano" <user-e09c0f3f8c70@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
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" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
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

list Marco Avvisano · Tue, 7 Feb 2006 12:46:13 +0100 ·
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
quoted from Marco Avvisano


----- Original Message ----- 
From: "Marco Avvisano" <user-e09c0f3f8c70@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
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&amp;service=la&amp;graph_height=120&amp;graph_width=576&amp;disp=hosta&amp;nostale&amp;action=view&amp;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&amp;service=la&amp;graph_height=120&amp;graph_width=576&amp;disp=hosta&amp;nostale&amp;graph=hourly&amp;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" <user-e09c0f3f8c70@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
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" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
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