Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Monitoring Services by Hostgroup : improvement order suggestion #5402

Closed
Tithib opened this issue Jul 3, 2017 · 1 comment
Closed

Monitoring Services by Hostgroup : improvement order suggestion #5402

Tithib opened this issue Jul 3, 2017 · 1 comment

Comments

@Tithib
Copy link

Tithib commented Jul 3, 2017

In monitoring tab, "Services by Hostgroup" is usefull, but it would be greater if services were ordered when they have the same status.
So, in the file /www/include/monitoring/status/ServicesHostGroups/xml/serviceGridByHGXML.php
I suggest to remplace on line 181 :
$rq1 .= " order by tri asc";
with
$rq1 .= " order by tri asc, s.description asc";

It's a tiny modification, but all the services are ordered and if you have, as I have, lots of similar hosts with same services, it's very easier to read and find differences between hosts.

Thanks for your great tool.

@thiuyendang
Copy link
Contributor

OK 2.8.12-4, centOS6, centOS7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants