opensubscriber
   Find in this group all groups
 
Unknown more information…

n : net-snmp-users@lists.sourceforge.net 17 September 2009 • 10:17AM -0400

A question about net-snmp agent extension
by AlbenShao

REPLY TO AUTHOR
 
REPLY TO GROUP






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.