On 3 November 2011 15:21, Simon Chamlian <simon.chaml...@gmail.com> wrote:
> What does mib2c do?

It produces _template_ code for implementing a MIB module.
You would take the generated code file, fill in the gaps, and
compile it into the SNMP agent (either a native agent for the
system you are developing on, or cross-compiled for some other
target system).

Once you've got the MIB module code file, mib2c is no longer
required.


> I can always install it on a host computer and run it. But eventually, I
> will need an application that returns values associated to my MIB OIDs.

Yes - no problem there.


> Is that done by modifying the SNMP agent daemon

It's typically done by adding new code files to the agent, yes.


> or I can have a different application interact with agent?

If you've got an AgentX-capable master agent, then you
can run a separate AgentX client, to implement a new MIB
module without touching the original agent.

There are also mechanisms for extending the agent by
using scripts - either SNMP-knowledgeable ("pass" or
perl extensions),  or SNMP-ignorant ("exec" or "extend")

See the FAQ entry "How do I extend the agent?" for more info

Dave

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to