Creating an asynchronous API in Python

2008-06-26 Thread Noah Gift
Hey, I am probably going to get around to creating an asynchronous API in Python to the Net-SNMP with Python bindings in the next couple of months. It turns out it is trivial to just fork things in Python and pickle back and forth. What makes things even nicer, is that there is a model that does

multiple indexes

2008-06-26 Thread Tewen Hsieh
Hi, I use mib2c with mib2c.iterate_access.conf to generate template code. In a usual case, a table just has one integer index value to identify each row. ex: when agent receive a request with oid: 1.3.6.1.4.1.7788.100.1.idx, it can use idx to find the correct row and get data. idx ip

AGENTX-MIB (RFC 2742)

2008-06-26 Thread Albert Bezzina
>From what I have found from the mailing list the AGENTX-MIB is not yet >implemented. If this is correct, I am willing to implement this MIB.  I also found out that someone had already tried to work on this MIB.  May I have his code if it is of any use?   Thanks in advance, Albert Bezzina

Re: Will Net-SNMP agent support adding new MIB modules - for Win XP

2008-06-26 Thread Dave Shield
2008/6/26 srenivasan rs <[EMAIL PROTECTED]>: > Will Net-SNMP support adding new MIB modules( compiling the new MIB > module along with snmpd agent)? Please read the file README.win32. This discusses how to add support for new MIB modules. Dave ---

Will Net-SNMP agent support adding new MIB modules - for Win XP

2008-06-26 Thread srenivasan rs
Hi, Will Net-SNMP support adding new MIB modules( compiling the new MIB module along with snmpd agent)? Recently, I tried out the dlmod approach(dll file) for Win XP. But, the support was not available for Win XP. Thanks, R Srinivasan ---

Re: What is datatype of ASN_OCTET_STR

2008-06-26 Thread 杨伟
My definition of usual string is an array of "char" in C language. So, I can use the char array without any conversion? 在08-6-26,Dave Shield <[EMAIL PROTECTED]> 写道: > > 2008/6/26 杨伟 <[EMAIL PROTECTED]>: > > I see ASN_OCTET_STR type of one variable. > > Is it any different from the usual string?

snmpd multiple times..

2008-06-26 Thread Amit Kumar
Hi All ,         I am using net-snmp-5.4 varsion . i have four directories : 1 wifi.so (i am loading using dlmod ) 2. wireless (using config_require) statically 3 trap  (using config_require) statically 4 bridge (using config_require) statically after build i am copying to the target and it is sho

Re: What is datatype of ASN_OCTET_STR

2008-06-26 Thread Dave Shield
2008/6/26 杨伟 <[EMAIL PROTECTED]>: > I see ASN_OCTET_STR type of one variable. > Is it any different from the usual string? What do you mean by a "usual string"? The ANS.1 type "OCTET STRING" is the type used for representing any octet-based value - essentially anything other than a number or an O