Xymon Mailing List Archive search

Delay before seeing a new host in the Hobbit map

7 messages in this thread

list Frédéric Mangeant · Thu, 17 Nov 2005 16:28:04 +0100 ·
Hi again - with a "real" problem this time ;-)

when adding a new host in Hobbit, it takes sometimes a few minutes for this host's tests to appear on the map (only the host itself appears on the map).
I even run bbtest-net on it, but no files appear in ~hobbit/data/histlogs/<name of host>

$ echo "10.20.30.40   testhost" >> ~hobbit/server/etc/bb-hosts

$ ~hobbit/server/bin/bbcmd bbtest-net --debug testhost

[snip]
2005-11-17 15:56:23 Adding to combo msg: status testhost.conn red <!-- [flags:ordAstILe] --> Thu Nov 17 15:56:19 2005 conn NOT ok
2005-11-17 15:56:23 Flushing combo message
      status testhost.conn red <!-- [flags:ordAstILe] --> Thu Nov 17 15:56:19 2005 conn NOT ok
[snip]
2005-11-17 15:56:23 Connect status is 0
2005-11-17 15:56:23 Sent 251 bytes
2005-11-17 15:56:23 Closing connection
2005-11-17 15:56:23 1 status messages merged into 1 transmissions
[snip]

$ ls ~hobbit/data/histlogs/testhost
ls: ~/hobbit/data/histlogs/testhost: No such file or directory

The hobbitd column shows this :

Ghost reports:
  10.20.30.40     reported host testhost


If I restart Hobbit, the host's test appear on the map and files can be found in ~hobbit/data/histlogs/<name of host>
It looks like this "delay" is equal to hobbitd's checkpoint interval (600 seconds by default)...

Do you have a clue ?

Thanks again.

Regards,

-- 

Frédéric Mangeant

Steria EDC Sophia-Antipolis
list Henrik Størner · Thu, 17 Nov 2005 17:10:20 +0100 ·
quoted from Frédéric Mangeant
On Thu, Nov 17, 2005 at 04:28:04PM +0100, Frédéric Mangeant wrote:
when adding a new host in Hobbit, it takes sometimes a few minutes for 
this host's tests to appear on the map (only the host itself appears on 
the map).
[snip]
If I restart Hobbit, the host's test appear on the map
The "hobbitd" daemon which receives the status messages reloads the
bb-hosts file at regular intervals (at the same time as dumping the
checkpoint file). When you edit the bb-hosts file, it won't notice
until it has reloaded the file - and that might be a few minutes
away.

You can force a reload by sending a HUP signal to the hobbitd proces;
eg on Linux do "killall -HUP hobbitd". See the SIGNALS section of the
hobbitd(8) man-page.


Regards,
Henrik
list Fabio Flores · Thu, 17 Nov 2005 17:27:35 -0000 ·
Im trying to run hobbit client under Solaris 10 Zones. When I start the
client it gives me an error

"prtconf: devinfo facility not available"

Any thoughts?

Thanks,

Fabio
list Richard Deal · Thu, 17 Nov 2005 12:41:20 -0500 ·
On sub zones change hobbitclient-sunos.sh
/usr/sbin/prtconf
To :
/usr/sbin/prtconf -p

On the global zone I change this line as well:
Ps -ef
To
Ps -fz global

Also if you use the prtdiag and meta ext scripts they are not of much
use on sub zones.
quoted from Fabio Flores

-----Original Message-----
From: Fabio Flores [mailto:user-6f3e32ee6556@xymon.invalid]
Sent: Thursday, November 17, 2005 12:28 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] hobbit-client on Solaris 10 Zones

Im trying to run hobbit client under Solaris 10 Zones. When I start
the
client it gives me an error

"prtconf: devinfo facility not available"

Any thoughts?

Thanks,

Fabio

list Fabio Flores · Fri, 18 Nov 2005 15:35:36 -0000 ·
Tried that but still gives me the same error.

Any other idea?
quoted from Richard Deal


