Creating hosts to monitor, do not resolve hostname
list Josh Luthman
I have been using BB 1.9 for a long time and finally found myself the time to migrate to Hobbitmon. I am very impressed and pleased with the superior application and documentation! The upgrade document ( http://hobbitmon.sourceforge.net/docs/bb-to-hobbit.html ) was very useful, the impression I got was that bb-hosts operated the exact same way. While I have found it is close to identical - something that my BB did not do was resolve hostnames and monitor those addresses resolved. I was always able to monitor the IP address and the hostname acted as a host identifier, nothing more. I have a lot of "fake" hostnames that are catching wildcards on domains that are resolving to undesired IP addresses. I think that this would be a beneficial feature for me in several cases as some monitored hosts do have their IP change from time to time, though I have an SH script that updates bb-hosts for me. Having said that, I would like to keep this feature enabled. What would be the best course of action for me to fix my problem here? Is there a tag that I can add to the hosts I don't want to be resolved by chance? Is there anything I can do outside of adding a hostname record for every single monitored host? Thanks in advance and my thanks out to the Hobbitmon support and development team! -- Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Henrik Størner
▸
On Wed, Oct 03, 2007 at 11:27:21PM -0400, Josh Luthman wrote:
While I have found it is close to identical - something that my BB did not do was resolve hostnames and monitor those addresses resolved. I was always able to monitor the IP address and the hostname acted as a host identifier, nothing more. I have a lot of "fake" hostnames that are catching wildcards on domains that are resolving to undesired IP addresses.
Add a "testip" tag on these hosts in the bb-hosts file. Or if you want this to cover all hosts, edit the hobbitlaunch.cfg file and add the --dns=ip option to the bbtest-net command. Regards, Henrik
list Josh Luthman
Henrik, Thank you very much for the solution and thank you for being timely! I couldn't have asked for a better solution or better answer. The above information was simply perfect. Thank you very very much! Josh
▸
On 10/4/07, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:On Wed, Oct 03, 2007 at 11:27:21PM -0400, Josh Luthman wrote:While I have found it is close to identical - something that my BB did not do was resolve hostnames and monitor those addresses resolved. I was always able to monitor the IP address and the hostname acted as a host identifier, nothing more. I have a lot of "fake" hostnames that are catching wildcards on domains that are resolving to undesired IP addresses.Add a "testip" tag on these hosts in the bb-hosts file. Or if you want this to cover all hosts, edit the hobbitlaunch.cfg file and add the --dns=ip option to the bbtest-net command. Regards, Henrik
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
▸
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer