72 lines
2.3 KiB
PHTML
72 lines
2.3 KiB
PHTML
<?php
|
|
/** @var Zend_View_Helper_CommandForm $cf */
|
|
$cf = $this->getHelper('CommandForm');
|
|
$servicequery = isset($this->servicequery) ? $this->servicequery : '';
|
|
$objectName = $this->is_service ? 'Services' : 'Hosts';
|
|
?>
|
|
|
|
<tr>
|
|
<th>
|
|
<?= count($objects) . ' ' . $objectName ?>
|
|
</th>
|
|
<td>
|
|
<a
|
|
href="<?=$this->href(
|
|
'monitoring/command/reschedulenextcheck',
|
|
array(
|
|
'host' => $this->target['host'],
|
|
'service' => array_key_exists('service', $this->target) ? $this->target['service'] : null,
|
|
'checktime' => time(),
|
|
'forcecheck' => '1'
|
|
)
|
|
); ?>"
|
|
>
|
|
<?= $this->icon('refresh_petrol.png') ?> Recheck
|
|
</a> <br/>
|
|
<a href="<?= $this->href('monitoring/command/reschedulenextcheck', $this->target) ?>">
|
|
<?= $this->icon('reschedule_petrol.png') ?> Reschedule
|
|
</a> <br />
|
|
|
|
</td>
|
|
<td>
|
|
Perform actions on <?= count($objects) . ' ' . $objectName ?>.
|
|
</td>
|
|
</tr>
|
|
|
|
<tr class="newsection">
|
|
<th>
|
|
<?= $this->problems ?> Problems
|
|
</th>
|
|
<td>
|
|
<a
|
|
title="Schedule downtimes for all selected hosts"
|
|
href="<?= $this->href('monitoring/command/scheduledowntime', $this->target); ?>"
|
|
>
|
|
<?= $this->icon('in_downtime_petrol.png') ?> Schedule Downtimes
|
|
</a>
|
|
</td>
|
|
<td>
|
|
Handle <?= $this->problems ?> problems on <span> <?= count($this->objects) ?> </span> <?= $objectName ?>.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>
|
|
<?= count($this->unhandled) ?> Unhandled
|
|
</th>
|
|
<td>
|
|
<a
|
|
title="Acknowledge all problems on the selected hosts or services"
|
|
href="<?= $this->href('monitoring/command/acknowledgeproblem', $this->target);?>"
|
|
>
|
|
<?= $this->icon('acknowledgement_petrol.png') ?> Acknowledge
|
|
</a> <br />
|
|
<a
|
|
title="Remove all acknowledgements from all selected hosts or services"
|
|
href="<?=$this->href('monitoring/command/removeacknowledgement', $target);?>"
|
|
>
|
|
<?= $this->icon('remove_petrol.png') ?> Remove Acknowledgements
|
|
</a>
|
|
</td>
|
|
<td>
|
|
</td>
|
|
</tr>
|