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

2011-07-15 Thread Garrett Cooper
On Fri, Jul 15, 2011 at 7:39 PM, Garrett Cooper wrote: > On Fri, Jul 15, 2011 at 7:22 PM, Garrett Cooper wrote: >> On Fri, Jul 15, 2011 at 2:57 PM, Garrett Cooper wrote: >>> On Fri, Jul 15, 2011 at 2:12 PM, Zack Little wrote: > inet_aton only groks IPv4

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

2011-07-15 Thread Garrett Cooper
On Fri, Jul 15, 2011 at 7:22 PM, Garrett Cooper wrote: > On Fri, Jul 15, 2011 at 2:57 PM, Garrett Cooper wrote: >> On Fri, Jul 15, 2011 at 2:12 PM, Zack Little wrote: >>> >>> >>> inet_aton only groks IPv4 addresses :). Additional logic needs to be added

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

2011-07-15 Thread Garrett Cooper
On Fri, Jul 15, 2011 at 2:57 PM, Garrett Cooper wrote: > On Fri, Jul 15, 2011 at 2:12 PM, Zack Little wrote: >> >> >> >>> inet_aton only groks IPv4 addresses :). Additional logic needs to >>> be added to parse out the address via inet_addr -- I would introduce >>>

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

2011-07-15 Thread Garrett Cooper
On Fri, Jul 15, 2011 at 2:12 PM, Zack Little wrote: > > > >> 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 s

Cannot set values in example-demon Subagent

2011-07-15 Thread Emanuele Scalco
Hi to all I'm trying to run in Ubuntu 9.10 OS the subagent example provided at link http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_Subagent I have downloaded the example-demon files and compiled them using the included makefile. When I start the example-demon , it correctly conn

how can get response messages use python?

2011-07-15 Thread bend_chen
Hi,net-snmp-users: I used net-snmp and python.this is net-snmp some message: [bend@testpy ~]$ rpm -qa|grep net-snmp net-snmp-utils-5.6.1-7.fc15.i686 net-snmp-devel-5.6.1-7.fc15.i686 net-snmp-5.6.1-7.fc15.i686 net-snmp-libs-5.6.1-7.fc15.i686 net-snmp-python-5.6.1-7.fc15.i686 [bend@testpy ~]$ snmpg

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

2011-07-15 Thread Garrett Cooper
On Wed, Jul 13, 2011 at 2:38 PM, Zack Little wrote: > > >> > 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 'stri