Re: Do pass-through scripts and snmptrap support IPv6 arguments?

Garrett Cooper <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAGH67wRt2bcng-jKZoOnOodWtfnROororBZ0u1OXOL0datCvMg@mail.gmail.com>
On Fri, Jul 8, 2011 at 12:10 PM, Zack Little <[email protected]> wrote:
>
>
> I have searched the forum but can't seem to find an answer to this question.

...

> 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.

    This could be an extremely large and false assumption.

> 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.

    Can you please provide examples of the failing snmptrap commands,
or trivial examples of code that failed via passthrough for you? Also,
noting the version of net-snmp, the OS version, etc would be extremely
helpful.
Thanks,
-Garrett

------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.