Using Custom Events

Started by suphu, June 18, 2012, 05:03:54 PM

Previous topic - Next topic

suphu

Hi,

NetXMS version 1.2.1 - I have multiple NetXMS Servers and have created custom Events.  Each custom Event gets it's unique Event Code and could be different if created on different servers.  I want to use common Agent config and LogParser files.  I would like to use a lookup for an Event instead of using the hardcoded code.

Thanks

Currently using this
<parser>
  <file>*Application</file>
  <rules>
    <rule>
      <level>1</level>
      <match>(.*)</match>
      <event params="1">100004</event>
    </rule>
  </rules>
</parser>

Would like this
<parser>
  <file>*Application</file>
  <rules>
    <rule>
      <level>1</level>
      <match>(.*)</match>
      <event params="1">EVENTLOG_APPLICATION_ERROR_MESSAGE</event>
    </rule>
  </rules>
</parser>

Victor Kirhenshtein

Hi!

Implemented in 1.2.2.

Best regards,
Victor

suphu