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

A restart is required after changing the resource filter of a threshold

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.17, 1.10.0
    • Fix Version/s: 1.10.3
    • Component/s: Thresholding
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      Suppose that you have a file system threshold defined like the following:

      <expression type="high" ds-type="hrStorageIndex" value="90.0"
      rearm="75.0" trigger="2" ds-label="hrStorageDescr"
      filterOperator="or" expression="hrStorageUsed / hrStorageSize * 100.0">
      <resource-filter field="hrStorageDescr">^/usr$</resource-filter>
      </expression>

      And then you want to add an additional filter to apply also this threshold to /var. The new configuration looks like this:

      <expression type="high" ds-type="hrStorageIndex" value="90.0"
      rearm="75.0" trigger="2" ds-label="hrStorageDescr"
      filterOperator="or" expression="hrStorageUsed / hrStorageSize * 100.0">
      <resource-filter field="hrStorageDescr">^/(usr|var)$</resource-filter>
      </expression>

      After sending the event to reload the threshold configuration, the threshold processor is still using the old filter, not the new one.

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: