2014-08-27 Hirofumi Kosaka <kosaka@rworks.jp>

* lib/PandoraFMS/PluginServer.pm: Fixed that _plugin_param2_
	and _plugin_param2_desc_ (and so on) were not replaced with
	the corresponding values.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10460 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
hkosaka 2014-08-27 02:36:02 +00:00
parent a281b0bd9e
commit a44b72ec25
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2014-08-27 Hirofumi Kosaka <kosaka@rworks.jp>
* lib/PandoraFMS/PluginServer.pm: Fixed that _plugin_param2_
and _plugin_param2_desc_ (and so on) were not replaced with
the corresponding values.
2014-08-25 Vanessa Gil <vanessa.gil@artica.es> 2014-08-25 Vanessa Gil <vanessa.gil@artica.es>
* util/pandora_db.pl: Fixed problem * util/pandora_db.pl: Fixed problem

View File

@ -193,7 +193,7 @@ sub data_consumer ($$) {
# build 'plugin module' dependent alert macros # build 'plugin module' dependent alert macros
my $field_number = $macro_field; my $field_number = $macro_field;
$field_number = s/.*([0-9]+).*/$1/; $field_number =~ s/.*([0-9]+).*/$1/;
my $name_for_desc = "_plugin_param${field_number}_desc_"; my $name_for_desc = "_plugin_param${field_number}_desc_";
my $name_for_value = "_plugin_param${field_number}_"; my $name_for_value = "_plugin_param${field_number}_";