[hobbit] hobbit-clients.cfg not working?
Henrik Stoerner
henrik at hswn.dk
Tue Oct 30 22:56:24 CET 2007
On Tue, Oct 30, 2007 at 10:28:25AM -0400, Gary Baluha wrote:
> Henrik can correct me if I'm wrong, but from my experience, Hobbit matches
> the data coming in to it from the clients by IP address (as well as using
> the IP address for network tests). I haven't figured out exactly where the
> name comes into play, but it seems to use the name from the second field
> after the IP address is processed. If the name and IP don't match and there
> isn't a CLIENT: field, it seems to get confused.
Actually, Hobbit doesn't use the IP for any matching of client data with
the hosts that Hobbit knows about. This all happens based on the
hostname that the client reports, and the hostnames in the bb-hosts
file.
The client usually picks up the hostname from the "uname -n" command
output, and uses this when reporting data to Hobbit. Hobbit then looks
for this name in the bb-hosts file (2nd column) and if there's a match,
that one is used. However, it often happens that these names do not
match - typically there's a fully-qualified hostname in one place, and a
plain hostname with no domain in the other. To handle this, you can use
the CLIENT tag to tell Hobbit about the "alias" name that the client
uses.
Henrik
More information about the Xymon
mailing list