Skip to content

Commit

Permalink
monitoring: Use StateBadges::STATE_UP in the host groups overview
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Sep 27, 2015
1 parent 8de1c6c commit d8f45fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -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,
Expand Down
Expand Up @@ -283,6 +283,7 @@ public function render()
)
->createBadge(static::STATE_UNKNOWN, $badges)
->createBadge(static::STATE_OK, $badges)
->createBadge(static::STATE_UP, $badges)
->createBadge(static::STATE_PENDING, $badges);
return $badges
->getRenderer()
Expand Down

0 comments on commit d8f45fc

Please sign in to comment.