mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 14:54:24 +02:00
monitoring: Remove last problem column from the service group overview
refs #5543
This commit is contained in:
parent
73d674f6d9
commit
8fe508536e
@ -14,7 +14,6 @@
|
|||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
<table class="groupview action" data-base-target="_next">
|
<table class="groupview action" data-base-target="_next">
|
||||||
<thead>
|
<thead>
|
||||||
<th><?= $this->translate('Last Problem') ?></th>
|
|
||||||
<th><?= $this->translate('Service Group') ?></th>
|
<th><?= $this->translate('Service Group') ?></th>
|
||||||
<th><?= $this->translate('Total Services') ?></th>
|
<th><?= $this->translate('Total Services') ?></th>
|
||||||
<th><?= $this->translate('Service States') ?></th>
|
<th><?= $this->translate('Service States') ?></th>
|
||||||
@ -25,55 +24,6 @@
|
|||||||
$servicegroups->peekAhead($this->compact);
|
$servicegroups->peekAhead($this->compact);
|
||||||
foreach ($servicegroups as $s): ?>
|
foreach ($servicegroups as $s): ?>
|
||||||
<tr href="<?= $this->href('monitoring/list/services', array('servicegroup_name' => $s->servicegroup_name)) ?>">
|
<tr href="<?= $this->href('monitoring/list/services', array('servicegroup_name' => $s->servicegroup_name)) ?>">
|
||||||
<?php if ($s->services_critical_last_state_change_unhandled): ?>
|
|
||||||
<td class="state change critical unhandled">
|
|
||||||
<strong><?= $this->translate('CRITICAL') ?></strong>
|
|
||||||
<br>
|
|
||||||
<?= $this->timeSince($s->services_critical_last_state_change_unhandled) ?>
|
|
||||||
</td>
|
|
||||||
<?php elseif ($s->services_unknown_last_state_change_unhandled): ?>
|
|
||||||
<td class="state change unknown unhandled">
|
|
||||||
<strong><?= $this->translate('UNKNOWN') ?></strong>
|
|
||||||
<br>
|
|
||||||
<?= $this->timeSince($s->services_unknown_last_state_change_unhandled) ?>
|
|
||||||
</td>
|
|
||||||
<?php elseif ($s->services_warning_last_state_change_unhandled): ?>
|
|
||||||
<td class="state change warning unhandled">
|
|
||||||
<strong><?= $this->translate('WARNING') ?></strong>
|
|
||||||
<br>
|
|
||||||
<?= $this->timeSince($s->services_warning_last_state_change_unhandled) ?>
|
|
||||||
</td>
|
|
||||||
<?php elseif ($s->services_critical_last_state_change_handled): ?>
|
|
||||||
<td class="state change critical">
|
|
||||||
<strong><?= $this->translate('CRITICAL') ?></strong>
|
|
||||||
<br>
|
|
||||||
<?= $this->timeSince($s->services_critical_last_state_change_handled) ?>
|
|
||||||
</td>
|
|
||||||
<?php elseif ($s->services_unknown_last_state_change_handled): ?>
|
|
||||||
<td class="state change unknown">
|
|
||||||
<strong><?= $this->translate('UNKNOWN') ?></strong>
|
|
||||||
<br>
|
|
||||||
<?= $this->timeSince($s->services_unknown_last_state_change_handled) ?>
|
|
||||||
</td>
|
|
||||||
<?php elseif ($s->services_warning_last_state_change_handled): ?>
|
|
||||||
<td class="state change warning">
|
|
||||||
<strong><?= $this->translate('WARNING') ?></strong>
|
|
||||||
<br>
|
|
||||||
<?= $this->timeSince($s->services_warning_last_state_change_handled) ?>
|
|
||||||
</td>
|
|
||||||
<?php elseif ($s->services_ok_last_state_change): ?>
|
|
||||||
<td class="state change ok">
|
|
||||||
<strong><?= $this->translate('OK') ?></strong>
|
|
||||||
<br>
|
|
||||||
<?= $this->timeSince($s->services_ok_last_state_change) ?>
|
|
||||||
</td>
|
|
||||||
<?php else: ?>
|
|
||||||
<td class="state change pending">
|
|
||||||
<strong><?= $this->translate('PENDING') ?></strong>
|
|
||||||
<br>
|
|
||||||
<?= $this->timeSince($s->services_pending_last_state_change) ?>
|
|
||||||
</td>
|
|
||||||
<?php endif ?>
|
|
||||||
<td class="groupname">
|
<td class="groupname">
|
||||||
<?= $this->qlink(
|
<?= $this->qlink(
|
||||||
$s->servicegroup_alias,
|
$s->servicegroup_alias,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user