[icinga-users] Service Grid Configuration Question
lists at eckel-edv.de
Tue Jul 31 15:02:50 CEST 2018
I am trying to solve a problem with the Icinga Web 2 Service Grid.
Normally, without any filters being applied, the grid shows all services as colunms and all hosts as rows (or optionally vice versa, in v2.6.0) where at least one service on a host is non in state OK. For all other hosts in the grid where that service is defined, the state of the service is displayed as red/yellow/green/purple/blue etc.
For a given set-up a customer of mine would need a slightly different criteria: Instead of displaying hosts where the service is not OK, they would like to have only hosts in the grid where at least one service is CRITICAL, but otherwise retain the current rendering. A first attempt to filter for "Service State == 2" gets the correct services displayed in the grid, but not the OK/WARNING/UNKNOWN etc. states of the same service on other hosts.
So the general idea is to see green/yellow/red service flags in a column as before, but only if at least one of them is red.
Any idea if that can be accomplished at all (and if so, how)?
More information about the icinga-users