/usr/share/icingaweb2/modules/monitoring/application/views/scripts/partials/host/statusicons.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 | <?php
$icons = array();
if (! $this->object->host_handled && $this->object->host_state > 0) {
$icons[] = $this->icon('attention-alt', $this->translate('Unhandled'));
}
if ($this->object->host_acknowledged && !$this->object->host_in_downtime) {
$icons[] = $this->icon('ok', $this->translate('Acknowledged'));
}
if (! $this->object->host_notifications_enabled) {
$icons[] = $this->icon('bell-off-empty', $this->translate('Notifications Disabled'));
}
if ($this->object->host_in_downtime) {
$icons[] = $this->icon('plug', $this->translate('In Downtime'));
}
if (! $this->object->host_active_checks_enabled) {
if ($this->object->host_passive_checks_enabled) {
$icons[] = $this->icon('eye-off', $this->translate('Active Checks Disabled'));
} else {
$icons[] = $this->icon('eye-off', $this->translate('Active And Passive Checks Disabled'));
}
}
?><?= implode("\n", $icons); ?>
|