Versions Compared

Key

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

...

Code Block
title/usr/local/omk/conf/opCommon.nmis
 'opevents_logs' => {       
  'snmptraps' => [
    '<nmis_logs>/snmptrap.log'
   ], 

For opEvents 3:

Code Block
      "opevents_logs" : {
         "nmis_traplog" : [
           "<nmis9_logs>/snmptrap.log"
         ],


Modify EventParserRules.nmis

...

Install an opEvents parser plugin such as: snmpTrap.pm .  This perl module will be placed in /usr/local/omd/conf/parser_plugins. 

The plugin is not always needed. Traps can be processed using the event handler nmis traplog, but the plugin can parse more complex snmp traps.

Step #4 - Restart associated daemons

...