= $this->translate('Command') ?> |
= $this->escape($command) ?>
hasPermission('monitoring/command/schedule-check') && $object->passive_checks_enabled) {
$title = sprintf(
$this->translate('Submit a one time or so called passive result for the %s check'), $command
);
if ($object->getType() === $object::TYPE_HOST) {
echo $this->qlink(
$this->translate('Process check result'),
'monitoring/host/process-check-result',
array('host' => $object->getName()),
array(
'class' => 'action-link',
'data-base-target' => '_self',
'icon' => 'reply',
'title' => $title
)
);
} else {
echo $this->qlink(
$this->translate('Process check result'),
'monitoring/service/process-check-result',
array('host' => $object->getHost()->getName(), 'service' => $object->getName()),
array(
'class' => 'action-link',
'data-base-target' => '_self',
'icon' => 'reply',
'title' => $title
)
);
}
} ?>
|
\n