View Single Post
Old Apr 13th, 2007, 1:48 PM   #1
hoffmandirt
Hobbyist Programmer
 
hoffmandirt's Avatar
 
Join Date: Jul 2005
Location: PA
Posts: 125
Rep Power: 4 hoffmandirt is on a distinguished road
Send a message via AIM to hoffmandirt
Dealing with SNMP MIB object ids.

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>
hoffmandirt is offline   Reply With Quote