This file is indexed.

/usr/share/icingaweb2/modules/monitoring/application/views/scripts/partials/object/host-header.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
<?php
use Icinga\Module\Monitoring\Object\Host;
/** @var Host $object */
?>
<table class="state-table host-detail-state">
    <tr>
        <td class="state-col state-<?= Host::getStateText($object->host_state) ?><?= $object->host_handled ? ' handled' : '' ?>">
            <div class="state-header"><?= Host::getStateText($object->host_state, true) ?></div>
            <div class="state-meta">
                <?= $this->timeSince($object->host_last_state_change) ?>
            <?php if ((int) $object->host_state > 0 && (int) $object->host_state_type === 0): ?>
                <div><?= $this->translate('Soft', 'Soft state') ?> <?= $object->host_attempt ?></div>
            <?php endif ?>
            </div>
        </td>
        <td>
            <?= $this->iconImage()->host($object) ?>
            <span class="selectable"><?= $this->escape($object->host_display_name) ?></span>
        <?php if ($object->host_display_name !== $object->host_name): ?>
            <span class="selectable host-meta">&#40;<?= $this->escape($object->host_name) ?>&#41;</span>
        <?php endif ?>
            <?= $this->render('partials/host/statusicons.phtml') ?>
        <?php if ($object->host_address6 && $object->host_address6 !== $object->host_name): ?>
            <div class="selectable host-meta" title="<?= $this->translate('IPv6 address') ?>">
                <?= $this->escape($object->host_address6) ?>
            </div>
        <?php endif ?>
        <?php if ($object->host_address && $object->host_address !== $object->host_name): ?>
            <div class="selectable host-meta" title="<?= $this->translate('IPv4 address') ?>">
                <?= $this->escape($object->host_address) ?>
            </div>
        <?php endif ?>
        </td>
    </tr>
</table>