Standard Nagios Plugins 1.4.9 and IPv6 problem?

Andreas Ericsson ae at op5.se
Thu Sep 20 09:44:10 CEST 2007


Hugo van der Kooij wrote:
> On Wed, 19 Sep 2007, Frost, Mark {PBG} wrote:
> 
>> Hello.  We've been noticing that our Nagios host (Red Hat ES 3 release
>> 3) has been sending out quite a lot of IPv6 DNS requests (I guess those
>> are "AAAA" record requests on port 53).  As our box is not configured to
>> do IPv6, this was a puzzlement.  At first I assumed it was some weird
>> resolver library configuration issue, but we couldn't find anything.
>>
>> We started running funky queries (ones we new Nagios wouldn't normally
>> run) and looking for them via tcpdump on port 53.  We found that if we
>> ran pretty much any off the nagios-plugins package, it would generate
>> these IPv6 packets.  I did not enable IPv6 when I built the package.  I
>> tried rebuilding everything explicitly saying "--without-ipv6".  It made
>> no difference.
> 
> I guess you have hosts defined by name and not by IP address.
> 
> So the normal thing to do is find both IPv4 and IPv6 addresses of the host 
> and then decide how to contact the host.
> 
> So unless you have an operational problem I would ignore it as business as 
> usual.
> 

It's still a fairly nasty bug though. Imo, Ipv6 is not widely used enough to
warrant including code for it in the plugins unless explicitly asked to when
compiling them. For a large installation, doing 4-6 IPv6 dns queries (which
fail) will take a lot of time and consume a lot of resources.

AFAIK, there are only very few networks in the entire world that fully support
IPv6. If nothing else, the plugins should probably try IPv4 first and just
ignore trying to query with IPv6 if IPv4 works.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
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