Xymon Mailing List Archive search

DNS errors when performing http test

list Jeff Newman
Mon, 23 Jan 2006 15:48:32 -0600
Message-Id: <user-0dd661628f64@xymon.invalid>

Kind of on the same topic, I noticed in my bbtest column:

DNS statistics:
# hostnames resolved  :       78
# succesful           :       76
# failed              :        2

Is there a logfile I can look at to see which 2 failed DNS lookups?

-Jeff


On 1/23/06, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
On Mon, Jan 23, 2006 at 02:52:42PM -0500, David Gilmore wrote:
I keep getting DNS errors when performing the HTTP test against two W2k3
servers.  They are sporadic, and they recover almost immediately.  I am
using http://host.domain.local for internal DNS structure.  Is this the
problem?  No other HTTP test are failing, such as checking company
website.
DNS failures mean just that - the DNS lookup for "host.domain.local"
failed.

Note that Hobbit will perform a DNS lookup of the hostname in the URL,
regardless of what host this status is reported for. E.g.

  10.0.0.1   myserver.foo.com  # http://www.foo.com/

will do a DNS lookup of "www.foo.com" to get the IP-address for the
http tests. The "testip" flag has no effect on http tests; if you
want to force an http test to use a specific IP-address (and hence
avoid the DNS lookup), you can do it like this:

  10.0.0.1   myserver.foo.com  # http://www.foo.com=192.168.1.7/

This will make the http tests use the 192.168.1.7 address.


Regards,
Henrik