Xymon Mailing List Archive search

conn testing name not ip

2 messages in this thread

list Jon Hittner · Mon, 18 Sep 2006 14:12:10 -0400 ·
I'm running hobbit 4.2 and noticed that the conn tests are not using the ip address listed in the bb-hosts files but instead seem to be doing an dns lookup on the name and attempting to ping the address in dns.   Is there any way to change this behavior?  I would like the address listed in the first field of the bb-hosts file to be the one fpinged for the conn test.

Jon
list Charles Jones · Mon, 18 Sep 2006 11:16:13 -0700 ·
quoted from Jon Hittner
Jon Hittner wrote:
I'm running hobbit 4.2 and noticed that the conn tests are not using the ip address listed in the bb-hosts files but instead seem to be doing an dns lookup on the name and attempting to ping the address in dns.   Is there any way to change this behavior?  I would like the address listed in the first field of the bb-hosts file to be the one fpinged for the conn test.
  
Jon,

Yep...just add a "testip" flag. Example:

1.2.3.4  myhost.com  # ssh *testip* http://www.myhost.com

This will make the conn test use 1.2.3.4 and not whatever myhost.com resolves to.

-Charles