mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 05:44:36 +02:00
monitoring: Use StateBadges::STATE_UP in the host groups overview
refs #5543
This commit is contained in:
parent
8de1c6c0f9
commit
d8f45fc9b1
@ -57,7 +57,7 @@ if (! $this->compact): ?>
|
||||
$stateBadges
|
||||
->setUrl('monitoring/list/hosts')
|
||||
->add(
|
||||
StateBadges::STATE_OK,
|
||||
StateBadges::STATE_UP,
|
||||
array(
|
||||
'host_state' => 0,
|
||||
'hostgroup_name' => $hostgroup->hostgroup_name,
|
||||
|
@ -283,6 +283,7 @@ class StateBadges extends AbstractWidget
|
||||
)
|
||||
->createBadge(static::STATE_UNKNOWN, $badges)
|
||||
->createBadge(static::STATE_OK, $badges)
|
||||
->createBadge(static::STATE_UP, $badges)
|
||||
->createBadge(static::STATE_PENDING, $badges);
|
||||
return $badges
|
||||
->getRenderer()
|
||||
|
Loading…
x
Reference in New Issue
Block a user