extending snmp agent

2007-10-22 Thread wqs
I wrote my mib and used mib2c to generate the .c & .h files.I just want to use two applications(snmpget and snmpset) outside to read/write the agent.What modification should I make in the .c file?And what's the difference between MODE_SET_RESERVE1 and MODE_SET_RESERVE2?--

Removing functions

2007-10-22 Thread Magnus Fromreide
Hello! I would like to remove the following functions as they are redundant, all that they do can be done by other, more general functions. Now, here is my list: Netsnmp_Node_Handler netsnmp_instance_ulong_handler; Netsnmp_Node_Handler netsnmp_instance_long_handler; Netsnmp_Node_Handler netsnmp_

Multiple calls to init_snmp(): the correct method?

2007-10-22 Thread Roy M. Silvernail
I am writing a management module that is part of a larger application. The structure is such that my module may be instructed to shut down and possibly restart multiple times during the lifetime of the parent app. Also during these transitions, the parameters needed for any SNMP sessions I con

Re: Which bug now to find ?

2007-10-22 Thread Thomas Anders
Aleksandr Lomanov schrieb: > Which bug now to find ? > > Never tryed to do that. > I will try to find. I'm not sure I understand what you're asking for. In case you're just looking for something to hit, both the project's bug tracker (http://www.net-snmp.org/bugs) and feature request tracker (ht

Which bug now to find ?

2007-10-22 Thread Aleksandr Lomanov
Hello, all ! Which bug now to find ? Never tryed to do that. I will try to find. Aleksandr Lomanov ICQ#: 170411676 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop

Regarding Network to Host byte conversion

2007-10-22 Thread shwth_k kk
Hi, We are using Net-snmp for our development. We are developing subAgent that will communicate with snmp deamon using agent-x. Does SNMP daemon take care of converting data from hostbyte order to network byte order and viceversa ?