DiskUsageMonitor startswith parameter doesn't evaluate all mount points

Description

DiskUsageMonitor: The startswith (even endswith and regex) parameter leads me to believe I can use this to monitor anything that "starts with" for example /opt and alarm if any of them exceeded the specified parameter.

This seems to not be the case, if one of them passes (like /opt), then the entire check passes even though other mount points may have exceeded the threshold, thus requiring me to have to make a monitor for each one.

In short, The monitor does not iterate through the list and evaluate each one that "startswith" /opt.

Environment

CentOS release 6.4 (Final) Kernel 2.6.32-358.el6.x86_64 Installed Packages opennms.noarch 1.12.0-1 @opennms-stable-centos6/6.4 Installed Packages jdk.x86_64 2000:1.7.0_21-fcs @nms64-centos6/6.4

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Jeff Gehlbach January 20, 2014 at 1:20 PM

Fix pushed to 1.12 branch.

Jeff Gehlbach January 20, 2014 at 10:41 AM

I've got a fix for this issue ready to go, but won't be able to commit it until later today.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created September 10, 2013 at 9:58 AM
Updated January 27, 2017 at 4:19 PM
Resolved January 20, 2014 at 1:20 PM