Xymon Mailing List Archive search

2 hosts with the same name

list Jason Altrincham Jones
Thu, 4 Jan 2007 16:49:17 -0000
Message-Id: <user-d73e8cb8b2b9@xymon.invalid>

You can always get one to lie by altering runclient.sh on one of them
(alter MACHINEDOTS="`uname -n`" to something like
MACHINEDOTS="`test_uname -n`"), though I'm confused how they are running
on the network together if they have the exact same hostname...
Jason.

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: 04 January 2007 16:45
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] 2 hosts with the same name

On Thu, Jan 04, 2007 at 10:36:03AM -0600, Trent Melcher wrote:
Is there an easy way to monitor 2 servers with the same computername
using 1 hobbit server?  We are monitoring both our production
enviroment
and test environments.  Unfortunately the computername in test or prod
cannot be changed.
They must have different names in the bb-hosts file, or Hobbit will not
be able to distinguish between them. So you need to make up a pseudo
hostname for at least one of them.

For the client data (assuming you have a Hobbit client on them), you can
modify the hostname it uses to report data and make sure it matches the
name you use in bb-hosts.


Regards,
Henrik