Re: snmptrapd and AgentX

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 03/01/2008, Mike Ayers <[email protected]> wrote:
> mike-ayers-lap> snmptrapd -C -c snmptrapd.conf -f -Le
> snmptrapd.conf: line 3: Warning: Unknown token: doNotRetainNotificationLogs.
> snmptrapd.conf: line 4: Warning: Unknown token: dontRetainLogs.
> NET-SNMP version 5.4.1
> </SNIP>

That should have worked.
I've just tried this with the 5.4.x code, and snmptrapd is quite happy with
these two tokens.

Either there's some thing invisible wrong with the config file, or
perhaps you've compiled things without the 'notification-log-mib'
module.

What does "snmptrapd -H" report?


>  The first token name is from the snmptrapd.conf man page,
> the second from the announcement of the log retention feature.

Either of these should have worked - the code checks for both of them.
(see the end of init_notification_log(), in
notification-log-mib/notification-log.c)

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.