Re: Does net-snmp support wildcard(*) for subtree family.
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 2005-08-15 at 18:53 -0400, Robert Story wrote: > AB> I would like to be able to proxy everything to the MS agent so to the > AB> client it looks like the MS agent, but I will be able to use SNMP v3, > AB> pass, pass_persist etc in Net-SNMP. I'll file a bug report. > > I think the fix here is to add the ability to specify a priority with the > proxy token. I think that if it was registered with a higher priority, it > would take precedent over a lower priority overlapping item. Hmmm.... I'm not so sure. I haven't checked the code, but my recollection of the AgentX specs (which are where a lot of this behaviour comes from) are that the priority is used to decide between *equal-length* registrations. A longer (more specific) registration will be used in preference to a shorter (more general) one - regardless of the priorities of the two registrations. The safest workaround is to disable any unwanted MIB registrations when starting the Net-SNMP agent (or conversely, to *only* initialise those MIB modules that are specifically required). At the very least, the documentation should be updated to warn of this problem. But although this behaviour is perhaps somewhat confusing, I'd urge caution before changing it - this may have some fairly significant architectural implications. Dave ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ 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