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

2011-07-20 Thread Zack Little
> Actually, this might not require any work. Ipv6Address is > TEXTUAL-CONVENTION, which maps to OCTET_STR, which is 's' on the > command line. > Lo and behold, this works: > > $ sudo snmptrap -M +$PWD -m all -v2c -c public fallout '' > NOTIFICATION-TEST-MIB::demo-notif IF-MIB::linkUp s ::1 > $ ec

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

2011-07-18 Thread Zack Little
> inet_aton only groks IPv4 addresses :). Additional logic needs to > be added to parse out the address via inet_addr -- I would introduce > another argument (say 'A' instead of 'a'?) for IPv6 addresses so that > way there's a clean method for dealing with IPv4 vs IPv6 (some > revamping

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

2011-07-18 Thread Zack Little
> inet_aton only groks IPv4 addresses :). Additional logic needs to > be added to parse out the address via inet_addr -- I would introduce > another argument (say 'A' instead of 'a'?) for IPv6 addresses so that > way there's a clean method for dealing with IPv4 vs IPv6 (some > revamping will need

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

2011-07-14 Thread Zack Little
> > how would I use the InetAddress object binary string to return > > an IPv6 address in my custom MIB? None of those types seem related to a > > binary string. > > I haven't checked the code, but it should be possible to use the 'string' > type to return a binary string value, as well as r

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

2011-07-14 Thread Zack Little
> > 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

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

2011-07-11 Thread Zack Little
Thanks for the reply Dave. I'm confused by your answers and will need some more guidance please. > You don't specify which MIB objects you are querying to retrieve your > IPv6 addresses. My guess is that you are looking at the ipAddressTable > to get results such as Initially the requiremen

Do pass-through scripts and snmptrap support IPv6 arguments?

2011-07-11 Thread Zack Little
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 it

RE: Is it possible to enable IPv6 support without the pthread library?

2011-04-26 Thread Zack Little
being returned to me in IP-MIB, which is good. > Date: Mon, 25 Apr 2011 14:25:42 -0400 > Subject: Re: Is it possible to enable IPv6 support without the pthread > library? > > On Sat, Apr 23, 2011 at 5:28 AM, Dave Shield wrote: > > On 21 April 2011 21:49, Zack Little wr

RE: Is it possible to enable IPv6 support without the pthread library?

2011-04-26 Thread Zack Little
Apr 2011 10:28:07 +0100 > Subject: Re: Is it possible to enable IPv6 support without the pthread > library? > > On 21 April 2011 21:49, Zack Little <> wrote: > > The only thing I don't understand now is why IPV6-ICMP-MIB isn't being > > returned. I enabled i

RE: Is it possible to enable IPv6 support without the pthread library?

2011-04-22 Thread Zack Little
I actually was able to find a solution to this. I'm using version 5.5 and it appears that version 5.5.1 has removed the calls to the pthread library. I'm able to compile with IPv6 enabled without specifying the pthread library. Also, no extra children are spawned when I launch version 5.5.1

Is it possible to enable IPv6 support without the pthread library?

2011-04-20 Thread Zack Little
Hello. I'm having trouble enable IPv6 support with snmpd from version 5.5. I added the following items to when I call configure: --with-transports="UDP TCP Unix UDPIPv6 TCPIPv6" --with-mib-modules="mibII host notification ucd_snmp mibII/ipv6" --with-mibs="IP-MIB:IF-MIB:TCP-MIB:UDP-MIB:SNMPv

RE: pass-through, how do you determine which MIBOID to use?

2007-10-16 Thread Zack Little
et > > On 15/10/2007, Zack Little wrote: >> My question is how do you select the MIBOID for the custom MIBs with >> pass-through support you want to create? > > The point of the "pass" and "pass-through" directives is that they are > implementing a spe

pass-through, how do you determine which MIBOID to use?

2007-10-15 Thread Zack Little
Hello, I can't seem to find an answer to this in the documentation, wiki, forums, etc. In the example.conf when pass-through support is being described the example uses .1.3.6.1.4.1.2021.255. I attempted to duplicate the example and everything works fine for me. My question is how do you sel

RE: snmpd 5.4.1 is crashing where 5.4 didn't

2007-08-01 Thread Zack Little
0 len=1 len=1rhs oid=1075172316 len=2035496 len=2035496> Date: Tue, 31 Jul 2007 17:02:00 +0100> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> Subject: Re: snmpd 5.4.1 is crashing where 5.4 didn't> CC: net-snmp-users@lists.sourceforge.net> > On 31/07/07, Zack Little

snmpd 5.4.1 is crashing where 5.4 didn't

2007-07-31 Thread Zack Little
I'm scratching my head trying to figure this out. Version 5.4 works fine for me but I can easily make 5.4.1 crash. I encountered the same thing in the pre-releases and was hoping it would be cleared up in the final 5.4.1 build. The crash doesn't happen in the same spot. One way to cause it