Xymon Mailing List Archive search

no graph shown

9 messages in this thread

list Frauke Scholz · Thu, 8 Jun 2006 13:04:24 +0200 ·

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: +XX.XXXX.XXXXXX or +XX.XXX.XXX.XXXX
e-Mail: user-3b1909cc06e2@xymon.invalid
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.
list Henrik Størner · Thu, 8 Jun 2006 13:44:53 +0200 ·
quoted from Frauke Scholz
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 ... ) ? 
quoted from Frauke Scholz
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&amp;service=hobbitd&amp;graph_width=576&amp;graph_height=120&amp;disp=voodoo%2ehswn%2edk&amp;nostale&amp;graph=hourly&amp;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
list Frauke Scholz · Fri, 9 Jun 2006 11:37:49 +0200 ·

Hi Henrik,


my comment in blue
quoted from Frauke Scholz


regards,


Frauke Scholz

CSC (Germany) Ltd.; MDS (Managed Desktop Services) Web & Middleware
Engineering
Wolfenbütteler Str. 86/Obergstr. 5
38102 Braunschweig
Germany
Phone: +XX.XXXX.XXXXXX or +XX.XXX.XXX.XXXX
e-Mail: user-3b1909cc06e2@xymon.invalid
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.


             user-ce4a2c883f75@xymon.invalid                                                
             (Henrik Stoerner)                                             
                                                                        To 
             08.06.2006 13:44          user-ae9b8668bcde@xymon.invalid                      
                                                                        cc 
                                                                           
             Please respond to                                     Subject 
              user-ae9b8668bcde@xymon.invalid           Re: [hobbit] no graph shown         
quoted from Frauke Scholz
                                                                           
                                                                           
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
quoted from Henrik Størner

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&amp;service=hobbitd&amp;graph_width=576&amp;graph_height=120&amp;disp=voodoo%2ehswn%2edk&amp;nostale&amp;graph=hourly&amp;action=view"
 ALT="hobbit graph hobbitd">


<IMG BORDER=0
SRC="/hobbit-cgi/hobbitgraph.sh?host=eursun11&amp;service=tcp:conn&amp;graph_width=576&amp;graph_height=120&amp;disp=eursun11&amp;nostale&amp;graph=hourly&amp;action=view"
 ALT="hobbit graph tcp:conn">
</A></td><td> <td align="left" valign="top"> <a
href="/hobbit-cgi/hobbitgraph.sh?host=eursun11&amp;service=tcp:conn&amp;graph_width=576&amp;graph_height=120&amp;disp=eursun11&amp;nostale&amp;graph=hourly&amp;action=selzoom">
 <img src="/hobbit/gifs/zoom.gif" border=0 alt="Zoom graph" style='padding:
3px'> </a> </td></tr></table>
quoted from Henrik Størner

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
list Henrik Størner · Fri, 9 Jun 2006 11:59:13 +0200 ·
quoted from Frauke Scholz
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.


Regards,
Henrik
list Frauke Scholz · Fri, 9 Jun 2006 12:16:11 +0200 ·

Hi Henrik,

I have set it, because there was a problem before.
Any other idea?
quoted from Frauke Scholz


regards
Frauke Scholz

CSC (Germany) Ltd.; MDS (Managed Desktop Services) Web & Middleware
Engineering
Wolfenbütteler Str. 86/Obergstr. 5
38102 Braunschweig
Germany
Phone: +XX.XXXX.XXXXXX or +XX.XXX.XXX.XXXX
e-Mail: user-3b1909cc06e2@xymon.invalid
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.


             user-ce4a2c883f75@xymon.invalid                                                
             (Henrik Stoerner)                                             
                                                                        To 

             09.06.2006 11:59          user-ae9b8668bcde@xymon.invalid                      
quoted from Henrik Størner
                                                                        cc 
                                                                           
             Please respond to                                     Subject 
              user-ae9b8668bcde@xymon.invalid           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.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.


Regards,
Henrik
list Katherine Hosch · Fri, 9 Jun 2006 08:46:10 -0500 ·
Is rrd tool installed?
quoted from Frauke Scholz

On 6/9/06, Frauke Scholz <user-3b1909cc06e2@xymon.invalid> 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: +XX.XXXX.XXXXXX or +XX.XXX.XXX.XXXX
e-Mail: user-3b1909cc06e2@xymon.invalid
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.


             user-ce4a2c883f75@xymon.invalid
             (Henrik Stoerner)
                                                                        To
             09.06.2006 11:59          user-ae9b8668bcde@xymon.invalid
                                                                        cc

             Please respond to                                     Subject
              user-ae9b8668bcde@xymon.invalid           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"
quoted from Frauke Scholz
 \
   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.


Regards,
Henrik

-- 

YAEAF (Yet Another Email Address for)
Katherine Hosch
list Henrik Størner · Fri, 9 Jun 2006 17:03:38 +0200 ·
quoted from Frauke Scholz
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
list Charles Jones · Mon, 12 Jun 2006 03:56:37 -0700 ·
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
quoted from Frauke Scholz

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.

list Frauke Scholz · Tue, 13 Jun 2006 12:21:07 +0200 ·

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.
quoted from Katherine Hosch
Regards,


Frauke Scholz

CSC (Germany) Ltd.; MDS (Managed Desktop Services) Web & Middleware
Engineering
Wolfenbütteler Str. 86/Obergstr. 5
38102 Braunschweig
Germany
Phone: +XX.XXXX.XXXXXX or +XX.XXX.XXX.XXXX
e-Mail: user-3b1909cc06e2@xymon.invalid
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                                                 
             <user-bf0c777c6202@xymon.invalid                                             
             m>                                                         To 
                                       user-ae9b8668bcde@xymon.invalid                      
             12.06.2006 12:56                                           cc 
                                                                           
                                                                   Subject 
             Please respond to         Re: [hobbit] no graph shown         
              user-ae9b8668bcde@xymon.invalid                                               
quoted from Charles Jones
                                                                           
                                                                           
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.