Xymon Mailing List Archive search

conn graph not being created

7 messages in this thread

list Lance Wantenaar · Tue, 12 Jun 2007 11:33:40 +0100 ·
I am struggling to get hobbit to draw graphs for conn test for host on
my hobbit system. I am using version 4.20 which is a fresh build from
source.

 
All the software installation is under the hobbit user in the hobbit
directory.

 
This is a new install. I got my bb-host file from an older bb server. I
do get 2 graphs which are displayed and that is for the old BB server
and the localhost. At the moment the graph is not being drawn just
displayed.

 
Error message for one of the devices on the conn page. No graph is
displayed.

 
"Service conn on luton_7204_loopback0 is OK Hobbit system error"

 
When I click on the graph it goes through to the webpage for the hourly,
daily, weekly and monthly graphs but again they aren't displayed.

 
How do I troubleshoot this to resolve the issue?

 
Lance Wantenaar
list Pkc_mls · Tue, 12 Jun 2007 12:58:04 +0200 ·
quoted from Lance Wantenaar
Lance Wantenaar a écrit :
I am struggling to get hobbit to draw graphs for conn test for host on my hobbit system. I am using version 4.20 which is a fresh build from source.

 
All the software installation is under the hobbit user in the hobbit directory.

 
This is a new install. I got my bb-host file from an older bb server. I do get 2 graphs which are displayed and that is for the old BB server and the localhost. At the moment the graph is not being drawn just displayed.

 
Error message for one of the devices on the conn page. No graph is displayed.

 
"Service conn on luton_7204_loopback0 is OK Hobbit system error"

 
When I click on the graph it goes through to the webpage for the hourly, daily, weekly and monthly graphs but again they aren't displayed.

 
How do I troubleshoot this to resolve the issue?

 
Lance Wantenaar

 
the best is to run the hobbitgraph directly from the command line of your server with the userid of your http daemon.
you need to copy paste the query string and set a QUERY_STRING variable with this content. (i'm not sure of the variable name, you should check the mailing list archive as this issue was already discussed).

you should then get more details about the error.
list Henrik Størner · Tue, 12 Jun 2007 13:41:06 +0200 ·
quoted from Lance Wantenaar
On Tue, Jun 12, 2007 at 11:33:40AM +0100, Lance Wantenaar wrote:
Error message for one of the devices on the conn page. No graph is
displayed.

"Service conn on luton_7204_loopback0 is OK Hobbit system error"
That's a first - this is one of those "it cannot happen" errors that
I'd never expected to see.

In other words, your setup is fine - it just doesn't run the ping test 
for this host for some reason.

Could you try running this command from the Hobbit server while logged
in as the Hobbit user:

  bbcmd bbtest-net --ping --debug luton_7204_loopback0 2>&1 >/tmp/debug.txt

and send me the /tmp/debug.txt file. Hopefully that will help me figure
out what's happening.

Also, if there's anything in the ~hobbit/server/logs/bb-network.log file
I'd like to know.


Regards,
Henrik
list Lance Wantenaar · Tue, 12 Jun 2007 13:42:44 +0100 ·
Henrik

I ran it but then re-ran it with the ip address as it generated DNS
error message.

Here are both files.


Regards
 
Lance Wantenaar
Infrastructure engineer
Tel: XXXXX XXXXXX
Mob: 07985891476
e-mail: user-07c040ff11bb@xymon.invalid
quoted from Henrik Størner

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: 12 June 2007 12:41
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] conn graph not being created

On Tue, Jun 12, 2007 at 11:33:40AM +0100, Lance Wantenaar wrote:
Error message for one of the devices on the conn page. No graph is
displayed.

"Service conn on luton_7204_loopback0 is OK Hobbit system error"
That's a first - this is one of those "it cannot happen" errors that
I'd never expected to see.

In other words, your setup is fine - it just doesn't run the ping test 
for this host for some reason.

Could you try running this command from the Hobbit server while logged
in as the Hobbit user:

  bbcmd bbtest-net --ping --debug luton_7204_loopback0 2>&1
/tmp/debug.txt
and send me the /tmp/debug.txt file. Hopefully that will help me figure
out what's happening.

Also, if there's anything in the ~hobbit/server/logs/bb-network.log file
I'd like to know.


Regards,
Henrik
Attachments (2)
list Lance Wantenaar · Tue, 12 Jun 2007 14:03:52 +0100 ·
Henrik

The only entry I get in the bb-network.log file is 

2007-06-12 13:54:17 Could not run the command '/usr/sbin/fping -Ae'
(exec failed)
2007-06-12 13:54:17 hobbitping invocation failed: Permission denied

Regards
 
Lance Wantenaar
quoted from Lance Wantenaar

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: 12 June 2007 12:41
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] conn graph not being created

On Tue, Jun 12, 2007 at 11:33:40AM +0100, Lance Wantenaar wrote:
Error message for one of the devices on the conn page. No graph is
displayed.

"Service conn on luton_7204_loopback0 is OK Hobbit system error"
That's a first - this is one of those "it cannot happen" errors that
I'd never expected to see.

In other words, your setup is fine - it just doesn't run the ping test 
for this host for some reason.

Could you try running this command from the Hobbit server while logged
in as the Hobbit user:

  bbcmd bbtest-net --ping --debug luton_7204_loopback0 2>&1
/tmp/debug.txt
and send me the /tmp/debug.txt file. Hopefully that will help me figure
out what's happening.

Also, if there's anything in the ~hobbit/server/logs/bb-network.log file
I'd like to know.


Regards,
Henrik
list Henrik Størner · Tue, 12 Jun 2007 15:43:20 +0200 ·
quoted from Lance Wantenaar
On Tue, Jun 12, 2007 at 02:03:52PM +0100, Lance Wantenaar wrote:
2007-06-12 13:54:17 Could not run the command '/usr/sbin/fping -Ae' (exec failed)
2007-06-12 13:54:17 hobbitping invocation failed: Permission denied
OK, this is it. The ~hobbit/server/bin/hobbitping utility must be
installed as suid-root, i.e. permissions should be like this:

$ cd ~hobbit/server/bin
$ ls -l hobbitping
-rwsr-xr-x 1 root users 153698 May  7 14:18 hobbitping


Regards,
Henrik
list Lance Wantenaar · Wed, 13 Jun 2007 10:02:14 +0100 ·
Henrik

Thanks for all the effort!

When I compiled the program I defaulted to fping and not hobbitping. I
had to change my server config document to use hobbitping and the graphs
have now been drawn.
signature

Regards
 
Lance Wantenaar
Infrastructure engineer
Tel: XXXXX XXXXXX
Mob: 07985891476
e-mail: user-07c040ff11bb@xymon.invalid

-----Original Message-----

quoted from Henrik Størner
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: 12 June 2007 14:43
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] conn graph not being created

On Tue, Jun 12, 2007 at 02:03:52PM +0100, Lance Wantenaar wrote:
2007-06-12 13:54:17 Could not run the command '/usr/sbin/fping -Ae'
(exec failed)
2007-06-12 13:54:17 hobbitping invocation failed: Permission denied
OK, this is it. The ~hobbit/server/bin/hobbitping utility must be
installed as suid-root, i.e. permissions should be like this:

$ cd ~hobbit/server/bin
$ ls -l hobbitping
-rwsr-xr-x 1 root users 153698 May  7 14:18 hobbitping


Regards,
Henrik