I am looking for some ideas on how to code the object IDs of the MIB for devices inside code. I have a requirement to update a management application that depends heavily on SNMP and currently all of the object IDs are hard coded and we changed the MIB file. So now I have to go through the code and change all of the object IDs. I was thinking that XML might be my best option here. Has anyone had to deal with this before?
<group id="System Group">
<mib-entry>
<object-id>1.3.6.1.4.1.8433.3.2.1.2</object-id>
<name>sysProductId</name>
<friendly-name>Product Id</friendly-name>
</mib-entry>
</group>
<group id="Network Group">
....
</group>