mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 05:44:36 +02:00
Livestatus\StatusQuery: make use of new filter flags
NIIIIICEEEE!!
This commit is contained in:
parent
b6b78e4fcd
commit
b494476ebc
@ -33,6 +33,13 @@ class StatusQuery extends Query
|
|||||||
|
|
||||||
protected $table = 'services';
|
protected $table = 'services';
|
||||||
|
|
||||||
|
protected $filter_flags = array(
|
||||||
|
'host_handled' => 'host_state > 0 & (host_acknowledged | host_in_downtime)',
|
||||||
|
'host_problem' => 'host_state > 0',
|
||||||
|
'service_problem' => 'service_state > 0',
|
||||||
|
'service_handled' => 'service_state > 0 & (host_state > 0 | service_acknowledged | service_in_downtime)',
|
||||||
|
'service_unhandled' => 'service_state > 0 & host_state = 0 & !service_acknowledged & !service_in_downtime',
|
||||||
|
);
|
||||||
|
|
||||||
protected $available_columns = array(
|
protected $available_columns = array(
|
||||||
'host' => 'host_name',
|
'host' => 'host_name',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user