Change sort order in Icinga Classic UI with Icinga 2 Core

Written by - 0 comments

Published on - Listed in Monitoring Nagios Icinga


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:

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.

RSS feed

Blog Tags:

  AWS   Android   Ansible   Apache   Apple   Atlassian   BSD   Backup   Bash   Bluecoat   CMS   Chef   Cloud   Coding   Consul   Containers   CouchDB   DB   DNS   Database   Databases   Docker   ELK   Elasticsearch   Filebeat   FreeBSD   Galera   Git   GlusterFS   Grafana   Graphics   HAProxy   HTML   Hacks   Hardware   Icinga   Influx   Internet   Java   KVM   Kibana   Kodi   Kubernetes   LVM   LXC   Linux   Logstash   Mac   Macintosh   Mail   MariaDB   Minio   MongoDB   Monitoring   Multimedia   MySQL   NFS   Nagios   Network   Nginx   OSSEC   OTRS   Office   PGSQL   PHP   Perl   Personal   PostgreSQL   Postgres   PowerDNS   Proxmox   Proxy   Python   Rancher   Rant   Redis   Roundcube   SSL   Samba   Seafile   Security   Shell   SmartOS   Solaris   Surveillance   Systemd   TLS   Tomcat   Ubuntu   Unix   VMWare   VMware   Varnish   Virtualization   Windows   Wireless   Wordpress   Wyse   ZFS   Zoneminder