Difference between revisions of "Template:FAQ:Agent 09"

From Net-SNMP Wiki
Jump to: navigation, search
 
(5.4 release synchronisation)
Line 1: Line 1:
 +
The choice of which C-coded modules to include within an agent (or
 +
subagent) is usually made when the agent is first built.  Adding new
 +
MIB modules would therefore require re-compiling the agent.  This is
 +
not always convenient - particularly when working with a production
 +
system, and/or pre-installed binaries.
 +
 
Dynamically loaded modules are a means of including a MIB implementation
 
Dynamically loaded modules are a means of including a MIB implementation
 
module within the main SNMP agent (or an AgentX subagent) without needing
 
module within the main SNMP agent (or an AgentX subagent) without needing

Revision as of 15:27, 29 December 2006

The choice of which C-coded modules to include within an agent (or subagent) is usually made when the agent is first built. Adding new MIB modules would therefore require re-compiling the agent. This is not always convenient - particularly when working with a production system, and/or pre-installed binaries.

Dynamically loaded modules are a means of including a MIB implementation module within the main SNMP agent (or an AgentX subagent) without needing to re-compile and re-link the agent binary. Instead, details of the module(s) to load are specified in the configuration file, and the agent locates the files listed, and merges them in at run time.

See http://www.net-snmp.org/tutorial-5/toolkit/dlmod/ for more information.