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

Reply via email to