Standard Nagios Plugins 1.4.9 and IPv6 problem?
Mick
michaelkintzios at gmail.com
Thu Sep 20 19:14:30 CEST 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070920/ea6ee7b0/attachment.sig>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
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