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

Patch for auto-acknowledgement of threshold events

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.5
    • Fix Version/s: 1.13.2
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: PC
    • Bugzilla Id:
      1385

      Description

      The current implementation of auto acknowledgements matches an event against
      nodeid, serviceid and interfaceid. This is not sufficient for threshold
      acknoledgements. The submitted patch allows to set more parameters.
      The patch is against 1.2.5.
      I am not completely happy with the resulting sql query - LIKE %blah% is ugly,
      but I had no idea how to do it better.
      Please note that this patch includes also patches #1380 and #1160.
      The definition in notifd-configuration.xml look like:
      <auto-acknowledge resolution-prefix="RESOLVED: "
      uei="uei.opennms.org/threshold/highThresholdRearmed"
      acknowledge="uei.opennms.org/threshold/highThresho
      ldExceeded">
      <match>nodeid</match>
      <match>interfaceid</match>
      <match>serviceid</match>
      <match>ds</match>
      </auto-acknowledge>
      <auto-acknowledge resolution-prefix="RESOLVED: "
      uei="uei.opennms.org/threshold/lowThresholdRearmed"
      acknowledge="uei.opennms.org/threshold/lowThreshold
      Exceeded">
      <match>nodeid</match>
      <match>interfaceid</match>
      <match>serviceid</match>
      <match>ds</match>
      </auto-acknowledge>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tarus Tarus Balog
                Reporter:
                kastner@devicen.de Tilman Kastner
              • Votes:
                5 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: