On Tue, Jul 26, 2005 at 12:40:26PM +0200, Dirk Kastens wrote:
I just installed the new hobbit client on one of our linux machines. It didn't send data to the hobbit server until I changed its hostname to a fully qualified name. The bb client has the option FQDN that must be set to "true" if the server needs a fully qualified name. What about the hobbit client?
By default, the Hobbit client sends in reports using the name provided by "uname -n". If this is not the name that is used in the Hobbit servers' bb-hosts file, then the Hobbit server will silently discard these data as being from an "unknown" host.
So you have three possibilities:
Make the client report their status with the same hostname that you use in the Hobbit servers' bb-hosts file. Do this by adding a MACHINEDOTS="my.host.name" entry in the clients' client/etc/hobbitclient.cfg file.
Same as 1), but done on the server side by modifying the servers' bb-hosts file
Tell the server about the other hostname used by the client, by adding a "CLIENT:clienthostname" tag to the the hosts' entry in the servers' bb-hosts file.
I recommend 1) since that is the cleanest way of doing it.
Regards, Henrik