Dynamic Applications - SNMP Performance
- 4 months ago
Converting to a Snippet DA to extract the numeric data out of the string before assigning it to a collection object is the best option.
We do have a feature called "Extending the SNMP OID Field" documented here https://docs.sciencelogic.com/latest/Content/Web_Content_Dev_and_Integration/SNMP_Dynamic_App_Development/snmp_collection_objects.htm?Highlight=snmp%20extended#extending-the-snmp-oid-field I'm pretty sure it's capable of including necessary Python to extract the numeric data in the SNMP OID result. However, none of the examples in the documentation cover it. You can look at the "OSPF Neighbors Configuration" DA from the Generic Switch Router MIB Support PowerPack to see how complex an SNMP OID entry can be using that feature. The Python code in a Snippet DA is likely easier to create and support than a very complex use of extending the SNMP OID field.
Regards,
Erick