From 1be8e14772671e4a56a22384d555c508bb54ba59 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Fri, 20 May 2016 17:05:51 +0200 Subject: [PATCH] Servicegroups list: show how many services are unknown and handled fixes #11708 --- .../monitoring/library/Monitoring/Web/Widget/StateBadges.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/monitoring/library/Monitoring/Web/Widget/StateBadges.php b/modules/monitoring/library/Monitoring/Web/Widget/StateBadges.php index 04aa0261a..31f443462 100644 --- a/modules/monitoring/library/Monitoring/Web/Widget/StateBadges.php +++ b/modules/monitoring/library/Monitoring/Web/Widget/StateBadges.php @@ -321,7 +321,10 @@ class StateBadges extends AbstractWidget array(static::STATE_UNREACHABLE, static::STATE_UNREACHABLE_HANDLED), $badges ) - ->createBadge(static::STATE_UNKNOWN, $badges) + ->createBadgeGroup( + array(static::STATE_UNKNOWN, static::STATE_UNKNOWN_HANDLED), + $badges + ) ->createBadge(static::STATE_OK, $badges) ->createBadge(static::STATE_UP, $badges) ->createBadge(static::STATE_PENDING, $badges);