/usr/share/icingaweb2/modules/monitoring/application/views/scripts/tactical/components/hostservicechecks.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 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | <div class="box hostservicechecks col-1-2">
<div class="box header">
<h2><?= $this->translate('Host and Service Checks'); ?></h2>
</div>
<div class="box contents">
<table>
<thead>
<tr>
<th><?= $this->translate('Hosts'); ?></th>
<th><?= $this->translate('Services'); ?></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<?php if ($this->statusSummary->hosts_active): ?>
<div class="box entry"><?= $this->qlink(
sprintf(
$this->translatePlural('%u Active', '%u Active', $this->statusSummary->hosts_active),
$this->statusSummary->hosts_active
),
'monitoring/list/hosts',
array('host_active_checks_enabled' => 1),
array('title' => sprintf(
$this->translatePlural(
'List %u actively checked host',
'List %u actively checked hosts',
$this->statusSummary->hosts_active
),
$this->statusSummary->hosts_active
))
); ?></div>
<?php endif ?>
<?php if ($this->statusSummary->hosts_passive): ?>
<div class="box entry"><?= $this->qlink(
sprintf(
$this->translatePlural('%d Passive', '%d Passive', $this->statusSummary->hosts_passive),
$this->statusSummary->hosts_passive
),
'monitoring/list/hosts',
array('host_active_checks_enabled' => 0, 'host_passive_checks_enabled' => 1),
array('title' => sprintf(
$this->translatePlural(
'List %u passively checked host',
'List %u passively checked hosts',
$this->statusSummary->hosts_passive
),
$this->statusSummary->hosts_passive
))
); ?></div>
<?php endif ?>
<?php if ($this->statusSummary->hosts_not_checked): ?>
<div class="box entry"><?= $this->qlink(
sprintf(
$this->translatePlural('%d Disabled', '%d Disabled', $this->statusSummary->hosts_not_checked),
$this->statusSummary->hosts_not_checked
),
'monitoring/list/hosts',
array('host_active_checks_enabled' => 0, 'host_passive_checks_enabled' => 0),
array('title' => sprintf(
$this->translatePlural(
'List %u host that is not being checked at all',
'List %u hosts which are not being checked at all',
$this->statusSummary->hosts_not_checked
),
$this->statusSummary->hosts_not_checked
))
); ?></div>
<?php endif ?>
</td>
<td>
<?php if ($this->statusSummary->services_active): ?>
<div class="box entry"><?= $this->qlink(
sprintf(
$this->translatePlural('%d Active', '%d Active', $this->statusSummary->services_active),
$this->statusSummary->services_active
),
'monitoring/list/services',
array('service_active_checks_enabled' => 1),
array('title' => sprintf(
$this->translatePlural(
'List %u actively checked service',
'List %u actively checked services',
$this->statusSummary->services_active
),
$this->statusSummary->services_active
))
); ?></div>
<?php endif ?>
<?php if ($this->statusSummary->services_passive): ?>
<div class="box entry"><?= $this->qlink(
sprintf(
$this->translatePlural('%d Passive', '%d Passive', $this->statusSummary->services_passive),
$this->statusSummary->services_passive
),
'monitoring/list/services',
array('service_active_checks_enabled' => 0, 'service_passive_checks_enabled' => 1),
array('title' => sprintf(
$this->translatePlural(
'List %u passively checked service',
'List %u passively checked services',
$this->statusSummary->services_passive
),
$this->statusSummary->services_passive
))
); ?></div>
<?php endif ?>
<?php if ($this->statusSummary->services_not_checked): ?>
<div class="box entry"><?= $this->qlink(
sprintf(
$this->translatePlural('%d Disabled', '%d Disabled', $this->statusSummary->services_not_checked),
$this->statusSummary->services_not_checked
),
'monitoring/list/services',
array('service_active_checks_enabled' => 0, 'service_passive_checks_enabled' => 0),
array('title' => sprintf(
$this->translatePlural(
'List %u service that is not being checked at all',
'List %u services which are not being checked at all',
$this->statusSummary->services_not_checked
),
$this->statusSummary->services_not_checked
))
); ?></div>
<?php endif ?>
</td>
</tr>
</tbody>
</table>
</div>
</div>
|