mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Fixed problems with created modules synthetic. Tiquet: #3034
(cherry picked from commit fcfd6e4070dba59d8c5a9a297832a241b28b2fa7)
This commit is contained in:
parent
c50e578ef9
commit
d66db9212b
@ -3310,7 +3310,7 @@ sub cli_create_synthetic() {
|
|||||||
my $agent_name = @ARGV[4];
|
my $agent_name = @ARGV[4];
|
||||||
my @module_data = @ARGV[5..$#ARGV];
|
my @module_data = @ARGV[5..$#ARGV];
|
||||||
my $module;
|
my $module;
|
||||||
my (@filterdata,@data_module,$module_data);
|
my (@filterdata,@data_module);
|
||||||
|
|
||||||
if ($synthetic_type ne 'arithmetic' && $synthetic_type ne 'average') {
|
if ($synthetic_type ne 'arithmetic' && $synthetic_type ne 'average') {
|
||||||
print("[ERROR] Type of syntethic module doesn't exists \n\n");
|
print("[ERROR] Type of syntethic module doesn't exists \n\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user