Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-4006

events written to DB although dest=suppress

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.9.93
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Operating System: Linux
      Platform: PC
    • Bugzilla Id:
      3970

      Description

      According to http://opennms.org/wiki/Event_Configuration_How-To#Internal_Events suppress should not put the event anywhere. It is still written to the DB though. How to reproduce:

      <event>
      <uei>uei.opennms.org/test/suppress</uei>
      <event-label>suppress test</event-label>
      <descr>suppress test</descr>
      <logmsg dest="suppress">suppress test</logmsg>
      <severity>Major</severity>
      </event>

      send-event.pl uei.opennms.org/test/suppress

      opennms=# select eventtime,eventid from events where eventuei = 'uei.opennms.org/test/suppress' order by eventuei;
      eventtime | eventid
      ---------------------------+--------
      2010-07-14 10:16:32.437+02 | 14345

      eventd.log attached as log.txt

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              dk@in-telegence.net Dominik Klein
            • Votes:
              3 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: