mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Fix correlated alerts criticity rules
This commit is contained in:
parent
300e1c4581
commit
b4adb079a9
@ -1043,7 +1043,7 @@ sub get_db_rows_node ($$$;@) {
|
|||||||
$pa_config->{'dbuser'},
|
$pa_config->{'dbuser'},
|
||||||
$pa_config->{'dbpass'});
|
$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);
|
logger ($pa_config, "[ERROR] ".$msg, 3);
|
||||||
PandoraFMS::Core::pandora_event ($pa_config, $msg, 0, 0, 4, 0, 0, 'error', 0, $dbh);
|
PandoraFMS::Core::pandora_event ($pa_config, $msg, 0, 0, 4, 0, 0, 'error', 0, $dbh);
|
||||||
db_disconnect($dbh) if defined($dbh);
|
db_disconnect($dbh) if defined($dbh);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user