mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 13:54:26 +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
|
$stateBadges
|
||||||
->setUrl('monitoring/list/hosts')
|
->setUrl('monitoring/list/hosts')
|
||||||
->add(
|
->add(
|
||||||
StateBadges::STATE_OK,
|
StateBadges::STATE_UP,
|
||||||
array(
|
array(
|
||||||
'host_state' => 0,
|
'host_state' => 0,
|
||||||
'hostgroup_name' => $hostgroup->hostgroup_name,
|
'hostgroup_name' => $hostgroup->hostgroup_name,
|
||||||
|
@ -283,6 +283,7 @@ class StateBadges extends AbstractWidget
|
|||||||
)
|
)
|
||||||
->createBadge(static::STATE_UNKNOWN, $badges)
|
->createBadge(static::STATE_UNKNOWN, $badges)
|
||||||
->createBadge(static::STATE_OK, $badges)
|
->createBadge(static::STATE_OK, $badges)
|
||||||
|
->createBadge(static::STATE_UP, $badges)
|
||||||
->createBadge(static::STATE_PENDING, $badges);
|
->createBadge(static::STATE_PENDING, $badges);
|
||||||
return $badges
|
return $badges
|
||||||
->getRenderer()
|
->getRenderer()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user