...
Step #1 - Configure snmptrapd to forward traps to rsyslog
An Below is an example of configuring snmptrapd to send traps to rsyslog. The '-Ls' flag tells snmptrapd to send logging output to syslog. Using '-Ls 2' specifies that snmptrapd will send it with the local2 facility value. The facility value is what rsyslog keys on for routing decisions.
Code Block | ||
---|---|---|
| ||
OPTIONS="-n -Ls 2 -p /var/run/snmptrapd.pid -m ALL -M /usr/local/nmis8/mibs/traps" |