Fix correlated alerts criticity rules

This commit is contained in:
Calvo 2023-05-05 14:32:49 +02:00
parent 300e1c4581
commit b4adb079a9
1 changed files with 1 additions and 1 deletions

View File

@ -1043,7 +1043,7 @@ sub get_db_rows_node ($$$;@) {
$pa_config->{'dbuser'},
$pa_config->{'dbpass'});
my $msg = "Cannot connect to node database: ".$node->{'dbhost'}.": ".$@;
my $msg = "Cannot connect to node database: ".$node->{'dbhost'}.". Please check node credentials.";
logger ($pa_config, "[ERROR] ".$msg, 3);
PandoraFMS::Core::pandora_event ($pa_config, $msg, 0, 0, 4, 0, 0, 'error', 0, $dbh);
db_disconnect($dbh) if defined($dbh);