Versions Compared

Key

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

...

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. 

STEP 1

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

...