[hobbit] 2 hosts with the same name

Jones, Jason (Altrincham) JasonAS_Jones at mentor.com
Thu Jan 4 17:49:17 CET 2007


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:henrik at hswn.dk] 
Sent: 04 January 2007 16:45
To: hobbit at hswn.dk
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


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





More information about the Xymon mailing list