Header RSS Feed
 
If you only want to see the articles of a certain category, please click on the desired category below:
ALL Android Backup BSD Database Hacks Hardware Internet Linux Mail MySQL Monitoring Network Personal PHP Proxy Shell Solaris Unix Virtualization VMware Windows Wyse

Change sort order in Icinga Classic UI with Icinga 2 Core
Thursday - Jun 18th 2015 - by - (0 comments)

On my Icinga 2 installation with the Icinga-Classic UI there is a new default sort of the services. Instead of having the services of a host sorted in alphabetical order, they're now sorted by the last check. Meaning: The service which was last recently checked is on top. 

The overview of the services of a host then looks like this:

Icinga Classic UI with Icinga 2: Service sort 

To change this behaviour back to the old ways (sort by alphabet by default), the cgi parameter sort_status_data_by_default needs to be enabled in the cgi.conf file:

cat cgi.cfg  | grep sort
sort_status_data_by_default=1

According to the documentation, the sorting can be a little messed up when using Icinga 2 as core:

This option forces status.cgi to sort status data by default. Data will be sorted ascending. First by host name and then by service description. This is helpful if status data in status.dat is not sorted properly. This can occur especially if you use Icinga2. By default this options is switched off (0) to avoid possible higher cpu load in huge environments.

 

Add a comment

Show form to leave a comment

Comments (newest first):

No comments yet.

Go to Homepage home
Linux Howtos how to's
Monitoring Plugins monitoring plugins
Links links

Valid HTML 4.01 Transitional
Valid CSS!
[Valid RSS]

6938 Days
until Death of Computers
Why?