Icinga check_disk Inodes Ignored

Running icinga2 < 2.9.0 and wondering why check_disk ignores your inode thresholds?

Turns out check_disk needs all thresholds specified before passing -A, -R, etc., see #5714

This can be done using the order key (see CheckCommand Documentation):

--- /tmp/command-plugins.conf	2019-05-10 13:15:27.358692552 +0200
+++ /usr/share/icinga2/include/command-plugins.conf	2019-05-10 13:13:03.106517997 +0200
@@ -961,11 +961,13 @@
        "-W" = {
            value = "$disk_inode_wfree$"
            description = "Exit with WARNING status if less than PERCENT of inode space is free"
+			order = -2
        }

        "-K" = {
            value = "$disk_inode_cfree$"
            description = "Exit with CRITICAL status if less than PERCENT of inode space is free"
+			order = -2
        }
 
        "-p" = {