Added new macro

This commit is contained in:
Arturo Gonzalez 2017-08-03 11:49:56 +02:00
parent 5860d29e37
commit cccbc8ff5b
1 changed files with 2 additions and 1 deletions
pandora_server/lib/PandoraFMS

View File

@ -1010,7 +1010,8 @@ sub pandora_execute_action ($$$$$$$$$;$) {
_modulestatus_ => undef,
_moduletags_ => undef,
'_moduledata_\S+_' => undef,
_id_agent_ => (defined ($module)) ? $module->{'id_agente'} : '',
_id_agent_ => (defined ($module)) ? $module->{'id_agente'} : '',
_id_module_ => (defined ($module)) ? $module->{'id_agente_modulo'} : '',
_id_group_ => (defined ($group)) ? $group->{'id_grupo'} : '',
_id_alert_ => (defined ($alert->{'id_template_module'})) ? $alert->{'id_template_module'} : '',
_interval_ => (defined ($module) && $module->{'module_interval'} != 0) ? $module->{'module_interval'} : (defined ($agent)) ? $agent->{'intervalo'} : '',