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

In-line thresholder ignores scheduled outages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0, 1.8.5
    • Fix Version/s: 1.8.13, 1.9.90
    • Component/s: Thresholding
    • Security Level: Default (Default Security Scheme)
    • Labels:
    • Environment:
      Red Hat EL 5.5

      Description

      The in-line thresholder ignores any scheduled outage. For example:

      threshd-configuration.xml
      <package name="f5-bigip">
      <filter>IPADDR != '0.0.0.0' & nodeSysOID LIKE '.1.3.6.1.4.1.3375.2.%'</filter>
      <include-range begin="1.1.1.1" end="254.254.254.254"/>
      <service name="SNMP" interval="60000" user-defined="false" status="on">
      <parameter key="thresholding-group" value="f5-bigip"/>
      </service>
      <outage-calendar xmlns="">F5 BIG-IP Quiet Hours</outage-calendar>
      </package>

      thresholds.xml
      <group name="f5-bigip" rrdRepository="/opt/opennms/share/rrd/snmp/">
      <threshold type="low" ds-type="ltmVSStatName" value="40.0" rearm="60.0" trigger="10"
      triggeredUEI="uei.opennms.org/vendor/F5/LowConnectionsThresholdExceeded"
      rearmedUEI="uei.opennms.org/vendor/F5/LowConnectionsThresholdRearmed"
      filterOperator="or" ds-name="vsCurConns">
      <resource-filter field="ltmVSStatName">www_HTTP+S?(_BT|_NTL)_VS</resource-filter>
      </threshold>
      </group>

      poll-outages.xml
      <outage name="F5 BIG-IP Quiet Hours" type="weekly">
      <ns20:time xmlns:ns20="http://xmlns.opennms.org/xsd/types" day="monday" begins="00:00:00" ends="08:30:00"/>
      <ns21:time xmlns:ns21="http://xmlns.opennms.org/xsd/types" day="monday" begins="23:00:00" ends="23:59:59"/>
      <ns22:time xmlns:ns22="http://xmlns.opennms.org/xsd/types" day="tuesday" begins="00:00:00" ends="08:30:00"/>
      <ns23:time xmlns:ns23="http://xmlns.opennms.org/xsd/types" day="tuesday" begins="23:00:00" ends="23:59:59"/>
      ... and the same for the other days of the week...
      <node id="8"/>
      <node id="9"/>
      </outage>

      Events and notifications are still generated for the counter within the outage periods. Thank you, regards,

      AP

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: