powered by Jive Software

Quick stats page for Server Traffic Low/High values are incorrect

Openfire 3.9.3 + Monintoring plugin 1.4.2

The Server traffic statstics in quick stats are incorrect and inconsistent compared with All Reports page.

The problem is in the calculation of Low and High Values.

The StatsViewer.getMin() and getMax() will return two values for high and low for server_bytes_in and server_bytes_out respectively.

The StatsAction.getLowAndHigh(String key, long[] timePeriod) does not take that into account and always precesses the first element in the array.

Attached is a modified version which sums the values of all the elements of the array.

Thanks for reporting, are you able to submit a pull request with this against our github development?

daryl

done