On Thu, 2006-02-16 at 14:47 +0200, Makavy, Erez (Erez) wrote:
> Can I use netsnmp_register_scalar_group(), to register 2 scalar
> group handlers to the same OID (but with different leaf ranges)?

No.
You'd need to register a single handler (covering the full
range of both groups), and have that handler reject the
invalid internal OIDs.

Or you could register each scalar object individually, but
refer to common handler routine(s) - which is effectively
what netsnmp_register_scalar_group() does anyway.

But a given registered OID can only have one handler.

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to