mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
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:
parent
dfca4a7591
commit
a2ef87845b
@ -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>
|
2009-12-18 Sancho Lerena <slerena@artica.es>
|
||||||
|
|
||||||
* pandora_server.spec: Added xprobe2 dep (we made the xprobe2 rpm package
|
* pandora_server.spec: Added xprobe2 dep (we made the xprobe2 rpm package
|
||||||
|
@ -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_now = strftime ("%Y-%m-%d %H:%M:%S", localtime ());
|
||||||
my $time_from = get_conf_token (\%conf, 'time_from', $time_now);
|
my $time_from = get_conf_token (\%conf, 'time_from', $time_now);
|
||||||
my $time_to = get_conf_token (\%conf, 'time_to', $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.");
|
log_message (\%conf, "Generating XML data files for $Agents agents from $time_from to $time_to interval $interval.");
|
||||||
|
|
||||||
# Wait for all threads to finish
|
# Wait for all threads to finish
|
||||||
|
Loading…
x
Reference in New Issue
Block a user