From: Niels B. <ni...@ba...> - 2001-08-30 18:40:42
|
On Thu, Aug 30, 2001 at 06:16:58PM +0800, zchh wrote: > so, my questions is, > > 1. Do you know the other method for dealing with ucd-snmp? perferably > dynamically loadable modules than can be loaded by snmpd at run-time, > thus we dont need to patch snmpd. This has been available since version 4.2. From the FAQ: How do I write C code to integrate with the agent? ------------------------------------------------- At the moment, there are three methods for integrating external C code within the agent. The code can be included within the agent itself, statically configured and linked in when the agent is compiled. Alternatively, with the 4.2 release of the agent, it's possible to dynamically load MIB modules once the agent is running. Finally, the agent can be configured to pass certain portions of the MIB tree off to one or more subagents. See the earlier question on AgentX, SMUX and proxied SNMP for more details. All three mechanisms use the same module API. This is described (in excruciating detail) in the file AGENT.txt, shipped with the standard ... /Niels -- Niels Baggesen - @home - Århus - Denmark - ni...@ba... -- All people smile in the same language -- |