From c1a161b8935e19c6e6bf9c5115887400a34e9b74 Mon Sep 17 00:00:00 2001 From: Pablo Aragon Date: Tue, 2 Apr 2024 14:01:25 +0200 Subject: [PATCH] 13219-Add Agent and module name in Availability graph with Failover simple --- pandora_console/include/functions_reporting_html.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pandora_console/include/functions_reporting_html.php b/pandora_console/include/functions_reporting_html.php index c52e920e92..321cb77f69 100644 --- a/pandora_console/include/functions_reporting_html.php +++ b/pandora_console/include/functions_reporting_html.php @@ -6018,6 +6018,15 @@ function reporting_html_availability_graph($table, $item, $pdf=0) $total_values .= $sla_value; $count_total_charts++; $title = ''.__('Result').''; + + if (isset($chart['agent']) === true) { + $title .= '
'.$chart['agent']; + } + + if (isset($chart['module']) === true) { + $title .= '
'.$chart['module']; + } + $sla_value_text = "".$sla_value.''; $checks_resume_text = ''; $checks_resume_text .= $checks_resume;