[hobbit] Hobbit Monitor 4.2-alfa-20060404 and dns

Henrik Stoerner henrik at hswn.dk
Thu Apr 20 21:57:17 CEST 2006


On Thu, Apr 20, 2006 at 12:07:34PM -0500, Frank M. Ramaekers wrote:
> It appears that the DNS tests don't work....anyone else verify?

Works for me ...

> It appears that dns|dig is not defined in bb-services, is that right?

Yes, they are "built-in" to the bbtest-net program - mostly because
they use a special library, whereas the tests in bb-services are 
implemented in a more generic fashion.

Could you try building the "adig" utility that comes with the
DNS library Hobbit uses: Go to the bbnet/c-ares/ directory, and:
$ gcc -I. -DHAVE_CONFIG_H -o adig adig.c .libs/libcares.a

This should give you an "adig" binary. Then run

$ ./adig -s IP.OF.DNS.SERVER -t A HOSTNAME.OF.DNS.SERVER

(substitute the IP+hostname you have in bb-hosts).
This is the lookup that Hobbit's dns/dig tests perform.
Does that work ?

Could you show me the entry you have in bb-hosts for your dns/dig tests?
And how does it fail - does the dns/dig status show up on the Hobbit web
page? If it does, what error does it report? What happens if you run
(as the hobbit user):

   bbcmd bbtest-net --debug HOSTNAME.WITH.DNS.TEST 


Regards,
Henrik




More information about the Xymon mailing list