conn graph not being created
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
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.
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
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: 01582 525910 Mob: 07985891476 e-mail: lance.wantenaar at easyjet.com
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: 12 June 2007 12:41 To: hobbit at hswn.dk 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: 12 June 2007 12:41 To: hobbit at hswn.dk 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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
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.
Regards
Lance Wantenaar Infrastructure engineer Tel: 01582 525910 Mob: 07985891476 e-mail: lance.wantenaar at easyjet.com
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: 12 June 2007 14:43 To: hobbit at hswn.dk 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (3)
-
henrik@hswn.dk
-
Lance.Wantenaar@easyJet.com
-
pkc_mls@yahoo.fr