Adding MIB objects through C (or C++) code

2008-01-20 Thread Ajit J Clarence
Hi, According to the link http://www.net-snmp.org/FAQ.html#How_do_I_add_a_MIB_to_the_agent_ we can add MIB object in C or C++, can any one help me to figure out how this can be done if I have two call back function get() and set() to be called with corresponding MIB OID for

Re: A config file command for specifying an exact engineID

2008-01-20 Thread Nathan Schrenk
On Jan 20, 2008 12:42 PM, Thomas Anders <[EMAIL PROTECTED]> wrote: > My gut feeling would be to extend the existing engineIDType/engineID > functionality to cover that, i.e. to introduce a new engine ID type 4 > (raw). > > Whatever way you prefer, please submit your final patch to > http://www.ne

Re: A config file command for specifying an exact engineID

2008-01-20 Thread Thomas Anders
Nathan Schrenk wrote: > Attached is a patch that handles a new "exactEngineID" command in > snmpd.conf. Is this something that the maintainers of NET-SNMP think is > useful? If so, do you have any suggestions for changes, and would you > consider adding this to a future NET-SNMP release? My gut

Re: shared libraries - do I have a problem??

2008-01-20 Thread Thomas Anders
Dan Miller (Kromos) wrote: > - besides which, how do I tell configure about my own library(ies) ??? > Previously, I was manually editing agent/Makefile and apps/Makefile after > running configure, but that doesn't seem to be working right now, I can't > figure out where to add my library anymore

SNMP Walk behaviour

2008-01-20 Thread Nirmal Choudhary
Hi All, I am using Net-SNMP-5.2.4. When I do snmpwalk then it gives the following error: snmpwalk -v2c -c public 172.25.10.137 sipCommonMIB SIP-COMMON-MIB::sipCommonCfgProtocolVersion.1 = STRING: 2.0 SIP-COMMON-MIB::sipCommonCfgServiceOperStatus.1 = INTEGER: unknown(1) SIP-COMMON-MIB::si