Using hostname instead of IP in bb-hosts
Hi,
I'm new to the list and also new to hobbit. I'm using the release candidate 4.12p1 on debian linux and several others.
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. I need to monitor the machines because they provide the internet for our conference rooms and are not connected to our internal network.
I added the following line to bb-hosts:
<dyndns-hostname> DSL1 # BBDISPLAY BBPAGER BBNET conn
but hobbit ignores this line and doesn't throw an error. Is there a way to use hostnames instead of the ip-address?
apart from this, I started with an entry like this:
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. Can I tell hobbit to update the ip-address manually?
Thanks in advance.
Kind regards, Manuel
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
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 -----
participants (2)
-
henrik@hswn.dk
-
yoogie@schurkennetz.de