[mrtg-developers] Re: MRTG over IPv6 tested with experimental Cisco IOS

Rafael Martinez Torres rafael.martinez at novagnet.com
Mon May 19 22:53:13 MEST 2003



On Mon, 19 May 2003, Lorenzo Colitti wrote:
>
> It should be enough to pass --enable-ipv6 to cfgmaker and put
> EnableIPv6: yes in mrtg.cfg.
>
> e.g. cfgmaker --enable-ipv6 public@[2001:760:4::1]
>
> BUT:
>
>
> You are seeing the bug I mentioned in my email to the list earlier
> today. In all versions, numeric IPv6 addresses work only when you
> specify IPv6 options.
>
> So public@[2001:760:4::1]:161 works, public@[2001:760:4::1] doesn't.


On my patch  numeric IPv6 address (every way) are  solved at least for
cfgmaker

But not for mrtg (it crash by reading in the mrtg.cfg the dotted address
).

	$data = eval($$rcfg{target}{rou});   at around +405

I had left it stand-by two weeks ago when I saw your patch was beeing
integrated into the 2.10.0pre1.

>
> You can apply this patch, which fixes the bug:
>
> http://www.uniroma3.6net.garr.it/mrtg/patch-mrtg-2.10.0pre1-numericv6
>

Yes , the patch corrects the parser.
, but then I have the same problem
when
I try:

cfgmaker  --enable-ipv6 public@[2001:618:10:2a03:205:1cff:fe00:1df0]

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

--base: IPv6 libraries found, IPv6 enabled.
--base: Get Device Info on public@[2001:618:10:2a03:205:1cff:fe00:1df0]:161
SNMP Error:
send_query:
SNMPv1_Session (remote host: "2001:618:10:2a03:205:1cff:fe00:1df0" [2001:618:10:2a03:205:1cff:fe00:1df0].161)
                  community: "public"
                 request ID: 1321553296
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /home/itl/bin/../lib/mrtg2/SNMP_util.pm line 590
SNMPWALK Problem for 1.3.6.1.2.1.1 on public@[2001:618:10:2a03:205:1cff:fe00:1df0]:161
 at /home/itl/bin/cfgmaker line 766
--base: No response using IPv6 for public@[2001:618:10:2a03:205:1cff:fe00:1df0]:161, trying again using IPv4
SNMP Error:
close: Bad file descriptor

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


and its DNS entry

cfgmaker --enable-ipv6 public at lisa.consulintel.euro6ix.org

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
--base: IPv6 libraries found, IPv6 enabled.
--base: Get Device Info on public at lisa.consulintel.euro6ix.org:161
SNMP Error:
no response received
SNMPv1_Session (remote host: "lisa.consulintel.euro6ix.org" [2001:618:10:2a03:205:1cff:fe00:1df0].161)
                  community: "public"
                 request ID: -431240907
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /home/itl/bin/../lib/mrtg2/SNMP_util.pm line 590
SNMPWALK Problem for 1.3.6.1.2.1.1 on public at lisa.consulintel.euro6ix.org:161
 at /home/itl/bin/cfgmaker line 766
--base: No response using IPv6 for public at lisa.consulintel.euro6ix.org:161, trying again using IPv4

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


Tell me whereis my mistake, please....

--
Unsubscribe mailto:mrtg-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg-developers



More information about the mrtg-developers mailing list