Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SNMP Mib File Parsing

Status
Not open for further replies.

cdraycott

Programmer
May 24, 2001
57
GB
I would like to be able to Parse MIB files using C++ and was wondering if anyone knew how this was done.

Can you help?
 
Well, the way the bigger Network Monitoring tools like Cisco Information Center do it, is conprised of all of the mibs being in one gigantic switch statement in which the case tells what mib to be searched. If the case matches, then it goes into that include file to search for the mib match. If all of the other mibs have been searched, and it doesnt match, you can either discard it or display it as the integer string.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top