2011/1/6 Chen Figo <[email protected]>: > Because we have multiple customer, and they want have different mib > definition,
"Different MIB definitions" implies you are talking about different management information, so you would presumably need different code to retrieve that underlying data anyway. Jumping through hoops to try and cram all of this into a single MIB framework seems unnecessarily complicated. Why not define a single MIb framework (for internal use) that handles the overall requirements, and then ship tailored sub-sets to the individual customers? (I presume they typically don't care what numeric OIDs they see, just as long as the information is there in the format they expect. I'm still struggling to visualise exactly what you are trying to achieve here. Perhaps if you could post an example of a couple of these MIBs (suitably sanitised if need be), so that we could understand this a bit better. > . If we use the common mode, we need to create specific code for each of them. If you're not using specific code, then how do you intend to retrieve the underlying data needed for each of the customers' requirements? Surely different data will need to be retrieved using specific code? > Do you know if I can use some Agent API from the web page > http://www.net-snmp.org/docs/man/ to implement such kind of feature? What you are describing is running contrary to the design framework of SNMP, so there won't be anything we provide that is intended to support it. If you insist on working in a non-standard way, then you are going to end up on your own. Dave ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
