Re: Duplicate entries in log file for snmptrapd

Alexander Shikoff <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Thu, Dec 18, 2008 at 06:37:24AM -0800, Wes Hardaker wrote:
> >>>>> On Thu, 18 Dec 2008 13:29:21 +0200, Alexander Shikoff <[email protected]> said:
> 
> AS> one more problem with snmptrapd: it sends duplicates log entries to
> AS> syslog:
> 
> It shouldn't do that.  You'd have to show us how it's started though
> (what arguments).

# ps ax|grep snmptrap
91300  ??  Ss     0:00,37 /usr/local/sbin/snmptrapd -p /var/run/snmptrapd.pid

# cat /usr/local/etc/snmp/snmptrapd.conf
snmpTrapdAddr                   193.x.x.x
doNotRetainNotificationLogs     yes
authCommunity                   log,execute public
#
# Logging
#
logOption sd

traphandle default perl /data/noc/trapman/trapman2.pl
#perl do "/data/noc/trapman/trapman.pl";


-- 
MINO-RIPE

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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.