Improve Current Incidents Dashboard

Only show service incidents for services and hosts which are not in a downtime. Otherwise, it becomes very noisy and people tend to ignore it after some time.
This commit is contained in:
jabdoa2 2022-08-09 15:45:01 +02:00 committed by GitHub
parent 62d7ca8e97
commit 43442f7007
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -295,7 +295,7 @@ $section = $this->menuSection(N_('Reporting'), array(
$dashboard = $this->dashboard(N_('Current Incidents'), array('priority' => 50));
$dashboard->add(
N_('Service Problems'),
'monitoring/list/services?service_problem=1&limit=10&sort=service_severity',
'monitoring/list/services?service_problem=1&service_in_downtime!=1&limit=10&sort=service_severity',
100
);
$dashboard->add(
@ -305,7 +305,7 @@ $dashboard->add(
);
$dashboard->add(
N_('Host Problems'),
'monitoring/list/hosts?host_problem=1&sort=host_severity',
'monitoring/list/hosts?host_problem=1&host_in_downtime!=1&sort=host_severity',
120
);