![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
On 2014-05-23 03:49, Supun Rathnayake wrote:
Hi ,
The current health monitoring top menu report ( MAILSCANNER WARNING: NUMERICAL LINKS ARE OFTEN MALICIOUS: http://x.x.x.x/health/metric=processor/ [4] ) displays the items in the alphabetical order of the device name.
But it would great if we can get this sorted by actual usage, so that it gives like "Top CPU Usages like report"
This is just a suggestion, what do you all think , the same thing could be applied to other metrics as well
for the time being I just edited the
/opt/observium/html/pages/health/processor.inc.php file and set
$processors = array_sort_by($processors, 'processor_usage', SORT_DESC, SORT_NUMBER, 'processor_descr', SORT_ASC, SORT_STRING);
to get this effect.
but my worry is, this will be overwritten when we do the svn upgrades :-)
It won't be overwritten, but it may cause any updates to that file to fail.
We did add sorting to some pages, though obviously not all of them have it yet. They will in the future, time permitting.
adam.