2 hosts with the same name
list Trent Melcher
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. Thanks Trent Trent Melcher Unix/Linux Systems Administrator Securities America Financial Corporation (XXX) XXX-XXXX x2774 user-a7d23e07dd5c@xymon.invalid Securities America, Inc., a Registered Broker/Dealer, Member NASD/SIPC. Advisory services offered through Securities America Advisors, Inc., an SEC Registered Investment Advisory The text of this communication is confidential, and use by any person who is not the intended recipient is prohibited. Any person who receives this communication in error is requested to immediately destroy the text of this communication without copying or further dissemination. Your cooperation is appreciated.
list Henrik Størner
▸
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
list Jason Altrincham Jones
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
list Trent Melcher
▸
-----Original Message----- From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Thursday, January 04, 2007 10:45 AM 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.
I do, they are windows servers, so Im running the bbwin client. I will modify the registry entry for %COMPUTERNAME% . Thanks
Regards, Henrik
▸
Trent Melcher Unix/Linux Systems Administrator Securities America Financial Corporation (XXX) XXX-XXXX x2774 user-a7d23e07dd5c@xymon.invalid Securities America, Inc., a Registered Broker/Dealer, Member NASD/SIPC. Advisory services offered through Securities America Advisors, Inc., an SEC Registered Investment Advisory The text of this communication is confidential, and use by any person who is not the intended recipient is prohibited. Any person who receives this communication in error is requested to immediately destroy the text of this communication without copying or further dissemination. Your cooperation is appreciated.
list Tom Kauffman
I'm about to get into this nonsense myself. I'm running an HA environment for two SAP systems under AIX. One of them is the SAP Business Warehouse (now renamed to something else); on the next upgrade the BW system will expect the hostname to match the IP address internally at all times -- so when it moves to the fallover system, the IP address AND hostname will need to move as well. One of these days I'm going to flip, and implement a box with a hostname that has no resemblance to ANY IP interface label and then try to hack DNS to support it. Tom
▸
-----Original Message-----
From: Jones, Jason (Altrincham) [mailto:user-ee957b46acd2@xymon.invalid]
Sent: Thursday, January 04, 2007 11:49 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] 2 hosts with the same name
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
CONFIDENTIALITY NOTICE: This email and any attachments are for the
exclusive and confidential use of the intended recipient. If you are not
the intended recipient, please do not read, distribute or take action in
reliance upon this message. If you have received this in error, please
notify us immediately by return email and promptly delete this message
and its attachments from your computer system. We do not waive
attorney-client or work product privilege by the transmission of this
message.
list Jason Altrincham Jones
If you are using BBWin you can just add the line <setting name="hostname" value="hostname" /> to BBWin.cfg, this will save you having any possible problems that could arise from altering the %COMPUTERNAME% variable. Thanks, Jason.
▸
-----Original Message-----
From: Kauffman, Tom [mailto:user-3feba9e60a8b@xymon.invalid]
Sent: 04 January 2007 18:36
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] 2 hosts with the same name
I'm about to get into this nonsense myself. I'm running an HA
environment for two SAP systems under AIX. One of them is the SAP
Business Warehouse (now renamed to something else); on the next upgrade
the BW system will expect the hostname to match the IP address
internally at all times -- so when it moves to the fallover system, the
IP address AND hostname will need to move as well.
One of these days I'm going to flip, and implement a box with a hostname
that has no resemblance to ANY IP interface label and then try to hack
DNS to support it.
Tom
-----Original Message-----
From: Jones, Jason (Altrincham) [mailto:user-ee957b46acd2@xymon.invalid]
Sent: Thursday, January 04, 2007 11:49 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] 2 hosts with the same name
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 CONFIDENTIALITY NOTICE: This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, please do not read, distribute or take action in reliance upon this message. If you have received this in error, please notify us immediately by return email and promptly delete this message and its attachments from your computer system. We do not waive attorney-client or work product privilege by the transmission of this message.
list Jason Altrincham Jones
OK that was a stupid explanation and could be misunderstood so just to clear it up, you can add: <setting name="hostname" value="THECOMPUTERNAME" /> Basically it just tells BBWin to report as a different hostname so you could do test_duplicateName and build_duplicateName. Jason.
▸
-----Original Message-----
From: Jones, Jason (Altrincham)
Sent: 05 January 2007 10:15
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] 2 hosts with the same name
If you are using BBWin you can just add the line <setting
name="hostname" value="hostname" /> to BBWin.cfg, this will save you
having any possible problems that could arise from altering the
%COMPUTERNAME% variable.
Thanks,
Jason.
-----Original Message-----
From: Kauffman, Tom [mailto:user-3feba9e60a8b@xymon.invalid]
Sent: 04 January 2007 18:36
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] 2 hosts with the same name
I'm about to get into this nonsense myself. I'm running an HA
environment for two SAP systems under AIX. One of them is the SAP
Business Warehouse (now renamed to something else); on the next upgrade
the BW system will expect the hostname to match the IP address
internally at all times -- so when it moves to the fallover system, the
IP address AND hostname will need to move as well.
One of these days I'm going to flip, and implement a box with a hostname
that has no resemblance to ANY IP interface label and then try to hack
DNS to support it.
Tom
-----Original Message-----
From: Jones, Jason (Altrincham) [mailto:user-ee957b46acd2@xymon.invalid]
Sent: Thursday, January 04, 2007 11:49 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] 2 hosts with the same name
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 CONFIDENTIALITY NOTICE: This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, please do not read, distribute or take action in reliance upon this message. If you have received this in error, please notify us immediately by return email and promptly delete this message and its attachments from your computer system. We do not waive attorney-client or work product privilege by the transmission of this message.