diff --git a/pandora_server/lib/PandoraFMS/Core.pm b/pandora_server/lib/PandoraFMS/Core.pm index 18db0d3b64..5fb8bf8ccb 100644 --- a/pandora_server/lib/PandoraFMS/Core.pm +++ b/pandora_server/lib/PandoraFMS/Core.pm @@ -6089,12 +6089,14 @@ sub pandora_thread_monitoring ($$$) { $xml_output .=" "; $xml_output .=" " . uc($ServerTypes[$server->{'_server_type'}]) . " Producer Status"; $xml_output .=" generic_proc"; + $xml_output .=" System"; $xml_output .=" " . (time() - $stats->{'tstamp'} < 2 * $pa_config->{"self_monitoring_interval"} ? 1 : 0) . ""; $xml_output .=" "; $xml_output .=" "; $xml_output .=" " . uc($ServerTypes[$server->{'_server_type'}]) . " Producer Processing Rate"; $xml_output .=" generic_data"; + $xml_output .=" Performance"; $xml_output .=" " . $stats->{'rate'} . ""; $xml_output .=" tasks/second"; $xml_output .=" "; @@ -6109,12 +6111,14 @@ sub pandora_thread_monitoring ($$$) { $xml_output .=" "; $xml_output .=" " . uc($ServerTypes[$server->{'_server_type'}]) . " Consumer #$idx Status"; $xml_output .=" generic_proc"; + $xml_output .=" System"; $xml_output .=" " . (time() - $stats->{'tstamp'} < 2 * $pa_config->{"self_monitoring_interval"} ? 1 : 0) . ""; $xml_output .=" "; $xml_output .=" "; $xml_output .=" " . uc($ServerTypes[$server->{'_server_type'}]) . " Consumer #$idx Processing Rate"; $xml_output .=" generic_data"; + $xml_output .=" Performance"; $xml_output .=" " . $stats->{'rate'} . ""; $xml_output .=" tasks/second"; $xml_output .=" ";