2013-01-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* lib/PandoraFMS/Core.pm: Fixed _id_alert_ macro in events.
	
	Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7434 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2013-01-11 12:20:16 +00:00
parent b9a964191a
commit 8c049f5590
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2013-01-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* lib/PandoraFMS/Core.pm: Fixed _id_alert_ macro in events.
Merged from branches.
2013-01-10 Dario Rodriguez <dario.rodriguez@artica.es>
* lib/PandoraFMS/PluginServer.pm: Added log traces for plugin error

View File

@ -877,7 +877,7 @@ sub pandora_execute_action ($$$$$$$$$;$) {
_modulestatus_ => (defined ($module)) ? get_agentmodule_status($pa_config, $dbh, $module->{'id_agente_modulo'}) : '',
_moduletags_ => (defined ($module)) ? pandora_get_module_tags ($pa_config, $dbh, $module->{'id_agente_modulo'}) : '',
_id_agent_ => (defined ($module)) ? $module->{'id_agente'} : '',
_id_alert_ => $alert->{'id'},
_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'} : '',
_target_ip_ => (defined ($module)) ? $module->{'ip_target'} : '',
_target_port_ => (defined ($module)) ? $module->{'tcp_port'} : '',