Add Label to thresholds for display on "Edit Group" page

Description

I have set up custom thresholds to monitor file system space usage. eg. I have three thresholds configured, one for /var, one for /srv, and one catchall for all other file systems. I use the same uei for all thresholds, but different threshold values

There is no way of telling from the /Admin/Threshold Groups/Edit Group page which rule is which as the only difference is in the Resource Filter section within the "Edit Threshold" page

I'd like to be able to label the thresholds so I can see what they are from the "Edit Group" page.

Environment

n/a

Acceptance / Success Criteria

None

Attachments

2
  • 13 Jun 2011, 02:54 PM
  • 13 Jun 2011, 02:54 PM

Lucidchart Diagrams

Activity

Alejandro Galue June 15, 2011 at 1:44 PM

A solution has been pushed to 1.8 in commit 28e84055dec8483fe973a3c667ac010dee1bd8a0 and cherry-picked to 1.10 in commit.

Now, there's an optional attribute called 'description' which could be added to thresholds (or expressions) using the WebUI or by manually editing the file thresholds.xml

Alejandro Galue June 13, 2011 at 2:54 PM

I'm making some tests to handle this issue.

I added a single attribute called "description" to both (thresholds and expressions), to let the user put some useful information to help identify thresholds which differs only by their resource filters.

Check the screenshots for an example.

From the configuration perspective you will have:

<expression description="Usage of /var" type="high" ds-type="hrStorageIndex" value="80.0" rearm="70.0" trigger="2" ds-label="hrStorageDescr" filterOperator="or" expression="hrStorageUsed / hrStorageSize * 100.0">
<resource-filter field="hrStorageDescr">^\/var$</resource-filter>
</expression>

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created June 1, 2011 at 12:39 PM
Updated January 27, 2017 at 4:20 PM
Resolved June 15, 2011 at 1:44 PM

Flag notifications