Another team here manages IPs/DNS so we're not looking to hardcode IPs for hundreds of hosts we don't manage and won't be aware of IP changes for.
The thing about #3 is that it seems that no matter how compile the plugins, it will still use IPv6 if it detects that your include files support AF_INET6. You can't turn it off short of finding some way to turn it off in your OS which seems a bit extreme to me. I've always accepted that on any flavor of Linux I use, IPv6 is available even if I'm not using it. The idea that some application is going to start using it when I have no configured interface or any other indication that IPv6 is in use baffles me. Beyond that that these plugins would opt to generate an extra say 4x network traffic that I can explicitly tell them not to also baffles me. I mean, what do I have to do to convince 'check_nt' that no, I really really really don't want it sending out IPv6 traffic? I've manually change the config.h for nagios-plugins to undefine both "HAVE_IPV6" and "USE_IPV6" and found it makes no difference. We're looking to changes the modules file for this box to prevent any component of IPv6 being loaded, but I'm still not convinced that will dissuade the plugins from going on their merry way. Thanks for everyone's replies, by the way! Mark -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mick Sent: Thursday, September 20, 2007 1:15 PM To: Nagios Users mailinglist Subject: Re: [Nagios-users] Standard Nagios Plugins 1.4.9 and IPv6 problem? On Thursday 20 September 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). > I think that a pluging will just follow the host definition. I doubt there > is anything you can change in the plugins to ignore IPv6 resolving if you > use a hostname. It is something that should be part of your resolver > library behaviour. So it should be configured there. Some ideas: I am not up to speed with RedHat, but if you have a /etc/hosts file or equivalent and the particular FQDN that you monitor has a fixed IP address you can make an entry there so that the server does not need to go out to a DNS server to resolve the address. Failing that look at 1-4 below in order of relative complexity: 1. Issuing the appropriate sysctl command to modify a relevant ipv6 setting (not sure what this would be). 2. Configuring iptables to block ipv6 outgoing addresses. 3. Rebuilding nagios-plugins without the ipv6 flag. 4. Rebuilding the kernel without ipv6 support. HTH. -- Regards, Mick ------------------------------------------------------------------------- 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 [email protected] 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