-----Original Message-----
From: Deal, Richard [mailto:user-f6f804cb0a50@xymon.invalid]
Sent: 17 November 2005 17:41
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] hobbit-client on Solaris 10 Zones


On sub zones change hobbitclient-sunos.sh
/usr/sbin/prtconf
To :
/usr/sbin/prtconf -p

On the global zone I change this line as well:
Ps -ef
To
Ps -fz global

Also if you use the prtdiag and meta ext scripts they are not of much
use on sub zones.

-----Original Message-----
From: Fabio Flores [mailto:user-6f3e32ee6556@xymon.invalid]
Sent: Thursday, November 17, 2005 12:28 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] hobbit-client on Solaris 10 Zones

Im trying to run hobbit client under Solaris 10 Zones. When I start
the
client it gives me an error

"prtconf: devinfo facility not available"

Any thoughts?

Thanks,

Fabio

list Richard Deal · Fri, 18 Nov 2005 10:51:21 -0500 ·
My sub zones don't give an error when I run 
/usr/sbin/prtconf -p 

What do you get when you run it from the shell?

I suppose you could comment out that section.
quoted from Fabio Flores
-----Original Message-----
From: Fabio Flores [mailto:user-6f3e32ee6556@xymon.invalid]
Sent: Friday, November 18, 2005 10:36 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] hobbit-client on Solaris 10 Zones

Tried that but still gives me the same error.

Any other idea?

-----Original Message-----
From: Deal, Richard [mailto:user-f6f804cb0a50@xymon.invalid]
Sent: 17 November 2005 17:41
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] hobbit-client on Solaris 10 Zones

On sub zones change hobbitclient-sunos.sh
/usr/sbin/prtconf
To :
/usr/sbin/prtconf -p

On the global zone I change this line as well:
Ps -ef
To
Ps -fz global

Also if you use the prtdiag and meta ext scripts they are not of much
use on sub zones.
-----Original Message-----
From: Fabio Flores [mailto:user-6f3e32ee6556@xymon.invalid]
Sent: Thursday, November 17, 2005 12:28 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] hobbit-client on Solaris 10 Zones

Im trying to run hobbit client under Solaris 10 Zones. When I start
the
client it gives me an error

"prtconf: devinfo facility not available"

Any thoughts?

Thanks,

Fabio

list Fabio Flores · Fri, 18 Nov 2005 16:57:11 -0000 ·
For the moment that was my solution, I commented the prtconf section!
quoted from Richard Deal

-----Original Message-----
From: Deal, Richard [mailto:user-f6f804cb0a50@xymon.invalid]
Sent: 18 November 2005 15:51
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] hobbit-client on Solaris 10 Zones


My sub zones don't give an error when I run 
/usr/sbin/prtconf -p 

What do you get when you run it from the shell?

I suppose you could comment out that section.
-----Original Message-----
From: Fabio Flores [mailto:user-6f3e32ee6556@xymon.invalid]
Sent: Friday, November 18, 2005 10:36 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] hobbit-client on Solaris 10 Zones

Tried that but still gives me the same error.

Any other idea?

-----Original Message-----
From: Deal, Richard [mailto:user-f6f804cb0a50@xymon.invalid]
Sent: 17 November 2005 17:41
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] hobbit-client on Solaris 10 Zones

On sub zones change hobbitclient-sunos.sh
/usr/sbin/prtconf
To :
/usr/sbin/prtconf -p

On the global zone I change this line as well:
Ps -ef
To
Ps -fz global

Also if you use the prtdiag and meta ext scripts they are not of much
use on sub zones.
-----Original Message-----
From: Fabio Flores [mailto:user-6f3e32ee6556@xymon.invalid]
Sent: Thursday, November 17, 2005 12:28 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] hobbit-client on Solaris 10 Zones

Im trying to run hobbit client under Solaris 10 Zones. When I start
the
client it gives me an error

"prtconf: devinfo facility not available"

Any thoughts?

Thanks,

Fabio