Click here to Skip to main content
15,921,697 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want to create a mib file using data in data table.

What I have tried:

I don't have any idea how it can be done.
Posted
Updated 5-Dec-19 2:02am

1 solution

Well the first thing is to understand the basics of MIB files, so I would start with this tutorial
MIB Tutorial[^]

And then on how to read themL
How do I read the MIB? - Tutorial white paper on SNMP basics[^]

And from there we learn that MIB is just an ASCII file
A MIB file is just ASCII text, so you can view it in any word processor or text editor, such as Microsoft Notepad
So in theory yu should be able to programmatically access it with a standard FileStream object.

However, how that information is put in there and organized maybe a little tricky
Will I need to edit the MIB?
Generally speaking, no. MIB files aren't really designed to be edited by the end user. You could edit the text descriptions of managed objects to be more user-friendly, but it's better to use your SNMP manager's presentation software to create a useful display.
So I would do some more research on the ASN1 format that is being employed
SN.1 - Building New Terms out of Existing Terms[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900