minor fix
This commit is contained in:
parent
c42b8c57c9
commit
5c029effdb
|
@ -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…
Reference in New Issue