opensubscriber
   Find in this group all groups
 
Unknown more information…

n : net-snmp-users@lists.sourceforge.net 17 September 2009 • 3:01PM -0400

RE: A question about net-snmp agent extension
by AlbenShao

REPLY TO AUTHOR
 
REPLY TO GROUP






Not sure if it’s sent successfully. Just re-send it for help.



Alben Shao



Guangdong Nortel 4G Design

ESN: 6-554-5301



________________________________

From: Alben Shao
Sent: 2009年9月17日 10:18
To: 'net-snmp-users@list...'
Subject: A question about net-snmp agent extension



Hi,



I want to write a custom extension to the core net-snmp agent. As the tutorial said, usually I need to 1) write a MIB file 2)Write the related C file 3) Write a header file.

And I think, if I want to use the default subhandler (e.g. use netsnmp_instance_int_handler for my integer object), only write the MIB file is OK, and no need to write the C/header file for registration. Because I don’t want to register a custom subhandler. Am I right?

Thanks!



Alben




Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.