...
Code Block | ||
---|---|---|
| ||
*.info;mail.none;authpriv.none;cron.none;local2.none /var/log/messages |
Step #3 - Configure opEvents to process SNMP trap log file
Modify opCommon.nmis
We need to tell opEvents to process the newly created snmptrap.log file. This is done in /usr/local/omk/conf/opCommon.nmis. Be careful with this file; in reality it is a perl hash, any syntax error will render the OMK server dead. After modifying this file check it for syntax errors with the following command 'perl -c /usr/local/omk/conf/opCommon.nmis'. If you are not scared you should be
...
- rsyslog
- snmptrapd
- opeventsd
Step #5 - Verify