[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-buglist
Subject:    [Buglist] [JIRA] (NMS-5085) Default hrStorageUsed disk space relativeChange threshold only alerts on
From:       jira () opennms ! org (Tim Miller Dyck (JIRA))
Date:       2011-12-29 22:31:29
Message-ID: 488766787.992.1325197889794.JavaMail.jira () mail1 ! opennms ! com
[Download RAW message or body]


    [ http://issues.opennms.org/browse/NMS-5085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26593#comment-26593 \
] 

Tim Miller Dyck commented on NMS-5085:
--------------------------------------

A comment that the netsnmp group of thresholds has the same style of thresholds that \
alert on a decrease of used space (that is, an increase of free space).

    <group name="netsnmp" rrdRepository="/var/lib/opennms/rrd/snmp/">
        <threshold type="relativeChange" ds-type="dskIndex" value="0.5"
            rearm="0.0" trigger="2" ds-label="ns-dskPath"
            filterOperator="or" ds-name="ns-dskPercent"/>
        <threshold type="relativeChange" ds-type="dskIndex" value="0.5"
            rearm="0.0" trigger="2" ds-label="ns-dskPath"
            filterOperator="or" ds-name="ns-dskPercentNode"/>
...

The same addition mentioned above of a relativeChange threshold with a value of 1.333 \
applies here also.

Regards,
Tim Miller Dyck

                
> Default hrStorageUsed disk space relativeChange threshold only alerts on a sudden \
>                 _increase of free space_, not a decrease of free space
> ----------------------------------------------------------------------------------------------------------------------------------------
>  
> Key: NMS-5085
> URL: http://issues.opennms.org/browse/NMS-5085
> Project: OpenNMS
> Issue Type: Enhancement
> Components: Thresholding
> Affects Versions: 1.8.16
> Reporter: Tim Miller Dyck
> Assignee: Matt Brozowski
> Priority: Minor
> Original Estimate: 30 minutes
> Remaining Estimate: 30 minutes
> 
> The default rate-of-change threshold alert in thresholds.xml as of OpenNMS 1.8.16 \
> only alerts on a sudden increase of free space: <group name="hrstorage" \
>                 rrdRepository="/var/lib/opennms/rrd/snmp/">
> ...
> <expression type="relativeChange" ds-type="hrStorageIndex"
> value="0.5" rearm="0.0" trigger="2"
> ds-label="hrStorageDescr" filterOperator="or" expression="hrStorageUsed / \
> hrStorageSize * 100.0"> <resource-filter \
> field="hrStorageType">^\.1\.3\.6\.1\.2\.1\.25\.2\.1\.4$</resource-filter> \
> </expression> </group>
> As per http://www.opennms.org/wiki/Thresholding , the value of 0.5 triggers on a \
> 50% relative change drop in the measured value, which is the percentage of storage \
> used. A drop in this value indicates more free space has suddenly become available. \
> Having more free space is not generally an alert condition but less free space is, \
> thus adding the following threshold would be a helpful enhancement. The trigger is \
> changed to 1 as well, as this is the actual behavior (the attribute is currently \
> unused per the wiki documentation). <expression
> description="Trigger a warning event when the percentage of disk space used on any \
> disk of type hrStorageFixedDisk (e.g. a locally attached or USB-attached hard disk) \
> increases by a relative 33.3% compared to its most recent previous measurement \
> (e.g. there is suddenly less free space)" type="relativeChange" \
> ds-type="hrStorageIndex" value="1.333" rearm="0.0" trigger="1"
> ds-label="hrStorageDescr" filterOperator="or" expression="hrStorageUsed / \
> hrStorageSize * 100.0"> <resource-filter \
> field="hrStorageType">^\.1\.3\.6\.1\.2\.1\.25\.2\.1\.4$</resource-filter> \
> </expression> I tested this with OpenNMS 1.8.16 by copying a file to a drive that \
> increased its space used from 47% used to 64% used and got the following alert as \
> expected: Relative change exceeded for SNMP datasource hrStorageUsed / \
> hrStorageSize * 100.0 on interface 10.1.1.8, parms: label="E:\ Label:Data2 (SSD \
> physical drive) Serial Number 602c3eb8" ds="hrStorageUsed / hrStorageSize * 100.0" \
> value="63.67" instance="3" previousValue="47.54" multiplier="1.333" Regards,
> Tim Miller Dyck

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: \
http://issues.opennms.org/secure/ContactAdministrators!default.jspa For more \
information on JIRA, see: http://www.atlassian.com/software/jira

        


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic