Ability to round the reported values

Description

I frequently get threshold values like 79.1124312413 percent network usage. It would be very nice to only get a rounded value of 79 percent network usage.

Right now I workaround this by specifying expressions like x-(x%1).

Environment

Operating System: Linux Platform: PC

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Benjamin Reed May 20, 2010 at 11:08 AM

FYI, you can set the format by setting the property org.opennms.threshd.value.decimalformat, the default is "###.##"

Alejandro Galue March 15, 2010 at 1:16 PM

Fixed on master branch (rde97c8096ec3) for OpenNMS 1.7.x series
Fixed on 1.6 branch (redacc8fdb3e0) for OpenNMS 1.6.x series

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created November 9, 2009 at 8:06 AM
Updated January 27, 2017 at 4:26 PM
Resolved November 5, 2010 at 4:45 PM