diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 8b0024b672..f5f51cfa98 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,7 @@ +2010-01-20 Ramon Novoa + + * util/pandora_xml_stress.pl: Fixed the script. Was not working. + 2010-01-18 Pablo de la ConcepciĆ³n * lib/PandoraFMS/Core.pm: Modified distance_moved function to calculate diff --git a/pandora_server/util/pandora_xml_stress.pl b/pandora_server/util/pandora_xml_stress.pl index 8ec6ed1d3b..0908b2ef88 100755 --- a/pandora_server/util/pandora_xml_stress.pl +++ b/pandora_server/util/pandora_xml_stress.pl @@ -89,8 +89,8 @@ sub generate_xml_files ($$$$$) { my $os_name = get_conf_token ($conf, 'os_name', 'Linux'); my $os_version = get_conf_token ($conf, 'os_version', '2.6'); my $temporal = get_conf_token ($conf, 'temporal', '/tmp'); - my $startup_delay = get_conf_token ($conf, 'startup_delay', '5') - my $ag_timezone_offset = get_conf_token ($conf, 'timezone_offset', '0') + my $startup_delay = get_conf_token ($conf, 'startup_delay', '5'); + my $ag_timezone_offset = get_conf_token ($conf, 'timezone_offset', '0'); my $latitude_base = get_conf_token ($conf, 'latitude_base', '40.42056'); my $longitude_base = get_conf_token ($conf, 'longitude_base', '-3.708187'); my $altitude_base = get_conf_token ($conf, 'altitude_base', '0'); @@ -123,7 +123,7 @@ sub generate_xml_files ($$$$$) { # XML header my $timestamp = strftime ("%Y-%m-%d %H:%M:%S", localtime ($utimestamp)); my $xml_data = "\n"; - $xml_data .= "\n"; + $xml_data .= "\n"; foreach my $module (@{$modules}) { # Skip unnamed modules