2013-07-22 16:03:36 +02:00
|
|
|
<?php
|
|
|
|
$object = null;
|
|
|
|
|
|
|
|
if (isset($this->service)) {
|
|
|
|
$object = $this->service;
|
|
|
|
} elseif (isset($this->host)) {
|
|
|
|
$object = $this->host;
|
|
|
|
}
|
|
|
|
|
|
|
|
$properties = $this->monitoringProperties($object);
|
|
|
|
?>
|
2013-08-22 17:17:58 +02:00
|
|
|
<table class="table table-bordered">
|
|
|
|
<?php foreach ($properties as $label => $value): ?>
|
|
|
|
<tr>
|
|
|
|
<th><?= $label ?></th>
|
|
|
|
<td><?= $value ?></td>
|
|
|
|
</tr>
|
|
|
|
<?php endforeach; ?>
|
2013-07-22 16:03:36 +02:00
|
|
|
</table>
|