2008-09-15 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Use data timestamp when available (instead of agent timestamp). git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1095 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
668689cbe4
commit
868ac71def
|
@ -1,3 +1,8 @@
|
|||
2008-09-15 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* bin/pandora_server: Use data timestamp when available (instead of
|
||||
agent timestamp).
|
||||
|
||||
2008-09-08 Raul Mateos <raulofpandora@gmail.com>
|
||||
|
||||
* util/pandora_db.pl: Updated year and URL.
|
||||
|
|
|
@ -398,6 +398,10 @@ sub process_datafile {
|
|||
}
|
||||
# Single data
|
||||
else {
|
||||
# Data has its own timestamp
|
||||
if (defined $part->{timestamp}) {
|
||||
$timestamp = $part->{timestamp}->[0];
|
||||
}
|
||||
process_module_data($pa_config, $timestamp, $agent_name, $tipo_modulo, $part, $dbh);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue