Hi all
Will Hobbit be OK monitoring 2 separate clients with the same host name?
I know this is madness, but right now, I have to live with it.
We have 2 servers on our network with the same hostname. (Different IP address, of course, but if I use the hostname or uname command, I get the same name. For the sake of discussion, let's call it pluto.
It ended up like this because there are services running on old_pluto, that are being migrated to the new_pluto, but only half the services are migrated, and due to planning inadequacies, the migration is stalled - at least for the time being.
I still want to minitor the services on both though.
I know I can create an alias on the Hobbit display, but will there be problems with the data sent from the Hobbit client, or will the Hobbit server be happy with this?
Cheers Vernon
Everett, Vernon wrote:
Hi all
Will Hobbit be OK monitoring 2 separate clients with the same host name?
I know this is madness, but right now, I have to live with it.
We have 2 servers on our network with the same hostname. (Different IP address, of course, but if I use the hostname or uname command, I get the same name. For the sake of discussion, let's call it pluto.
It ended up like this because there are services running on old_pluto, that are being migrated to the new_pluto, but only half the services are migrated, and due to planning inadequacies, the migration is stalled - at least for the time being.
I still want to minitor the services on both though.
I know I can create an alias on the Hobbit display, but will there be problems with the data sent from the Hobbit client, or will the Hobbit server be happy with this?
Cheers Vernon
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Define a new and old DNS entry and change the hobbitclient.sh to hardcode the machine name instead of doing a uname ?
Otherwise yeah I would imagine they will both update the same data set but dont quote me on that one
Allan
On Fri, Aug 04, 2006 at 10:52:05AM +0800, Everett, Vernon wrote:
Will Hobbit be OK monitoring 2 separate clients with the same host name?
I know this is madness, but right now, I have to live with it.
You must configure the client on each of them, so they use different hostnames when reporting to the Hobbit server. Otherwise, Hobbit cannot tell what server the data is from.
The script you use to start the client - ~hobbit/client/runclient.sh - has a --hostname=NAME option that lets you set the name it uses to report data.
So you'd setup two host entries in bb-hosts on the server, e.g. "pluto" and "oldpluto", and on the old server you'd start the client with "--hostname=oldpluto".
Regards, Henrik
participants (3)
-
allan@zandahar.net
-
henrik@hswn.dk
-
Vernon.Everett@dpi.wa.gov.au