Remove flapping icons, that's already handled
This commit is contained in:
parent
f929b15651
commit
717d80807e
|
@ -14,8 +14,6 @@ use Icinga\Module\Monitoring\Object\Service;
|
||||||
($isService) ? $o->service_acknowledged : $o->host_acknowledged;
|
($isService) ? $o->service_acknowledged : $o->host_acknowledged;
|
||||||
$obj->in_downtime =
|
$obj->in_downtime =
|
||||||
($isService) ? $o->in_downtime : $o->host_in_downtime;
|
($isService) ? $o->in_downtime : $o->host_in_downtime;
|
||||||
$obj->is_flapping =
|
|
||||||
($isService) ? $o->is_flapping : $o->host_is_flapping;
|
|
||||||
$obj->notifications_enabled =
|
$obj->notifications_enabled =
|
||||||
($isService) ? $o->notifications_enabled : $o->service_notifications_enabled;
|
($isService) ? $o->notifications_enabled : $o->service_notifications_enabled;
|
||||||
$obj->active_checks_enabled =
|
$obj->active_checks_enabled =
|
||||||
|
@ -32,10 +30,6 @@ if ($obj->acknowledged && ! $obj->in_downtime) {
|
||||||
$i[] = $this->icon('acknowledgement.png', 'Acknowledged');
|
$i[] = $this->icon('acknowledgement.png', 'Acknowledged');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($obj->is_flapping) {
|
|
||||||
$i[] = $this->icon('flapping.png', 'Flapping');
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!$obj->notifications_enabled) {
|
if (!$obj->notifications_enabled) {
|
||||||
$i[] = $this->icon('notification_disabled.png', 'Notifications Disabled');
|
$i[] = $this->icon('notification_disabled.png', 'Notifications Disabled');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue