Xymon Mailing List Archive search

Changed IP address

5 messages in this thread

list Rich Smrcina · Thu, 01 Mar 2007 15:49:47 -0600 ·
Until DNS gets updated/propagated you can add 'testip' to the tests for that host.

Jeffrey Chandler wrote:
Hello,

I have changed an IP address on one of my servers which hobbit monitors.  I have updated the bb-hosts file to reflect the new IP address of that host, but my hobbit server still pings the old IP address.

If I use the bbtest-net --debug command and grep for the hostname, it says the following:

2007-03-01 16:45:55 Got DNS result for host server1.example.com <http://server1.example.com>; : 192.168.1.100 <http://192.168.1.100>;

This is no longer the IP address for this host, and is not reflected that way in any of the DNS servers which the hobbit network server is using.  Is there another configuration file that I need to modify as well?

My Hobbit server is running on RedHat Enterprise Linux 3.0.

Thanks,

Jeff
-- 
Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
user-61add9955ef9@xymon.invalid

Catch the WAVV!  http://www.wavv.org
WAVV 2007 - Green Bay, WI - May 18-22, 2007
list Jeffrey Chandler · Thu, 1 Mar 2007 16:51:35 -0500 ·
Hello,

I have changed an IP address on one of my servers which hobbit monitors.  I
have updated the bb-hosts file to reflect the new IP address of that host,
but my hobbit server still pings the old IP address.

If I use the bbtest-net --debug command and grep for the hostname, it says
the following:

2007-03-01 16:45:55 Got DNS result for host server1.example.com :
192.168.1.100

This is no longer the IP address for this host, and is not reflected that
way in any of the DNS servers which the hobbit network server is using.  Is
there another configuration file that I need to modify as well?

My Hobbit server is running on RedHat Enterprise Linux 3.0.

Thanks,

Jeff
list Jeffrey Chandler · Thu, 1 Mar 2007 17:07:39 -0500 ·
Thanks.  using the testip option worked.  However, I am curious where within
hobbit it is pulling the DNS information from.  Each of the DNS servers in
/etc/resolv.conf resolves the IP properly and they are authoritative for the
domain.  Is there a cache which Hobbit uses first?

Jeff
quoted from Rich Smrcina

On 3/1/07, Rich Smrcina <user-cf452ff334e0@xymon.invalid> wrote:
Until DNS gets updated/propagated you can add 'testip' to the tests for
that host.

Jeffrey Chandler wrote:
Hello,

I have changed an IP address on one of my servers which hobbit
monitors.  I have updated the bb-hosts file to reflect the new IP
address of that host, but my hobbit server still pings the old IP
address.

If I use the bbtest-net --debug command and grep for the hostname, it
says the following:

2007-03-01 16:45:55 Got DNS result for host server1.example.com
<http://server1.example.com>; : 192.168.1.100 <http://192.168.1.100>;

This is no longer the IP address for this host, and is not reflected
that way in any of the DNS servers which the hobbit network server is
using.  Is there another configuration file that I need to modify as
well?

My Hobbit server is running on RedHat Enterprise Linux 3.0.

Thanks,

Jeff
--
Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
user-61add9955ef9@xymon.invalid

Catch the WAVV!  http://www.wavv.org
WAVV 2007 - Green Bay, WI - May 18-22, 2007

list Greg L Hubbard · Thu, 1 Mar 2007 16:13:41 -0600 ·
Most DNS resolvers cache entries themselves.  The underlying operating
system usually provides this service for all network users (meaning
applications).  When you run "nslookup" you are bypassing the cache.
 
GLH
quoted from Jeffrey Chandler


	From: Jeffrey Chandler [mailto:user-3bdabb0d5953@xymon.invalid] 
	Sent: Thursday, March 01, 2007 4:08 PM
	To: user-ae9b8668bcde@xymon.invalid
	Subject: Re: [hobbit] Changed IP address
	
	
	Thanks.  using the testip option worked.  However, I am curious
where within hobbit it is pulling the DNS information from.  Each of the
DNS servers in /etc/resolv.conf resolves the IP properly and they are
authoritative for the domain.  Is there a cache which Hobbit uses first?

	
	Jeff
	
	
	On 3/1/07, Rich Smrcina <user-cf452ff334e0@xymon.invalid> wrote: 

		Until DNS gets updated/propagated you can add 'testip'
to the tests for
		that host.
		
		Jeffrey Chandler wrote:
Hello,

I have changed an IP address on one of my servers
which hobbit
monitors.  I have updated the bb-hosts file to reflect
the new IP
address of that host, but my hobbit server still pings
the old IP address.

If I use the bbtest-net --debug command and grep for
the hostname, it 
says the following:

2007-03-01 16:45:55 Got DNS result for host
server1.example.com
<http://server1.example.com > : 192.168.1.100
<http://192.168.1.100>;
This is no longer the IP address for this host, and is
not reflected
that way in any of the DNS servers which the hobbit
network server is 
using.  Is there another configuration file that I
need to modify as well?

My Hobbit server is running on RedHat Enterprise Linux
3.0.
Thanks,

Jeff
		
		-- 
		Rich Smrcina
		VM Assist, Inc.
		Phone: XXX-XXX-XXXX
		Ans Service:  XXX-XXX-XXXX
		user-61add9955ef9@xymon.invalid
		
		Catch the WAVV!  http://www.wavv.org 
		WAVV 2007 - Green Bay, WI - May 18-22, 2007
list Henrik Størner · Thu, 1 Mar 2007 23:26:27 +0100 ·
quoted from Jeffrey Chandler
On Thu, Mar 01, 2007 at 04:51:35PM -0500, Jeffrey Chandler wrote:
2007-03-01 16:45:55 Got DNS result for host server1.example.com :
192.168.1.100

This is no longer the IP address for this host, and is not reflected that
way in any of the DNS servers which the hobbit network server is using.  Is
there another configuration file that I need to modify as well?
Hobbit just performs a standard DNS lookup, using the DNS servers listed
in your /etc/resolv.conf (or whatever file is used on your system - it's
somewhat OS dependant). Hobbit doesn't cache DNS responses.

It is a DNS server somewhere that is caching the old IP. Try doing a 
"nslookup server1.example.com" on the Hobbit server.


Regards,
Henrik