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

Thresholding - Absolutechange stored as floating-point value

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.9.92
    • Component/s: Thresholding
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: PC
    • Bugzilla Id:
      3992

      Description

      When I create a AbsoluteChange threshold in the tresholding gui and enter for example 5 as a value then the value that goes into the configuration file is "5.0"

      When this is configured like this it seems like i get a notification on every value change.
      For example this threshold was triggered.
      parms: label="Unknown" ds="upsOutputCurrent1" value="65" instance="null" changeThreshold="5.0" previousValue="67"

      absoluteChange works though when I change the value manually in the thresholding.xml to be "5" instead of "5.0"

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              jt@jt.is Jon Thor Gudmundsson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: