active_checks_enabled;
?>
= $activeChecksEnabled ? $this->translate('Last check') : $this->translate('Last update') ?> |
state !== 99) {
echo $this->timeAgo($object->last_check);
} ?>
|
= $activeChecksEnabled ? $this->translate('Next check') : $this->translate('Next update') ?> |
hasPermission('monitoring/command/schedule-check')) {
if ($object->getType() === $object::TYPE_SERVICE) {
echo $this->qlink(
$this->translate('Reschedule'),
'monitoring/service/reschedule-check',
array('host' => $object->getHost()->getName(), 'service' => $object->getName()),
array(
'class' => 'action-link',
'data-base-target' => '_self',
'icon' => 'reschedule',
'title' => $this->translate(
'Schedule the next active check at a different time than the current one'
)
)
);
} else {
echo $this->qlink(
$this->translate('Reschedule'),
'monitoring/host/reschedule-check',
array('host' => $object->getName()),
array(
'class' => 'action-link',
'data-base-target' => '_self',
'icon' => 'reschedule',
'title' => $this->translate(
'Schedule the next active check at a different time than the current one'
)
)
);
}
} ?>
state !== 99) {
if ($activeChecksEnabled) {
echo $this->timeUntil($object->next_check);
} else {
echo sprintf($this->translate('expected %s'), $this->timeUntil($object->next_update));
}
} ?>
next_update < time()) {
echo $this->icon('circle', $this->translate('Check result is late'), array('class' => 'fg-color-critical'));
} ?>
|
= $this->translate('Check attempts') ?> |
= $object->attempt ?>
(= (int) $object->state_type === 0 ? $this->translate('soft state') : $this->translate('hard state') ?>)
|
check_execution_time): ?>
= $this->translate('Check execution time') ?> |
= round((float) $object->check_execution_time, 3) ?>s |
check_latency): ?>
= $this->translate('Check latency') ?> |
= $object->check_latency ?>s |