I have searched the forum but can't seem to find an answer to this question.


When compiling my SNMP code I used the following IPv6 flags:


--with-transports="UDP TCP Unix UDPIPv6 TCPIPv6"
--enable-ipv6 


When I do an snmpwalk (via IPv4) against snmpd some of the items I get back are 
IPv6 items, which is great. For example, I get back the IPv6 address my box is 
configured for. I just assumed that because IPv6 worked with snmpwalk that all 
other areas I'm using would support IPv6 as well. I've been having trouble 
trying to figure this out though.


The first problem is that I return a custom MIB using a pass-through script. 
I'd like to return an IPv6 address. According to the man page for snmpd.conf 
the pass-through scripts accept a type of “integer, gauge, counter, timeticks, 
ipaddress, objectid, or string”. I crossed my fingers and hoped that ipaddress 
would also support IPv6 addresses, but in looking at pass_persist.c that 
doesn't appear to be the case.


I'm having a similar problem with snmptrap. I'd like to send an IPv6 address as 
an argument in a trap. The man page says that it accepts a type of “a” to 
signify an “IPADDRESS”. When I try to using an IPv6 address with the “a” arg it 
also doesn't work.


Bad value notation (2001:db8:85a3::8a2e:370:7334)


I tried using a different notation to no avail:


Bad value notation (UDP6:[2001:db8:85a3::8a2e:370:7334])


Can anyone offer suggestions?
 
Thank you.                                        
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to