From 999fcfef3a37676aaa65d708470afc5dd0203341 Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Mon, 21 Dec 2009 10:16:01 +0000 Subject: [PATCH] 2009-12-21 Ramon Novoa * 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 --- pandora_server/ChangeLog | 5 +++++ pandora_server/util/pandora_xml_stress.pl | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 2b3f311444..2b4f93a47d 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2009-12-21 Ramon Novoa + + * util/pandora_xml_stress.pl: Properly read agent_interval + configuration token. + 2009-12-18 Sancho Lerena * pandora_server.spec: Added xprobe2 dep (we made the xprobe2 rpm package diff --git a/pandora_server/util/pandora_xml_stress.pl b/pandora_server/util/pandora_xml_stress.pl index ab3d1312f9..7a409199ba 100755 --- a/pandora_server/util/pandora_xml_stress.pl +++ b/pandora_server/util/pandora_xml_stress.pl @@ -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