[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Using hostname instead of IP in bb-hosts



Ok, that makes sense :)

Thanks a lot for the quick answer.

----- Message from henrik (at) hswn.dk ---------
    Date: Mon, 28 Nov 2005 09:38:06 +0100
    From: Henrik Stoerner <henrik (at) hswn.dk>
Reply-To: hobbit (at) hswn.dk
 Subject: Re: [hobbit] Using hostname instead of IP in bb-hosts
      To: hobbit (at) hswn.dk


On Mon, Nov 28, 2005 at 09:32:41AM +0100, Manu wrote:
I'm using the release candidate 4.12p1 on debian linux and several others.

Just to clarify, 4.1.2p1 is a full release version - release candidates always have "...rcX" in the version number.

My problem is, that I have to monitor computers which are connected to
the internet by a dialup dsl connection. Those are getting a new
ip-address from the isp every 24 hours and ddclient is updating it to
dynamic dns.

Put them in the bb-hosts file with IP "0.0.0.0" - that tells Hobbit they have a dynamic IP.

10.0.0.101  host1 ...

and realized, that I misspelled the ip-address. So I changed it to
10.0.0.103 but hobbit keeps pinging the old ip address.

Hobbit will in fact always use the hostname and do a DNS lookup, unless you've put "testip" on that entry in the bb-hosts file, or you are using the "--dns=ip" option for running the network tests. So first you should check what IP "host1" really resolves to (use the "host" or "dig" commands) - and don't forget to check the local /etc/hosts file on the Hobbit server.


Regards, Henrik


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







----- End message from henrik (at) hswn.dk -----