Closed fiorindavide closed 8 years ago
Hi,
thanks for the heads-up. You always return name
so what should happen when the additional substring test fails?
Ah messed up with the formation, now I see whats going on. Ok, will test your suggestion and add it to the code if it works for us.
Could you please explain a little bit what the actual problem is how your code improve the situation? Maybe with example OIDs. I still don't understand why we should check for a sub-string of the OID?
Closing this, feel free to ping me again when you have more feedback.
Seems like OIDs are not translated correctly. Method getSymbolById inside SnmpOIDDecoder - findMibSymbol:(http://www.mibble.org/doc/release/api/net/percederberg/mibble/Mib.html) "Differing from the getSymbolByValue() methods, this method may return a symbol with only a partial OID match. If an exact match for the OID is present in the MIB, this method will always return the same result as getSymbolByValue(). Otherwise, the symbol with the longest matching OID will be returned, making it possible to identify a MIB symbol from an OID containing table row indices or similar. " Here's my solution: