Hi Adam,
Thanks a lot for the prompt response.
so we can expect it to be done in the future :-) great !!
With Best Regards,
Supun Rathnayake
Lanka communication Services (Pvt) Ltd. 65C, Dharmapala Mawatha, Colombo 07. Sri Lanka. Tel: +94-11-2437545 http://www.lankacom.net http://blog.lankacom.net
On 05/23/2014 02:22 PM, Adam Armstrong wrote:
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. _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium