mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Merge branch 'ent-8871-GUARDIA-13422-Problema-con-timestamp-del-agente-datalist' into 'develop'
minor fix See merge request artica/pandorafms!4847
This commit is contained in:
commit
28cc684c18
@ -583,6 +583,11 @@ sub process_xml_data ($$$$$) {
|
|||||||
|
|
||||||
$module_data->{'data'} = $data->{'value'};
|
$module_data->{'data'} = $data->{'value'};
|
||||||
my $data_timestamp = get_tag_value ($data, 'timestamp', $timestamp);
|
my $data_timestamp = get_tag_value ($data, 'timestamp', $timestamp);
|
||||||
|
|
||||||
|
if ($pa_config->{'use_xml_timestamp'} eq '0' && defined($timestamp)) {
|
||||||
|
$data_timestamp = $timestamp;
|
||||||
|
}
|
||||||
|
|
||||||
process_module_data ($pa_config, $module_data, $server_id, $agent, $module_name,
|
process_module_data ($pa_config, $module_data, $server_id, $agent, $module_name,
|
||||||
$module_type, $interval, $data_timestamp, $dbh, $new_agent);
|
$module_type, $interval, $data_timestamp, $dbh, $new_agent);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user