From 43442f70074617a8e0200ef8541629a576b8bbef Mon Sep 17 00:00:00 2001 From: jabdoa2 Date: Tue, 9 Aug 2022 15:45:01 +0200 Subject: [PATCH] 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. --- modules/monitoring/configuration.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/monitoring/configuration.php b/modules/monitoring/configuration.php index 663db93f57..a9cf671e41 100644 --- a/modules/monitoring/configuration.php +++ b/modules/monitoring/configuration.php @@ -295,7 +295,7 @@ $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( 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 );