You mean that I should refer to the netsnmp_register_scalar(). Is there any problem using netsnmp_register_scalar(), to register the same MibAccess function to different leafs? ( and then in the Access function to extract the leaf number by the last regoid component)
-----Original Message----- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 3:16 PM To: Makavy, Erez (Erez) Cc: [email protected] Subject: Re: multiple registration of scalar_group_helper_handler. 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&kid3432&bid#0486&dat1642 _______________________________________________ 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
