Re: generic handler registration

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2008/9/29 Eugen <[email protected]>:
> Usually in order to implement a specific OID into the agent, the OID has to
> be registered with a specific handle which is called when the user performs
> a request on that OID.

It depends on the helpers that you are using, but most handler registrations
will actually be called for the tree rooted at the specified OID - i.e. this OID
or any children of it.


> Is it a way to register a parent OID, i.e X.Y, with a generic handle
> to be called each time a request on a
> child scalar OID i.e X.Y.Z1, X.Y.Z2, …, is performed.

netsnmp_register_handler()

Dave

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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.