Servicegroups list: show how many services are unknown and handled

fixes #11708
This commit is contained in:
Alexander A. Klimov 2016-05-20 17:05:51 +02:00
parent 695d2fdaf6
commit 1be8e14772
1 changed files with 4 additions and 1 deletions

View File

@ -321,7 +321,10 @@ class StateBadges extends AbstractWidget
array(static::STATE_UNREACHABLE, static::STATE_UNREACHABLE_HANDLED), array(static::STATE_UNREACHABLE, static::STATE_UNREACHABLE_HANDLED),
$badges $badges
) )
->createBadge(static::STATE_UNKNOWN, $badges) ->createBadgeGroup(
array(static::STATE_UNKNOWN, static::STATE_UNKNOWN_HANDLED),
$badges
)
->createBadge(static::STATE_OK, $badges) ->createBadge(static::STATE_OK, $badges)
->createBadge(static::STATE_UP, $badges) ->createBadge(static::STATE_UP, $badges)
->createBadge(static::STATE_PENDING, $badges); ->createBadge(static::STATE_PENDING, $badges);