Delay before seeing a new host in the Hobbit map
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
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
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
participants (3)
-
fabio.flores@flytxt.com
-
frederic.mangeant@steria.com
-
henrik@hswn.dk