Merge branch 'ent-6719-mensaje-error-server-open' into 'develop'

Fix error

Closes pandora_enterprise#6719

See merge request artica/pandorafms!3623
This commit is contained in:
Daniel Rodriguez 2020-12-23 17:05:38 +01:00
commit 60f43dadb9
1 changed files with 3 additions and 1 deletions

View File

@ -5381,7 +5381,9 @@ sub pandora_self_monitoring ($$) {
get_db_value($dbh, "SELECT COUNT(*) FROM tagente_datos");
my $read_speed = int((time - $start_performance) * 1e6);
$xml_output .= enterprise_hook("elasticsearch_performance", [$pa_config, $dbh]);
my $elasticsearch_perfomance = enterprise_hook("elasticsearch_performance", [$pa_config, $dbh]);
$xml_output .= $elasticsearch_perfomance if defined($elasticsearch_perfomance);
$xml_output .=" <module>";
$xml_output .=" <name>Database Maintenance</name>";