-
Notifications
You must be signed in to change notification settings - Fork 174
Description
Hello,
MRTG does still not enable IPv6 by default; you need to add a flag to mrtg.cfg to enable polling targets over IPv6. IXP Manager doesn't contain functionality to add the IPv6 enable flag if required, based on target switches management IP(v6).
The current mrtg.cfg template ($IXPROOT/resources/views/services/grapher/mrtg/header.foil.php) does not set the IPv6 enable flag as default. Looking over mrtg's IPv6 doc (https://oss.oetiker.ch/mrtg/doc/mrtg-ipv6.en.html), it seems safe to enable IPv6 support by default.
Hence, I propose to add this line to the mrtg template:
EnableIPv6: Yes
I see this as the easier solution versus determining programmatically if the flag is required in the current context. Of course one can patch the template locally, but that change would get overwritten on upgrades.
We are currently patching the generated mrtg config file, but that's also a hacky solution.
Thanks for considering this FR!