2009-12-21 Ramon Novoa <rnovoa@artica.es>

* util/pandora_xml_stress.pl: Properly read agent_interval
          configuration token.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2224 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
ramonn 2009-12-21 10:16:01 +00:00
parent dfca4a7591
commit a2ef87845b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-12-21 Ramon Novoa <rnovoa@artica.es>
* util/pandora_xml_stress.pl: Properly read agent_interval
configuration token.
2009-12-18 Sancho Lerena <slerena@artica.es>
* pandora_server.spec: Added xprobe2 dep (we made the xprobe2 rpm package

View File

@ -282,7 +282,7 @@ for (my $i = 0; $i < $Agents; $i += $step) {
my $time_now = strftime ("%Y-%m-%d %H:%M:%S", localtime ());
my $time_from = get_conf_token (\%conf, 'time_from', $time_now);
my $time_to = get_conf_token (\%conf, 'time_to', $time_now);
my $interval = get_conf_token (\%conf, 'interval', '300');
my $interval = get_conf_token (\%conf, 'agent_interval', '300');
log_message (\%conf, "Generating XML data files for $Agents agents from $time_from to $time_to interval $interval.");
# Wait for all threads to finish