Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step-by-Step How to Configure the SNMPTRAPS to Forward Traps to Sylog

RHEL/CENTOS Linux 


OBSERVATION: The "Ls" option will configure snmptrapd to send logs to syslog. So, "Ls2" specifically configures snmptrapd to send logs from the local2 facility. The facility is a value that indicates which process on the device generated the message. 


RHEL/CENTOS Linux 

cd /etc/sysconfig/

vim snmptrapd

...

OPTIONS="-n --OQ Ls2 -p /var/run/snmptrapd.pid -m ALL -M /usr/local/nmis9/mibs/traps"


Debian/Ubuntu Linux


cd /etc/default/

 vim snmptrapd


Image Added