http://jira.hyperic.com/browse/HHQ-3252
The org.hyperic.hq.ui.action.resource.common.monitor.visibility.CurrentHealthAction calculates the availability % for a resource using 60 data points retreived for the bar with green/yellow/red dots. This average is not as accurate as the one displayed in the DashCahrts.jsp using the org.hyperic.hq.ui.action.resource.common.monitor.visibility.IndicatorChartsAction which uses a call to:
MetricDisplaySummary MeasurementBoss.findMetric(int sessionId,
org.hyperic.hq.appdef.shared.AppdefEntityID aeid,
org.hyperic.hq.appdef.shared.AppdefEntityTypeID ctype,
java.lang.Integer tid,
long begin,
long end)
It looks strange that these availability averages don't match when they are both displayed on the screen at the same time. The code should be modified to use the same calculation method for both availability averages - the one in the IndicatorChartsAction is the more accurate one.
Anonymous