Merge branch 'ent-7001-open-modulos-host-latency-no-reportan-datos' into 'develop'
Fixed latency modules See merge request artica/pandorafms!3813
This commit is contained in:
commit
6dee7a68db
|
@ -496,9 +496,11 @@ sub exec_network_module ($$$$) {
|
|||
}
|
||||
elsif ($id_tipo_modulo == 7){ # ICMP (data for latency in ms)
|
||||
$module_data = pandora_ping_latency ($pa_config, $ip_target, $timeout, $retries);
|
||||
|
||||
|
||||
if (defined($module_data)) {
|
||||
$module_result = 1; # Unsuccessful
|
||||
$module_result = 0; # Successful
|
||||
} else {
|
||||
$module_result = 1; # Unsuccessful: Cannot reach target.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue