In-line thresholder ignores scheduled outages
Description
Environment
Red Hat EL 5.5
Acceptance / Success Criteria
None
Lucidchart Diagrams
Activity
Show:

Alejandro Galue May 25, 2011 at 4:39 PM
Fixed on revision e6569b628f01a9eb23f36f15d5f1383b1d1ab293 for branch 1.8
Fixed on revision 886c861d43ec809ec51d660684a8f9d535524f5a for branch 1.10
Fixed
Created November 26, 2010 at 8:41 AM
Updated January 27, 2017 at 4:20 PM
Resolved May 25, 2011 at 4:39 PM
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