Re: handler function for the whole mib tree

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 14/01/2008, Devvrat Tripathi <[email protected]> wrote:
> Is is possible to register a MIB tree with a particular handler function
> which gets called whenever any node in its subtree is accessed? The
> netsnmp_create_handler_registration just creates a Node
> handler whereas i wanted a MIB handler.  Is there any way of doing that?

   netsnmp_handler_registration *reg =
       netsnmp_create_handler_registration(...);
   netsnmp_register_handler(reg);


Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.