/usr/share/icingaweb2/modules/monitoring/application/views/scripts/config/index.phtml is in icingaweb2-module-monitoring 2.1.0-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | <div class="controls">
<?= $tabs ?>
</div>
<div class="content" data-base-target="_next">
<div>
<h2><?= $this->translate('Monitoring Backends') ?></h2>
<?= $this->qlink(
$this->translate('Create a New Monitoring Backend') ,
'monitoring/config/createbackend',
null,
array(
'class' => 'button-link',
'icon' => 'plus',
'title' => $this->translate('Create a new monitoring backend')
)
) ?>
<table class="table-row-selectable common-table">
<thead>
<tr>
<th><?= $this->translate('Monitoring Backend') ?></th>
<th></th>
</tr>
</thead>
<tbody>
<?php foreach ($this->backendsConfig as $backendName => $config): ?>
<tr>
<td>
<?= $this->qlink(
$backendName,
'monitoring/config/editbackend',
array('backend-name' => $backendName),
array(
'icon' => 'edit',
'title' => sprintf($this->translate('Edit monitoring backend %s'), $backendName)
)
) ?>
<span class="config-label-meta">(<?= sprintf(
$this->translate('Type: %s'),
$this->escape($config->type === 'ido' ? 'IDO' : ucfirst($config->type))
) ?>)
</span>
</td>
<td class="text-right">
<?= $this->qlink(
'',
'monitoring/config/removebackend',
array('backend-name' => $backendName),
array(
'class' => 'action-link',
'icon' => 'cancel',
'title' => sprintf($this->translate('Remove monitoring backend %s'), $backendName)
)
) ?>
</td>
</tr>
<?php endforeach ?>
</tbody>
</table>
</div>
<div>
<h2><?= $this->translate('Command Transports') ?></h2>
<?= $this->qlink(
$this->translate('Create a New Command Transport') ,
'monitoring/config/createtransport',
null,
array(
'class' => 'button-link',
'icon' => 'plus',
'title' => $this->translate('Create a new command transport')
)
) ?>
<table class="table-row-selectable common-table">
<thead>
<tr>
<th><?= $this->translate('Transport') ?></th>
<th></th>
</tr>
</thead>
<tbody>
<?php foreach ($this->transportConfig as $transportName => $config): ?>
<tr>
<td>
<?= $this->qlink(
$transportName,
'monitoring/config/edittransport',
array('transport' => $transportName),
array(
'icon' => 'edit',
'title' => sprintf($this->translate('Edit command transport %s'), $transportName)
)
); ?>
<span class="config-label-meta">(<?= sprintf(
$this->translate('Type: %s'),
$config->host !== null ? $this->translate('Remote') : $this->translate('Local')
) ?>)
</span>
</td>
<td class="text-right">
<?= $this->qlink(
'',
'monitoring/config/removetransport',
array('transport' => $transportName),
array(
'class' => 'action-link',
'icon' => 'cancel',
'title' => sprintf($this->translate('Remove command transport %s'), $transportName)
)
); ?>
</td>
</tr>
<?php endforeach ?>
</tbody>
</table>
</div>
</div>
|