Question

I need a good beginner advice - all tutorial I searched are either outdated or do not contain the information how to achieve what I want.

I want:

  • Create a new OID (now under experimental, later we will reserve a new OID as enterprise)
  • Under this OID, I'd like to create a table (sequence) with two string columns.
  • Somehow, this definition has to be compiled and added to the existing MIB on our server. But how?

That's actually all I want, but I didn't make it to find out all this.

PLEASE if you could just point out simple steps, that would be quite great!

Thank you for the help!

Was it helpful?

Solution

Telling someone how to write a MIB is extremely difficult. It's a complex process and you need to understand a lot of the background behind MIB design. I strongly recommend you go read a book (Understanding SNMP MIBs being one of the best). Without learning about MIBs properly first, you'll make too many mistakes.

As for software, it's nearly impossible to answer without you explaining your environment: what operating system, machine type, etc. If you're using Net-SNMP, see the Coding Tutorials page. If you're using a commercial product (eg, SNMP research), then go ask them for help!

OTHER TIPS

Can you read carefully what I posted to your previous question?

How to create SNMPv1 community string?

If you do spare some time to go through the classic book your ABC questions can be easily answered by that book.

If something on that book is out of date, simply post smaller questions on those specific points and you will get corresponding assistance.

Don't post some big and vague question especially when some proper Googling does show good links. For example search for "net-snmp extend".

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top