mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
Merge branch '194-async-recovery' into 'develop'
I fixed the bug about async_recovery. Closes #194 See merge request artica/pandorafms!1493
This commit is contained in:
commit
8cb5dea3d9
@ -4881,7 +4881,7 @@ sub pandora_module_unknown ($$) {
|
||||
|
||||
# Set the module state to normal
|
||||
logger ($pa_config, "Module " . $module->{'nombre'} . " is going to NORMAL", 10);
|
||||
db_do ($dbh, 'UPDATE tagente_estado SET last_status = 0, estado = 0 WHERE id_agente_estado = ?', $module->{'id_agente_estado'});
|
||||
db_do ($dbh, 'UPDATE tagente_estado SET last_status = 0, estado = 0, known_status = 0, last_known_status = 0 WHERE id_agente_estado = ?', $module->{'id_agente_estado'});
|
||||
|
||||
# Get agent information
|
||||
my $agent = get_db_single_row ($dbh, 'SELECT *
|
||||
|
Loading…
x
Reference in New Issue
Block a user