Hello
I want to make data query show interface ipv6
and I add this tag in my interface.xml
<ifIPV6>
<name>IP Address V6</name>
<method>walk</method>
<source>OID/REGEXP:.[0-9a-f]$</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.4.34.1.3.2</oid>
</ifIPV6>
The problem is it not show ip correctly, it show
Found item [ifIPV6='.1.3.6.1.2.1.4.34.1.3.2.16.32.1.3.200.18.1.0.0.0.0.0.0.0.0.0.1\1'] index: 40 [from regexp oid parse]
how can I make it show ipv6 correctly.
Thank in advance.
show interface ipv6
Moderators: Developers, Moderators
I edit my interface.xml to
<ifIPV6>
<name>IP Address V6</name>
<method>walk</method>
<source>OID/REGEXP:^.{27}(.*)</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.4.34.1.3.2</oid>
</ifIPV6>
and it can get the ipv6, but how can I make it show ip in
hexstring instead of decimal number
example : 20:01:03:xx:xx
it show 32.1.3.x.x.x
Thank in advance
<ifIPV6>
<name>IP Address V6</name>
<method>walk</method>
<source>OID/REGEXP:^.{27}(.*)</source>
<direction>input</direction>
<oid>.1.3.6.1.2.1.4.34.1.3.2</oid>
</ifIPV6>
and it can get the ipv6, but how can I make it show ip in
hexstring instead of decimal number
example : 20:01:03:xx:xx
it show 32.1.3.x.x.x
Thank in advance
Who is online
Users browsing this forum: No registered users and 2 guests