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
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).