Xymon Mailing List Archive search

problem with graphs(4.1.2p1)

4 messages in this thread

list Longina Przybyszewska · Thu, 17 Nov 2005 13:49:31 +0100 (CET) ·
Hi again,
I upgraded Hobbit to the newest version and all graphs dissapeared.
Click on graph links ends with Internal Server Error page.

Hobbitd_rrd starts up and runs.
New data are gathered in data/rrd/*
The only information about failure is in rrd-status.log - a lot of
the same messages for each host/service - (I have seen them before, and they seemd to harmless in the prevoius version of Hobbit) --
RRD error updating....  illegal attempt to update using time
1132231125 when last update time is 1132231125 (minimum one second step)
---

Hobbit runs on SunOS(sparc) - there were no problems with graphs in the previous version (4.1.2).

How can I get more information from the Hobbit- what is wrong?

Longina
--
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: user-db0a93c0e294@xymon.invalid
--
list Thomas Pedersen · Thu, 17 Nov 2005 14:00:37 +0100 ·
What is the server error log giving you on the error when you click on a graph ? If you check the HTML source maybe this could give you a hint also.

/Thomas
quoted from Longina Przybyszewska

Longina Przybyszewska wrote:
Hi again,
I upgraded Hobbit to the newest version and all graphs dissapeared.
Click on graph links ends with Internal Server Error page.

Hobbitd_rrd starts up and runs.
New data are gathered in data/rrd/*
The only information about failure is in rrd-status.log - a lot of
the same messages for each host/service - (I have seen them before, and they seemd to harmless in the prevoius version of Hobbit) --
RRD error updating....  illegal attempt to update using time
1132231125 when last update time is 1132231125 (minimum one second step)
---

Hobbit runs on SunOS(sparc) - there were no problems with graphs in the previous version (4.1.2).

How can I get more information from the Hobbit- what is wrong?

Longina
-- 
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: user-db0a93c0e294@xymon.invalid
-- 

list Longina Przybyszewska · Fri, 18 Nov 2005 11:32:51 +0100 (CET) ·
Bingo.
hobbitgraph.cgi couldn't find librrd.so.0 library.
But it could in 4.1.2 version with the same configuration.

If I check with ldd it doesn't claims about libraries:
/opt/hobbit/server/bin# ldd hobbitgraph.cgi
         libpcre.so.0 =>  /usr/local/lib/libpcre.so.0
         librrd.so.0 =>   /usr/local/lib/librrd.so.0
         libresolv.so.2 =>        /usr/lib/libresolv.so.2
         libsocket.so.1 =>        /usr/lib/libsocket.so.1
         libnsl.so.1 =>   /usr/lib/libnsl.so.1
         libc.so.1 =>     /usr/lib/libc.so.1
         libm.so.1 =>     /usr/lib/libm.so.1
         libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
         libdl.so.1 =>    /usr/lib/libdl.so.1
         libmp.so.2 =>    /usr/lib/libmp.so.2

when librrd.so.0 is a link:
/usr/local/lib/librrd.so.0 ->/usr/local/rrdtool-1.0.49/lib/librrd.so.0.0.0

Additionally I supplied hobbitserver.cfg with defs for runtime libraries:
LD_LIBRARY_PATH="/usr/local/rrdtool-1.0.49/lib"
RUNTIMEDEFS="LD_LIBRARY_PATH=/usr/local/rrdtool-1.0.49/lib"

which worked fine in the 4.1.2 version!

THANKS.
signature
Longina

--
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: user-db0a93c0e294@xymon.invalid
--

quoted from Thomas Pedersen
On Thu, 17 Nov 2005, Thomas wrote:
What is the server error log giving you on the error when you click on a 
graph ? If you check the HTML source maybe this could give you a hint also.

/Thomas

Longina Przybyszewska wrote:
Hi again,
I upgraded Hobbit to the newest version and all graphs dissapeared.
Click on graph links ends with Internal Server Error page.

Hobbitd_rrd starts up and runs.
New data are gathered in data/rrd/*
The only information about failure is in rrd-status.log - a lot of
the same messages for each host/service - (I have seen them before, and 
they seemd to harmless in the prevoius version of Hobbit) --
RRD error updating....  illegal attempt to update using time
1132231125 when last update time is 1132231125 (minimum one second step)
---

Hobbit runs on SunOS(sparc) - there were no problems with graphs in the 
previous version (4.1.2).

How can I get more information from the Hobbit- what is wrong?

Longina
-- 
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: 
user-db0a93c0e294@xymon.invalid
-- 

list Sladewig · Fri, 18 Nov 2005 07:26:54 -0600 ·
quoted from Longina Przybyszewska
Longina Przybyszewska wrote:
Bingo.
hobbitgraph.cgi couldn't find librrd.so.0 library.
But it could in 4.1.2 version with the same configuration.

If I check with ldd it doesn't claims about libraries:
/opt/hobbit/server/bin# ldd hobbitgraph.cgi
        libpcre.so.0 =>  /usr/local/lib/libpcre.so.0
        librrd.so.0 =>   /usr/local/lib/librrd.so.0
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libm.so.1 =>     /usr/lib/libm.so.1
        libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
You probably have LD_LIBRARY_PATH setup for your shell from which you 
execute the ldd command. So the lib is found.
quoted from Longina Przybyszewska
when librrd.so.0 is a link:
/usr/local/lib/librrd.so.0 ->/usr/local/rrdtool-1.0.49/lib/librrd.so.0.0.0
Additionally I supplied hobbitserver.cfg with defs for runtime libraries:
LD_LIBRARY_PATH="/usr/local/rrdtool-1.0.49/lib"
RUNTIMEDEFS="LD_LIBRARY_PATH=/usr/local/rrdtool-1.0.49/lib"
Your librrd.so is is really in /usr/local/rrdtool-1.0.49/lib ? I'm not 
sure if it will follow symlinks.

What are makefile flags like? It is much easier need to pass in your case:
RRDLIBS = -L/usr/local/rrdtool-1.0.49/lib \
	-R/usr/local/rrdtool-1.0.49/lib -lrrd -L/usr/local/lib \
	-R/usr/local/lib -lpng

The '-R' is "A colon-separated list of directories used to  specify 
library  search  directories to the runtime linker".

Then you won't need to use env variables in the scripts.

--
steve
quoted from Longina Przybyszewska
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: 
user-db0a93c0e294@xymon.invalid
-- 

On Thu, 17 Nov 2005, Thomas wrote:
What is the server error log giving you on the error when you click on 
a graph ? If you check the HTML source maybe this could give you a 
hint also.

/Thomas

Longina Przybyszewska wrote:
Hi again,
I upgraded Hobbit to the newest version and all graphs dissapeared.
Click on graph links ends with Internal Server Error page.

Hobbitd_rrd starts up and runs.
New data are gathered in data/rrd/*
The only information about failure is in rrd-status.log - a lot of
the same messages for each host/service - (I have seen them before, 
and they seemd to harmless in the prevoius version of Hobbit) --
RRD error updating....  illegal attempt to update using time
1132231125 when last update time is 1132231125 (minimum one second step)
---

Hobbit runs on SunOS(sparc) - there were no problems with graphs in 
the previous version (4.1.2).

How can I get more information from the Hobbit- what is wrong?

Longina
-- 
Longina Przybyszewska, system programmer
Dept. of Math. & Comp. Sci. - IMADA
University of Southern Denmark, Odense
Campusvej 55,DK-5230 Odense M, Denmark

tel: +XX XXXX XXXX - http://www.imada.sdu.dk         email: 
user-db0a93c0e294@xymon.invalid
--