Hi,
I have installed hobbit on Sun Solaris 9. I can monitor hosts, but no graph is shown.
I get the following message, if I click on the "hobbit graph"
Internet explorer cannot download.....eursun11&nostale&action=menu from eursun11.
Can someone help me?
regards, Frauke Scholz
CSC (Germany) Ltd.; MDS (Managed Desktop Services) Web & Middleware Engineering Wolfenbütteler Str. 86/Obergstr. 5 38102 Braunschweig Germany Phone: +49.5172.129279 or +49.531.224.1086 e-Mail: fscholz at csc.com Internet: http://www.de.csc.com
Experience Results. Experience CSC.
Please note that this e-mail, including any attachments, contains information that is subject to United States laws and regulations. The use or further dissemination of these materials or information therein may be prohibited by United States law.
This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.
On Thu, Jun 08, 2006 at 01:04:24PM +0200, Frauke Scholz wrote:
I have installed hobbit on Sun Solaris 9. I can monitor hosts, but no graph is shown.
I suppose that is all graphs on the status pages (conn, cpu, memory, http, bbgen, hobbitd ... ) ?
I get the following message, if I click on the "hobbit graph"
Internet explorer cannot download.....eursun11&nostale&action=menu from eursun11.
Could you try doing a "View source" on one of the status pages? The link to the graph looks somewhat like
<IMG BORDER=0 SRC="/hobbit-cgi/hobbitgraph.sh?host=voodoo.hswn.dk&service=hobbitd&graph_width=576&graph_height=120&disp=voodoo%2ehswn%2edk&nostale&graph=hourly&action=view" ALT="hobbit graph hobbitd">
I'd be interested to hear what that looks like on your system.
If that appears to be all-right, I suspect that it might be some RRDtool library problem. What happens if you run this on the Hobbit server:
REQUEST_METHOD="GET"
QUERY_STRING="host=YOUR.HOBBITSERVER.HOSTNAME&service=bbgen&graph=hourly&action=view"
SCRIPT_NAME="hobbitgraph.sh"
~hobbit/cgi-bin/hobbitgraph.sh
Regards, Henrik
Hi Henrik,
my comment in blue
regards,
Frauke Scholz
CSC (Germany) Ltd.; MDS (Managed Desktop Services) Web & Middleware Engineering Wolfenbütteler Str. 86/Obergstr. 5 38102 Braunschweig Germany Phone: +49.5172.129279 or +49.531.224.1086 e-Mail: fscholz at csc.com Internet: http://www.de.csc.com
Experience Results. Experience CSC.
Please note that this e-mail, including any attachments, contains information that is subject to United States laws and regulations. The use or further dissemination of these materials or information therein may be prohibited by United States law.
This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.
henrik at hswn.dk
(Henrik Stoerner)
To
08.06.2006 13:44 hobbit at hswn.dk
cc
Please respond to Subject
hobbit at hswn.dk Re: [hobbit] no graph shown
On Thu, Jun 08, 2006 at 01:04:24PM +0200, Frauke Scholz wrote:
I have installed hobbit on Sun Solaris 9. I can monitor hosts, but no graph is shown.
I suppose that is all graphs on the status pages (conn, cpu, memory, http, bbgen, hobbitd ... ) ?
yes, all
I get the following message, if I click on the "hobbit graph"
Internet explorer cannot download.....eursun11&nostale&action=menu from eursun11.
Could you try doing a "View source" on one of the status pages? The link to the graph looks somewhat like
<IMG BORDER=0 SRC="/hobbit-cgi/hobbitgraph.sh?host=voodoo.hswn.dk&service=hobbitd&graph_width=576&graph_height=120&disp=voodoo%2ehswn%2edk&nostale&graph=hourly&action=view" ALT="hobbit graph hobbitd">
<IMG BORDER=0 SRC="/hobbit-cgi/hobbitgraph.sh?host=eursun11&service=tcp:conn&graph_width=576&graph_height=120&disp=eursun11&nostale&graph=hourly&action=view" ALT="hobbit graph tcp:conn"> </A></td><td> <td align="left" valign="top"> <a href="/hobbit-cgi/hobbitgraph.sh?host=eursun11&service=tcp:conn&graph_width=576&graph_height=120&disp=eursun11&nostale&graph=hourly&action=selzoom"> <img src="/hobbit/gifs/zoom.gif" border=0 alt="Zoom graph" style='padding: 3px'> </a> </td></tr></table>
I'd be interested to hear what that looks like on your system.
If that appears to be all-right, I suspect that it might be some RRDtool library problem. What happens if you run this on the Hobbit server:
REQUEST_METHOD="GET" \
QUERY_STRING="host=YOUR.HOBBITSERVER.HOSTNAME&service=bbgen&graph=hourly&action=view"
SCRIPT_NAME="hobbitgraph.sh"
~hobbit/cgi-bin/hobbitgraph.sh
error message: ld.so.1: hobbitgraph.cgi: fatal: librrd.so.0: open failed: No such file or directory Killed
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Fri, Jun 09, 2006 at 11:37:49AM +0200, Frauke Scholz wrote:
If that appears to be all-right, I suspect that it might be some RRDtool library problem. What happens if you run this on the Hobbit server:
REQUEST_METHOD="GET" \
QUERY_STRING="host=YOUR.HOBBITSERVER.HOSTNAME&service=bbgen&graph=hourly&action=view"
SCRIPT_NAME="hobbitgraph.sh"
~hobbit/cgi-bin/hobbitgraph.sherror message: ld.so.1: hobbitgraph.cgi: fatal: librrd.so.0: open failed: No such file or directory Killed
OK, that is your problem then. The hobbitgraph.cgi program cannot find the rrdtool run-time library. You need to setup an LD_LIBRARY_PATH setting that points to the location of your librrd.so.0 file. E.g if you have it in /usr/local/lib then add the line
LD_LIBRARY_PATH="/usr/local/lib"
to your ~hobbit/server/etc/hobbitserver.cfg file.
Regards, Henrik
Hi Henrik,
I have set it, because there was a problem before. Any other idea?
regards Frauke Scholz
CSC (Germany) Ltd.; MDS (Managed Desktop Services) Web & Middleware Engineering Wolfenbütteler Str. 86/Obergstr. 5 38102 Braunschweig Germany Phone: +49.5172.129279 or +49.531.224.1086 e-Mail: fscholz at csc.com Internet: http://www.de.csc.com
Experience Results. Experience CSC.
Please note that this e-mail, including any attachments, contains information that is subject to United States laws and regulations. The use or further dissemination of these materials or information therein may be prohibited by United States law.
This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.
henrik at hswn.dk
(Henrik Stoerner)
To
09.06.2006 11:59 hobbit at hswn.dk
cc
Please respond to Subject
hobbit at hswn.dk Re: [hobbit] no graph shown
On Fri, Jun 09, 2006 at 11:37:49AM +0200, Frauke Scholz wrote:
If that appears to be all-right, I suspect that it might be some RRDtool library problem. What happens if you run this on the Hobbit server:
REQUEST_METHOD="GET" \
QUERY_STRING="host=YOUR.HOBBITSERVER.HOSTNAME&service=bbgen&graph=hourly&action=view"
SCRIPT_NAME="hobbitgraph.sh"
~hobbit/cgi-bin/hobbitgraph.sherror message: ld.so.1: hobbitgraph.cgi: fatal: librrd.so.0: open failed: No such file or directory Killed
OK, that is your problem then. The hobbitgraph.cgi program cannot find the rrdtool run-time library. You need to setup an LD_LIBRARY_PATH setting that points to the location of your librrd.so.0 file. E.g if you have it in /usr/local/lib then add the line
LD_LIBRARY_PATH="/usr/local/lib"
to your ~hobbit/server/etc/hobbitserver.cfg file.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Is rrd tool installed?
On 6/9/06, Frauke Scholz <fscholz at csc.com> wrote:
Hi Henrik,
I have set it, because there was a problem before. Any other idea?
regards Frauke Scholz
CSC (Germany) Ltd.; MDS (Managed Desktop Services) Web & Middleware Engineering Wolfenbütteler Str. 86/Obergstr. 5 38102 Braunschweig Germany Phone: +49.5172.129279 or +49.531.224.1086 e-Mail: fscholz at csc.com Internet: http://www.de.csc.com
Experience Results. Experience CSC.
Please note that this e-mail, including any attachments, contains information that is subject to United States laws and regulations. The use or further dissemination of these materials or information therein may be prohibited by United States law.
This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.
henrik at hswn.dk (Henrik Stoerner) To 09.06.2006 11:59 hobbit at hswn.dk cc Please respond to Subject hobbit at hswn.dk Re: [hobbit] no graph shownOn Fri, Jun 09, 2006 at 11:37:49AM +0200, Frauke Scholz wrote:
If that appears to be all-right, I suspect that it might be some RRDtool library problem. What happens if you run this on the Hobbit server:
REQUEST_METHOD="GET" \
QUERY_STRING="host= YOUR.HOBBITSERVER.HOSTNAME&service=bbgen&graph=hourly&action=view"
SCRIPT_NAME="hobbitgraph.sh"
~hobbit/cgi-bin/hobbitgraph.sherror message: ld.so.1: hobbitgraph.cgi: fatal: librrd.so.0: open failed: No such file or directory Killed
OK, that is your problem then. The hobbitgraph.cgi program cannot find the rrdtool run-time library. You need to setup an LD_LIBRARY_PATH setting that points to the location of your librrd.so.0 file. E.g if you have it in /usr/local/lib then add the line
LD_LIBRARY_PATH="/usr/local/lib"
to your ~hobbit/server/etc/hobbitserver.cfg file.
Regards, 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
-- YAEAF (Yet Another Email Address for) Katherine Hosch
On Fri, Jun 09, 2006 at 12:16:11PM +0200, Frauke Scholz wrote:
I have set it, because there was a problem before. Any other idea?
Well, it cannot find the file. So either your setting of LD_LIBRARY_PATH is wrong, or it is not being picked up by the CGI script (which runs with the webserver userid and profile), or the file is somehow inaccessible (e.g. wrong permissions on the file or directories).
Regards, Henrik
Try using "ldd" on the binary: ldd /path/to/hobbitgraph.cgi
It should show if there is a missing library. You then need to find where you have that library (probably in /usr/local/lib) and add that to your LD_LIBRARY_PATH, or, depending on your OS, edit your /etc/ld.so.conf or equivalent, so that the library can be found. As a last resort you can just symlink the missing library to /usr/lib.
You can keep checking the binary with ldd and once it shows that all the libs are found, you should be good to go.
-Charles
Frauke Scholz wrote:
Hi Henrik,
I have set it, because there was a problem before. Any other idea?
On Fri, Jun 09, 2006 at 11:37:49AM +0200, Frauke Scholz wrote:
If that appears to be all-right, I suspect that it might be some RRDtool library problem. What happens if you run this on the Hobbit server:
REQUEST_METHOD="GET" \
QUERY_STRING="host=YOUR.HOBBITSERVER.HOSTNAME&service=bbgen&graph=hourly&action=view"
SCRIPT_NAME="hobbitgraph.sh"
~hobbit/cgi-bin/hobbitgraph.sherror message: ld.so.1: hobbitgraph.cgi: fatal: librrd.so.0: open failed: No such file
or
directory Killed
OK, that is your problem then. The hobbitgraph.cgi program cannot find the rrdtool run-time library. You need to setup an LD_LIBRARY_PATH setting that points to the location of your librrd.so.0 file. E.g if you have it in /usr/local/lib then add the line
LD_LIBRARY_PATH="/usr/local/lib"
to your ~hobbit/server/etc/hobbitserver.cfg file.
Hi to all,
thank you for all your information.
The command ldd /path/to/hobbitgraph.cgi was very fine.
I have found the error.
I have now copied the librrd.o.0 to /usr/local/lib. It works now. A link to the original file doesn't work. I don't know why. But this is a solution.
Thank you. Regards,
Frauke Scholz
CSC (Germany) Ltd.; MDS (Managed Desktop Services) Web & Middleware Engineering Wolfenbütteler Str. 86/Obergstr. 5 38102 Braunschweig Germany Phone: +49.5172.129279 or +49.531.224.1086 e-Mail: fscholz at csc.com Internet: http://www.de.csc.com
Experience Results. Experience CSC.
Please note that this e-mail, including any attachments, contains information that is subject to United States laws and regulations. The use or further dissemination of these materials or information therein may be prohibited by United States law.
This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.
Charles Jones
<jonescr at cisco.co
m> To
hobbit at hswn.dk
12.06.2006 12:56 cc
Subject
Please respond to Re: [hobbit] no graph shown
hobbit at hswn.dk
Try using "ldd" on the binary: ldd /path/to/hobbitgraph.cgi
It should show if there is a missing library. You then need to find where you have that library (probably in /usr/local/lib) and add that to your LD_LIBRARY_PATH, or, depending on your OS, edit your /etc/ld.so.conf or equivalent, so that the library can be found. As a last resort you can just symlink the missing library to /usr/lib.
You can keep checking the binary with ldd and once it shows that all the libs are found, you should be good to go.
-Charles
Frauke Scholz wrote:
Hi Henrik,
I have set it, because there was a problem before.
Any other idea?
On Fri, Jun 09, 2006 at 11:37:49AM +0200, Frauke Scholz wrote:
If that appears to be all-right, I suspect that it might be
some
RRDtool library problem. What happens if you run this on the
Hobbit server:
REQUEST_METHOD="GET" \
QUERY_STRING="host=YOUR.HOBBITSERVER.HOSTNAME&service=bbgen&graph=hourly&action=view"
\
SCRIPT_NAME="hobbitgraph.sh" \
~hobbit/cgi-bin/hobbitgraph.sh
error message:
ld.so.1: hobbitgraph.cgi: fatal: librrd.so.0: open failed: No
such file
or
directory
Killed
OK, that is your problem then. The hobbitgraph.cgi program cannot
find
the rrdtool run-time library. You need to setup an LD_LIBRARY_PATH
setting that points to the location of your librrd.so.0 file. E.g if
you have it in /usr/local/lib then add the line
LD_LIBRARY_PATH="/usr/local/lib"
to your ~hobbit/server/etc/hobbitserver.cfg file.
participants (4)
-
fscholz@csc.com
-
henrik@hswn.dk
-
jonescr@cisco.com
-
khosch@gmail.com