Now, xml_stress with get_and_send_agent_conf enabled puts the
test modules in the remote configuration
This commit is contained in:
parent
b2af250070
commit
19307d863e
|
@ -821,17 +821,17 @@ sub get_and_send_agent_conf(\@\%\@\%) {
|
||||||
|
|
||||||
# Create the block of modules.
|
# Create the block of modules.
|
||||||
foreach my $module (@{$modules}) {
|
foreach my $module (@{$modules}) {
|
||||||
|
|
||||||
|
|
||||||
$temp = $temp . "
|
$temp = $temp . "
|
||||||
module_begin
|
module_begin";
|
||||||
module_name " . $module->{'module_name'} . "
|
while ( my ($key, $value) = each %$module ) {
|
||||||
module_type " . $module->{'module_type'} . "
|
$temp = $temp . "\n$key $value";
|
||||||
module_exec " . $module->{'module_exec'} . "
|
}
|
||||||
module_min " . $module->{'module_min'} . "
|
$temp = $temp . "
|
||||||
module_max " . $module->{'module_max'} . "
|
module_end\n";
|
||||||
module_end
|
|
||||||
";
|
|
||||||
}
|
}
|
||||||
|
print ($temp);
|
||||||
my $default_conf =
|
my $default_conf =
|
||||||
"# General Parameters
|
"# General Parameters
|
||||||
# ==================
|
# ==================
|
||||||
|
|
Loading…
Reference in New Issue