On 13/11/2007 wrote:
> And how is the procedure of integrating this to the agent. Just by calling
> the mentioned routines or should provide the adding by ./configure before
> installation too.

Fundamentally, all you need to do is add the relevant code files to the
build process, and ensure your new code is called at the appropriate

The cleanest approach (or at least the simplest) is probably to put the
code files (myModule.[ch]) somewhere under "agent/mibgroup", and
have a routine "init_{myModule}" to create/register the FDs.
Then run
configure --with-mib-modules=myModule

That's the normal mechanism for adding new MIB modules to the agent,
but it can also be used for new supporting code as well.


This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Net-snmp-coders mailing list