diff --git a/pandora_console/include/help/en/help_alert_macros.php b/pandora_console/include/help/en/help_alert_macros.php index 10654b163b..fb67996e7a 100644 --- a/pandora_console/include/help/en/help_alert_macros.php +++ b/pandora_console/include/help/en/help_alert_macros.php @@ -42,6 +42,7 @@ Besides the defined module macros, the following macros are available:
  • _target_port_ : Port number of the target of the module.
  • _plugin_parameters_ : Plug-in Parameters of the module.
  • _groupcontact_ : Group contact information. Configured when the group is created.
  • +
  • _groupcustomid_: Group custom ID.
  • _groupother_ : Other information about the group. Configured when the group is created.
  • _name_tag_ : Names of the tags associated to the module.
  • _email_tag_ : Emails associated to the module tags.
  • diff --git a/pandora_console/include/help/es/help_alert_macros.php b/pandora_console/include/help/es/help_alert_macros.php index 04cc8b52f5..c673098c97 100644 --- a/pandora_console/include/help/es/help_alert_macros.php +++ b/pandora_console/include/help/es/help_alert_macros.php @@ -42,6 +42,7 @@ Además de las macros de módulo definidas, las siguientes macros están disponi
  • _target_ip_ : Dirección IP del objetivo del módulo.
  • _target_port_ : Puerto del objetivo del módulo.
  • _groupcontact_ : Información de contacto del grupo. Se configura al crear el grupo.
  • +
  • _groupcustomid_ : ID personalizado del grupo.
  • _groupother_ : Otra información sobre el grupo. Se configura al crear el grupo.
  • _name_tag_ : Nombre de los tags asociados al módulo.
  • _email_tag_ : Emails asociados a los tags de módulos.
  • diff --git a/pandora_console/include/help/ja/help_alert_macros.php b/pandora_console/include/help/ja/help_alert_macros.php index f86d7fe713..a6a203e192 100644 --- a/pandora_console/include/help/ja/help_alert_macros.php +++ b/pandora_console/include/help/ja/help_alert_macros.php @@ -44,6 +44,7 @@
  • _target_port_ : モジュールの対象ポート
  • _plugin_parameters_ : モジュールのプラグインパラメータ
  • _groupcontact_ : グループコンタクト情報。グループの作成時に設定されます。
  • +
  • _groupcustomid_: グループカスタムID
  • _groupother_ : グループに関するその他情報。グループの作成時に設定されます。
  • _name_tag_ : モジュールに関連付けられたタグの名前。
  • _email_tag_ : モジュールタグに関連付けられた Email。
  • diff --git a/pandora_server/lib/PandoraFMS/Core.pm b/pandora_server/lib/PandoraFMS/Core.pm index 87d26bf9ea..17cd011f77 100644 --- a/pandora_server/lib/PandoraFMS/Core.pm +++ b/pandora_server/lib/PandoraFMS/Core.pm @@ -851,6 +851,7 @@ sub pandora_execute_action ($$$$$$$$$;$) { _alert_critical_instructions_ => $alert->{'critical_instructions'}, _alert_warning_instructions_ => $alert->{'warning_instructions'}, _groupcontact_ => (defined ($group)) ? $group->{'contact'} : '', + _groupcustomid_ => (defined ($group)) ? $group->{'custom_id'} : '', _groupother_ => (defined ($group)) ? $group->{'other'} : '', _module_ => (defined ($module)) ? $module->{'nombre'} : '', _modulecustomid_ => (defined ($module)) ? $module->{'custom_id'} : '',