Fixed
Details
Assignee
Jesse WhiteJesse WhiteReporter
Alejandro GalueAlejandro GalueLabels
Components
Sprint
NoneFix versions
Affects versions
Priority
Critical
Details
Details
Assignee
Jesse White
Jesse WhiteReporter
Alejandro Galue
Alejandro GalueLabels
Components
Sprint
None
Fix versions
Affects versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created June 13, 2016 at 3:28 PM
Updated November 9, 2016 at 6:39 PM
Resolved November 9, 2016 at 1:39 PM
IMPORTANT: THE FOLLOWING WON'T HAPPEN WHEN USING RRDTOOL.
The following was verified with latest foundation-2016 and latest snapshot for Meridian-2016.1.0:
1) When using MIN or MAX as the aggregation function when calling the following ReST end-point, weird values are returned:
Here are examples:
/rest/measurements/nodeSource%5BKME:OI-68EFE924426240239D42BE1F053AD80D%5D.nodeSnmp%5B%5D/avgBusy5?start=-200000&step=30000&aggregation=MAX
rest/measurements/nodeSource%5BKME:OI-68EFE924426240239D42BE1F053AD80D%5D.nodeSnmp%5B%5D/avgBusy5?start=-100000&step=1&aggregation=MIN
2) According with the documentation, step=1 means:
When using Newts, it uses whatever value is configured for org.opennms.newts.query.minimum_step in opennms.properties instead the configured step on collectd-configuration.xml. This is kind of confusing as this is not the case when using RRDtool.
For now, you have to provide a more precise step, which is problematic if you have different collection step for different devices on collectd-configuration.xml, specially when the final user of this ReST end point doesn't know the collection interval for a given device.