Re: Doubt regarding byte ordering in NetSNMP master agent and subagent

2008-05-29 Thread Rupa P V
That means my little endian subagent has to take care of doing htonl for ipaddress before sending out to the master ,as the master expects it to be already in big endian format. Thanks a lot for the reply. On 5/30/08, Magnus Fromreide <[EMAIL PROTECTED]> wrote: > On fre, 2008-05-30 at 10:35 +0530,

Re: Doubt regarding byte ordering in NetSNMP master agent and subagent

2008-05-29 Thread Magnus Fromreide
On fre, 2008-05-30 at 10:35 +0530, Rupa P V wrote: > Hi, > > I have a doubt regarding byte ordering in AgentX. I am using > NetSNMP-5-4-1. The snmpd process is my master agent which > communicates with subagent with a unix domain socket to retrieve data > from an external database. My low level r

Doubt regarding byte ordering in NetSNMP master agent and subagent

2008-05-29 Thread Rupa P V
Hi, I have a doubt regarding byte ordering in AgentX. I am using NetSNMP-5-4-1. The snmpd process is my master agent which communicates with subagent with a unix domain socket to retrieve data from an external database. My low level routines are implemented using mfd cache method. I dumped the A

Re: Allow any community

2008-05-29 Thread Dave Shield
2008/5/29 Pachiappan D <[EMAIL PROTECTED]>: > How can i provide the access to more than one subtree with rocommunity ? By defining a view containing these subtrees. That is exactly what the previous suggestion does. Whether the view contains two adjacent MIB objects, or two completely separate su

Re: Allow any community

2008-05-29 Thread Pachiappan D
Dave, How can i provide the access to more than one subtree with rocommunity ? ( FYI: I use SNMPv1/v2c agent ) Please suggest me the way to achieve the above as i need some help desperately. Regards, Pachi On Thu, May 29, 2008 at 4:38 PM, Dave Shield <[EMAIL PROTECTED]> wrote: > 2008/5/29 Pachi

Re: Allow any community

2008-05-29 Thread Dave Shield
2008/5/29 Pachiappan D <[EMAIL PROTECTED]>: > --- >view simpleView included .1.3.6.1.2.1.1.3 >view simpleView included .1.3.6.1.2.1.1.1 > >rocommunity read default-V simpleView > ---

Re: Allow any community

2008-05-29 Thread Pachiappan D
Apologize me for mailing to you only. I am using net-snmp 5.4.1 and running the agent in V2c mode. --- view simpleView included .1.3.6.1.2.1.1.3 view simpleView included .1.3.6.1.2.1.1.1 rocommunity read de

Re: Help on MIB table data structure implementation in NET-SNMP

2008-05-29 Thread 杨伟
By the way, I'd like to do some application on the Net-SNMP API. Any one have some docs on this API? 2008/5/29, 杨伟 <[EMAIL PROTECTED]>: > > Thanks for your kindness. > > As I know, MIB has one datatype called SEQUENCE OF which is also called > table or entry. I want to konw how the SEQUENCE OF i

Re: Help on MIB table data structure implementation in NET-SNMP

2008-05-29 Thread 杨伟
Thanks for your kindness. As I know, MIB has one datatype called SEQUENCE OF which is also called table or entry. I want to konw how the SEQUENCE OF is implemented in Net-SNMP. Do I make myself clear? 在08-5-29,Dave Shield <[EMAIL PROTECTED]> 写道: > > 2008/5/29 杨伟 <[EMAIL PROTECTED]>: > > Would a

Re: Help on MIB table data structure implementation in NET-SNMP

2008-05-29 Thread Dave Shield
2008/5/29 杨伟 <[EMAIL PROTECTED]>: > As I know, MIB has one datatype called SEQUENCE OF which is also called > table or entry. I want to konw how the SEQUENCE OF is implemented in > Net-SNMP. SEQUENCE OF doesn't really exist - it's more of a design construct rather than a data structure as such.

Re: bugs/inappropriate coding practice discovered by interprocedural code analysis for version 5.3.2 of net-snmp

2008-05-29 Thread Dave Shield
2008/5/14 BOYA SUN <[EMAIL PROTECTED]>: > In our very recent research, we applied > inter-procedural code analysis and data mining technique on the version > 5.3.2 of net-snmp project, and we have found 20 potential bugs, as indicated > at the end of this email. It woul

Re: Allow any community

2008-05-29 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] 2008/5/2

Re: Help on MIB table data structure implementation in NET-SNMP

2008-05-29 Thread Dave Shield
2008/5/29 杨伟 <[EMAIL PROTECTED]>: > Would anybody like to tell me the data structure in Net-SNMP? > In which file? There are dozens (if not hundreds) of data structures used in the Net-SNMP agent - scattered through a large number of files. Would you like to be a bit more specific about exactly w

Help on MIB table data structure implementation in NET-SNMP

2008-05-29 Thread 杨伟
hi, every one Would anybody like to tell me the data structure in Net-SNMP? In which file? Thanks - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/g