Re: Regarding logOption in snmptrapd.conf file

2013-01-08 Thread Adishesh M
Hi Dave, Using latest version NET-SNMP Version: 5.7.2 same other error is coming. snmptrapd is not recognizing logOption Jan 8 13:35:17 mercury13 snmptrapd[8863]: /etc/snmp/snmptrapd.conf: line 36: Warning: Unknown token: logOption. it is still logging traps to /var/log/messages file. my

Re: Regarding logOption in snmptrapd.conf file

2013-01-08 Thread Dave Shield
On 8 January 2013 08:16, Adishesh M adishes...@gmail.com wrote: Using latest version NET-SNMP Version: 5.7.2 same other error is coming. snmptrapd is not recognizing logOption Please see my earlier message: trying to set this {logOption} in the trapd config file is either not

Re: Regarding logOption in snmptrapd.conf file

2013-01-07 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 7

Re: Regarding logOption in snmptrapd.conf file

2013-01-05 Thread Dave Shield
On 2 January 2013 07:37, Adishesh M adishes...@gmail.com wrote: I want all the traps received to be logged to into my file only and not to syslog (/var/log/messages) How to avoid logging of traps in syslog. I've done some quick testing, and the best way to achieve this seems to be to specify

Regarding logOption in snmptrapd.conf file

2013-01-01 Thread Adishesh M
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