Re: snmptrapd and AgentX

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 02/01/2008, Mike Ayers <[email protected]> wrote:
>         I seem to be unable to prevent snmptrapd from trying to open an AgentX
> connection, even though I have set "doNotRetainNotificationLogs yes" in
> my snmptrapd.conf.  What's the magic word?

Hmmm....   There doesn't appear to be a run-time mechanism for disabling
this particular functionality.   You can turn it off when compiling the code
originally ("configure --disable-snmptrapd-subagent"), but not at run-time.

The simplest short-term fix would probably be to edit the 'snmptrapd.c' file,
and set the 'agentx_subagent' flag to be 0.   Or else use the '-x' option to
point the AgentX connection to /dev/null.

This is a definite omission - I've logged it as such on the project
tracker system.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.