Adishesh M
2013-01-02 07:37:09 UTC
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
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