Re: NOOB Question - Adding Enterprise MIBs to an Agent

Craig Small <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <CALy8Cw5_3e1m9eRHYWGHwLYbU_QUpn24yBp6DFJVM2sDUZKnNw@mail.gmail.com>
On Fri, 26 Feb 2021 at 10:38, Michael Klett <[email protected]>
wrote:

> We have decided to use Linux for our next project so I’m working on
> learning Linux at the same time that I’m tasked with adding our Enterprise
> MBs to the firmware of the new project.  I have been Google-ing for days
> and my Google-Fu is simply not good enough.  Is there a tutorial out on the
> web that explains this process?  There are tons of devices that implement
> SNMP Agents so among some people this must be well known and understood.
> I’d like to break into that fraternity.  Where is a good place to start
> learning how to add Enterprise MIBs to snmpd?
>
Hi Michael,
  Have you looked at the tutorial located at
http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_Dynamically_Loadable_Object


You could use mib2c as well which can take a MIB and produce C skeleton.

My suggestion would be to look at the net SNMP tutorials and get the
tutorial MIB going first because its a known quantity. Then once you're
happy that works, try it with your own MIB.

You could also use a sub-agent which is a special SNMP agent just for your
collection of items.

 - Craig

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.