Regarding logOption in snmptrapd.conf file

Adishesh M <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CA+f1OFpL7mq2T1hengXM0wWRT=BMnOD=mjfPynmv3SvBhbuqzA@mail.gmail.com>
Hi,

I am using below line in snmptrapd.conf file to log all traps received
into a  file.

logOption       f /tmp/all_traps


and I am running snmptrapd with below option
/usr/sbin/snmptrapd -Ot -On –OQ



I want all the traps received to be logged to into my file only and
not to syslog (/var/log/messages) .  Even with above option snmptrapd
is logging the traps received to both the places: syslog and my log
file.

How to avoid logging of traps in syslog.

Thanks and regards,
Adishesh

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
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.