[ Sorry for the delay in responding to this ]

> I'd like to know which is the best way to implement MIBs. Is it by
> writing them as modules and loading through 'dlmod' approach or having
> them separated in a subagent.

A most unhelpful answer, but it doesn't actually matter.
The design of the Net-SNMP agent is such that exactly the same
MIB module can be used in each case.

I tend to implement a new MIB module directly within the main SNMP agent
(rather than using dlmod or subagents), but listening on a non-standard
port.  This means I can run the agent under a debugger, recompile and
restart, etc, etc, without affecting the main active agent at all.

Then once the module is finished, it can be brought into service
either by re-compiling the main agent, as a dynamic module, or via
a subagent - whichever is most appropriate at the time.

Dave


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to