Standard Nagios Plugins 1.4.9 and IPv6 problem?

Hugo van der Kooij hvdkooij at vanderkooij.org
Sat Sep 22 16:05:30 CEST 2007


On Fri, 21 Sep 2007, Holger Weiss wrote:

> * "Frost, Mark {PBG}" <mark.frost1 at pepsi.com> [2007-09-21 11:14]:
>> It does open a socket with parameters for IPv6 (AF_INET6) and then tells
>> the resolver to run the query.
>
> The plugins won't actually open an IPv6 socket, they merely call
> getaddrinfo(3) which, depending on how it's called, may query your
> nameserver for an AAAA record before querying it for an A record.  This
> is done before opening a socket.
>
>> I guess the big problem I have here is what is necessary to convince an
>> application that a system does not use IPv6?  That there's no interface
>> configured to use IPv6? (check)  That there's no routing or other
>> networking setup at boot time to enable it? (check)  I feel that I'm an
>> unfortunate victim of Linux just throws IPv6 include files into its base
>> configuration whether I want them or not so the plugins assume that they
>> might as well try it.
>
> As I said, the plugins don't actually "decide" to try IPv6 DNS lookups,
> they just call the system's getaddrinfo(3) function without explicitly
> stating that the function should only try IPv4 address lookups.  The
> latter could be done and I'll implement that behaviour for "./configure
> --without-ipv6".


Have a look at the thread: 
http://blog.florianlaws.de/archives/126-BIND-slow-on-SLES9-Disable-IPv6.htmlhttp://blog.florianlaws.de/archives/126-BIND-slow-on-SLES9-Disable-IPv6.html

It seems Centos 3 and Centos 4 received fixes for unexpected AAAA
queries.

Hugo.

-- 
 	hvdkooij at vanderkooij.org	http://hugo.vanderkooij.org/
 	    This message is using 100% recycled electrons.

 	Some men see computers as they are and say "Windows"
 	I use computers with Linux and say "Why Windows?"
 	(Thanks JFK, for this quote of George Bernard Shaw.)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list