Xymon Mailing List Archive search

Hostname in tree but no hostinfo

5 messages in this thread

list Tod Hansmann · Mon, 9 Apr 2007 12:22:00 -0600 ·
In our hobbitd.log we have several messages stating:
"Hostname '<various>' in tree, but no hostinfo."

This is in a migration from bb to hobbit, and all 22 hosts mentioned are
no longer in the bb-hosts file.  I have used 'bb 127.0.0.1 "drop
<hostname>"' in an attempt to get rid of it, but no success.  So our
hobbitd column sits at yellow.

Has anyone seen this problem before?  My search of the mailing list only
revealed one message with it that was seemingly never answered (probably
because the gentleman slipped the question into another unrelated
thread).

Tod Hansmann
Network Engineer
DirectPointe, Inc
list Rich Smrcina · Mon, 09 Apr 2007 13:26:29 -0500 ·
Are they listed in the ghosts report?  If so, the client code is still 
reporting to the server.
quoted from Tod Hansmann

Tod Hansmann wrote:
In our hobbitd.log we have several messages stating:
"Hostname '<various>' in tree, but no hostinfo."

This is in a migration from bb to hobbit, and all 22 hosts mentioned are
no longer in the bb-hosts file.  I have used 'bb 127.0.0.1 "drop
<hostname>"' in an attempt to get rid of it, but no success.  So our
hobbitd column sits at yellow.

Has anyone seen this problem before?  My search of the mailing list only
revealed one message with it that was seemingly never answered (probably
because the gentleman slipped the question into another unrelated
thread).

Tod Hansmann
Network Engineer
DirectPointe, Inc

-- 

Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
user-61add9955ef9@xymon.invalid

Catch the WAVV!  http://www.wavv.org
WAVV 2007 - Green Bay, WI - May 18-22, 2007
list Tod Hansmann · Mon, 9 Apr 2007 12:58:24 -0600 ·
I checked just in case, but as I suspected, no.  We have never had
clients on these machines.  Several of these machines also don't
physically exist anymore, and their IPs have not been reused yet.

Tod Hansmann
Network Engineer
quoted from Rich Smrcina
 
 
-----Original Message-----
From: Rich Smrcina [mailto:user-cf452ff334e0@xymon.invalid] 
Sent: Monday, April 09, 2007 12:26 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hostname in tree but no hostinfo

Are they listed in the ghosts report?  If so, the client code is still 
reporting to the server.

Tod Hansmann wrote:
In our hobbitd.log we have several messages stating:
"Hostname '<various>' in tree, but no hostinfo."

This is in a migration from bb to hobbit, and all 22 hosts mentioned
are
no longer in the bb-hosts file.  I have used 'bb 127.0.0.1 "drop
<hostname>"' in an attempt to get rid of it, but no success.  So our
hobbitd column sits at yellow.

Has anyone seen this problem before?  My search of the mailing list
only
revealed one message with it that was seemingly never answered
(probably
because the gentleman slipped the question into another unrelated
thread).

Tod Hansmann
Network Engineer
DirectPointe, Inc

-- 
Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
user-61add9955ef9@xymon.invalid

Catch the WAVV!  http://www.wavv.org
WAVV 2007 - Green Bay, WI - May 18-22, 2007
list Tod Hansmann · Mon, 9 Apr 2007 13:23:35 -0600 ·
Just found the problem.  We had mrtg polling these machines.  I imagine
hobbit didn't know what to do with the data.  I took out the hosts in
the mrtg.cfg and redid the 'bb 127.0.0.1 "drop hostname"' and that got
rid of the messages.

For anyone doing a search on the message, it seems (to me) to mean that
hobbit got some info it doesn't know exactly where to send off. 

For anyone's reference, we use the bbmrtg.pl script to integrate mrtg
with hobbit, not the built in integration.  

Hope this helps someone else.  And thanks for the reply Rich.  You sent
me on a path that led to the solution, even if indirectly.  =c)
quoted from Tod Hansmann

Tod Hansmann
Network Engineer
 
 
-----Original Message-----
From: Tod Hansmann [mailto:user-b6e28cb93fa4@xymon.invalid] 
Sent: Monday, April 09, 2007 12:58 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Hostname in tree but no hostinfo

I checked just in case, but as I suspected, no.  We have never had
clients on these machines.  Several of these machines also don't
physically exist anymore, and their IPs have not been reused yet.

Tod Hansmann
Network Engineer
 
 
-----Original Message-----
From: Rich Smrcina [mailto:user-cf452ff334e0@xymon.invalid] 
Sent: Monday, April 09, 2007 12:26 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hostname in tree but no hostinfo

Are they listed in the ghosts report?  If so, the client code is still 
reporting to the server.

Tod Hansmann wrote:
In our hobbitd.log we have several messages stating:
"Hostname '<various>' in tree, but no hostinfo."

This is in a migration from bb to hobbit, and all 22 hosts mentioned
are
no longer in the bb-hosts file.  I have used 'bb 127.0.0.1 "drop
<hostname>"' in an attempt to get rid of it, but no success.  So our
hobbitd column sits at yellow.

Has anyone seen this problem before?  My search of the mailing list
only
revealed one message with it that was seemingly never answered
(probably
because the gentleman slipped the question into another unrelated
thread).

Tod Hansmann
Network Engineer
DirectPointe, Inc

-- 
Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
user-61add9955ef9@xymon.invalid

Catch the WAVV!  http://www.wavv.org
WAVV 2007 - Green Bay, WI - May 18-22, 2007
list Henrik Størner · Mon, 9 Apr 2007 23:09:23 +0200 ·
quoted from Tod Hansmann
On Mon, Apr 09, 2007 at 12:22:00PM -0600, Tod Hansmann wrote:
In our hobbitd.log we have several messages stating:
"Hostname '<various>' in tree, but no hostinfo."

This is in a migration from bb to hobbit, and all 22 hosts mentioned are
no longer in the bb-hosts file.  I have used 'bb 127.0.0.1 "drop
<hostname>"' in an attempt to get rid of it, but no success.  So our
hobbitd column sits at yellow.
I see you've found a solution to the problem.

This is one of those "this is impossible but let's check just in case"
things that programmers check because they do happen anyway. The error
is logged when hobbitd responds to a status query, typically when the
web pages are updated with the current status of all the hosts. 
Hobbit has one data structure holding all of the test-results that have been reported, and another data structure holding the list of hosts it knows about (basically, it's the contents of the bb-hosts file). Obviously, a status cannot refer to a host that isn't in the bb-hosts file; status messages from unknown hosts are ignored (they only show up in the "ghost" list), and if a host is removed from bb-hosts then it should be detected at the time the bb-hosts file is reloaded, and any status messages should then be purged - and they should definitely disappear after you do a "drop" on the host.

So this is a symptom of an inconsistency in the data Hobbit has in
memory.

I know there is a bug in the way hosts are dropped from the internal
tree, and this could well be an effect of this bug. So it is probably wise to stop Hobbit and restart it - this bug has the potential to cause
hobbitd to go into a state where it just spins using 100% cpu time.
Restarting Hobbit will clean up the inconsistent data it has in memory.


Regards,
Henrik