Xymon Mailing List Archive search

Hobbit Monitor 4.2-alfa-20060404 and dns

5 messages in this thread

list Frank M. Ramaekers · Thu, 20 Apr 2006 08:13:21 -0500 ·
It appears that the DNS tests don't work....anyone else verify?

 
Frank M. Ramaekers Jr. <mailto:user-dbd5c100cfe9@xymon.invalid> 

Systems Programmer; MCP, MCP+I, MCSE & RHCE

American Income Life Insurance Company 

Phone: (XXX) XXX-XXXX     Fax: (XXX) XXX-XXXX


This message contains information which is privileged and confidential and is solely for the use of the intended recipient.  If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at user-2f780dbd82da@xymon.invalid.
list Frank M. Ramaekers · Thu, 20 Apr 2006 12:07:34 -0500 ·
It appears that dns|dig is not defined in bb-services, is that right?
quoted from Frank M. Ramaekers

 
Frank M. Ramaekers Jr. <mailto:user-dbd5c100cfe9@xymon.invalid> 

Systems Programmer; MCP, MCP+I, MCSE & RHCE

American Income Life Insurance Company 

Phone: (XXX) XXX-XXXX     Fax: (XXX) XXX-XXXX


Take egotism out and you would castrate the benefactors. Ralph Waldo
Emerson
quoted from Frank M. Ramaekers
 

-----Original Message-----
From: Frank M. Ramaekers [mailto:user-dbd5c100cfe9@xymon.invalid] 
Sent: Thursday, April 20, 2006 8:13 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Hobbit Monitor 4.2-alfa-20060404 and dns

 
It appears that the DNS tests don't work....anyone else verify?

 
Frank M. Ramaekers Jr. <mailto:user-dbd5c100cfe9@xymon.invalid> 

Systems Programmer; MCP, MCP+I, MCSE & RHCE

American Income Life Insurance Company 

Phone: (XXX) XXX-XXXX     Fax: (XXX) XXX-XXXX


This message contains information which is privileged and confidential
and is solely for the use of the intended recipient.  If you are not the
intended recipient, be aware that any review, disclosure, copying,
distribution, or use of the contents of this message is strictly
prohibited. If you have received this in error, please destroy it
immediately and notify us at user-2f780dbd82da@xymon.invalid."
list Henrik Størner · Thu, 20 Apr 2006 21:57:17 +0200 ·
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
list Frank M. Ramaekers · Thu, 20 Apr 2006 15:38:57 -0500 ·
That seems to work...

$ ./adig -s 10.2.0.21 -t A aildc1.ailife.com
id: 51361
flags: qr aa rd ra
opcode: QUERY
rcode: NOERROR
Questions:
        aildc1.ailife.com.              A
Answers:
        aildc1.ailife.com.      3600    A       10.2.0.21
NS records:
Additional records:
$ ./adig -s 10.2.0.22 -t A aildc2.ailife.com
id: 50599
flags: qr aa rd ra
opcode: QUERY
rcode: NOERROR
Questions:
        aildc2.ailife.com.              A
Answers:
        aildc2.ailife.com.      3600    A       10.2.0.22
NS records:
Additional records:

But when I had the 'dns' in the bb-hosts it NEVER went green.

Details showed:
Service dns on DNS1 is not OK : Service unavailable

Server failed
Seconds: 0.000


Frank M. Ramaekers Jr.
signature
Systems Programmer; MCP, MCP+I, MCSE & RHCE
American Income Life Insurance Company 
Phone: (XXX) XXX-XXXX     Fax: (XXX) XXX-XXXX

-----Original Message-----

quoted from Henrik Størner
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Thursday, April 20, 2006 2:57 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit Monitor 4.2-alfa-20060404 and dns

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


This message contains information which is privileged and confidential and is solely for the use of the intended recipient.  If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at user-2f780dbd82da@xymon.invalid.
list Frank M. Ramaekers · Thu, 20 Apr 2006 16:29:23 -0500 ·
Reading through other posts, I discovered that the problem was on the
bb-hosts file.  Specifically, the name did not match the DNS name of the
host.

Thanks,
signature

Frank M. Ramaekers Jr.
Systems Programmer; MCP, MCP+I, MCSE & RHCE
American Income Life Insurance Company 
Phone: (XXX) XXX-XXXX     Fax: (XXX) XXX-XXXX

-----Original Message-----

quoted from Frank M. Ramaekers
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Thursday, April 20, 2006 2:57 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit Monitor 4.2-alfa-20060404 and dns

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


This message contains information which is privileged and confidential and is solely for the use of the intended recipient.  If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at user-2f780dbd82da@xymon.invalid.