mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
Servicestatesummary: Count services, not their states
This commit is contained in:
parent
6fbad0b502
commit
ec5451f627
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ class ServicestateSummary extends Service
|
|||
. ' AND service_state.is_acknowledged = \'n\' THEN 1 ELSE 0 END)'
|
||||
),
|
||||
'services_total' => new Expression(
|
||||
'SUM(CASE WHEN service_state.soft_state IS NOT NULL THEN 1 ELSE 0 END)'
|
||||
'SUM(CASE WHEN service.id IS NOT NULL THEN 1 ELSE 0 END)'
|
||||
),
|
||||
'services_unknown_handled' => new Expression(
|
||||
'SUM(CASE WHEN service_state.soft_state = 3'
|
||||
|
|
|
|||
Loading…
Reference in a new issue