2013-06-27 10:14:41 +02:00
|
|
|
<?= $this->partial('show/header.phtml', array(
|
|
|
|
'host' => $this->host,
|
|
|
|
'service' => $this->service,
|
|
|
|
'tabs' => $this->tabs,
|
|
|
|
'compact' => $this->compact
|
|
|
|
)); ?>
|
|
|
|
<?= $this->expandable(
|
|
|
|
$this->pluginOutput($this->host->host_output),
|
|
|
|
$this->pluginOutput($this->host->host_long_output)
|
|
|
|
) ?>
|
|
|
|
<?= $this->expandable(
|
|
|
|
'<b>Command:</b> ' . array_shift(preg_split('|!|', $this->host->host_check_command)),
|
|
|
|
$this->commandArguments($this->host->host_check_command)
|
|
|
|
) ?>
|
2013-06-27 13:13:31 +02:00
|
|
|
<?php if (! empty($this->hostgroups)): ?>
|
2013-06-27 10:14:41 +02:00
|
|
|
<?
|
|
|
|
$list = array();
|
|
|
|
foreach ($this->hostgroups as $name => $alias) {
|
|
|
|
$list[] = $this->qlink($alias, 'monitoring/list/services', array(
|
|
|
|
'hostgroups' => $name
|
|
|
|
));
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
<b>Hostgroups:</b> <?= implode(', ', $list) ?><br />
|
2013-06-27 13:13:31 +02:00
|
|
|
<?php endif; ?>
|
2013-06-27 10:14:41 +02:00
|
|
|
<?= $this->render('show/components/contacts.phtml') ?>
|
|
|
|
<?= $this->render('show/components/comments.phtml') ?>
|
|
|
|
|
2013-06-27 13:13:31 +02:00
|
|
|
<?php foreach ($this->customvars as $name => $value): ?>
|
2013-06-27 10:14:41 +02:00
|
|
|
<b><?= $this->escape($name) ?>:</b> <?= $this->escape($value) ?><br />
|
2013-06-27 13:13:31 +02:00
|
|
|
<?php endforeach; ?>
|
|
|
|
<?php if ($this->host->host_perfdata): ?>
|
2013-06-27 10:14:41 +02:00
|
|
|
<?= $this->expandable(
|
|
|
|
'<b>Performance data</b>',
|
|
|
|
$this->perfdata($this->host->host_perfdata),
|
|
|
|
array('collapsed' => false)
|
|
|
|
) ?>
|
2013-06-27 13:13:31 +02:00
|
|
|
<?php endif; ?>
|
2013-06-27 10:14:41 +02:00
|
|
|
<?= $this->preview_image ?>
|
|
|
|
|