monitoring: Fix that selecting a hostgroup displays its services instead of its hosts
fixes #8273
This commit is contained in:
parent
ab33350439
commit
ad4ebf8fa5
|
@ -28,7 +28,7 @@
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php foreach ($hostgroups as $h): ?>
|
<?php foreach ($hostgroups as $h): ?>
|
||||||
<tr href="<?= $this->href('monitoring/list/services', array('hostgroup' => $h->hostgroup)); ?>">
|
<tr href="<?= $this->href('monitoring/list/hosts', array('hostgroup' => $h->hostgroup)) ?>">
|
||||||
<?php if ($h->services_critical_last_state_change_unhandled): ?>
|
<?php if ($h->services_critical_last_state_change_unhandled): ?>
|
||||||
<td class="state change critical unhandled">
|
<td class="state change critical unhandled">
|
||||||
<strong><?= $this->translate('CRITICAL'); ?></strong>
|
<strong><?= $this->translate('CRITICAL'); ?></strong>
|
||||||
|
@ -84,7 +84,7 @@
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td class="total">
|
<td class="total">
|
||||||
<?= $h->services_total; ?>
|
<?= $this->qlink($h->services_total, 'monitoring/list/services', array('hostgroup' => $h->hostgroup)) ?>
|
||||||
</td>
|
</td>
|
||||||
<td class="state">
|
<td class="state">
|
||||||
<?php if ($h->services_ok): ?>
|
<?php if ($h->services_ok): ?>
|
||||||
|
|
Loading…
Reference in New Issue