Use hosts link instead services link
Use hosts link instead services link to show hosts group. refs #7259
This commit is contained in:
parent
08473ff5c9
commit
2f3667aa3d
|
@ -79,7 +79,7 @@
|
|||
</td>
|
||||
<?php endif ?>
|
||||
<td class="groupname">
|
||||
<a href="<?= $this->href('monitoring/list/services', array('hostgroup' => $h->hostgroup)); ?>">
|
||||
<a href="<?= $this->href('monitoring/list/hosts', array('hostgroup' => $h->hostgroup)); ?>">
|
||||
<?= $h->hostgroup; ?>
|
||||
</a>
|
||||
</td>
|
||||
|
|
|
@ -4,7 +4,7 @@ if (empty($object->hostgroups)) return;
|
|||
|
||||
$list = array();
|
||||
foreach ($object->hostgroups as $name => $alias) {
|
||||
$list[] = $this->qlink($alias, 'monitoring/list/services', array(
|
||||
$list[] = $this->qlink($alias, 'monitoring/list/hosts', array(
|
||||
'hostgroup' => $name
|
||||
));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue