From a365f85d654ab99e1c5af1b025e4b85777a0b53f Mon Sep 17 00:00:00 2001 From: koichirok Date: Fri, 14 Oct 2011 04:07:02 +0000 Subject: [PATCH] 2011-10-14 Koichiro Kikuchi * pandora_server/lib/PandoraFMS/Core.pm: Added _plugin_parameters_ macro to alerts. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5064 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 4 ++++ pandora_server/lib/PandoraFMS/Core.pm | 1 + 2 files changed, 5 insertions(+) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 7ff1558898..f4e7e13df7 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,7 @@ +2011-10-14 Koichiro Kikuchi + + * lib/PandoraFMS/Core.pm: Added _plugin_parameters_ macro to alerts. + 2011-10-11 Junichi Satoh * FreeBSD/pandora_server.conf: Synchronized with the generic diff --git a/pandora_server/lib/PandoraFMS/Core.pm b/pandora_server/lib/PandoraFMS/Core.pm index 4e828923c3..bbc142f5f3 100644 --- a/pandora_server/lib/PandoraFMS/Core.pm +++ b/pandora_server/lib/PandoraFMS/Core.pm @@ -736,6 +736,7 @@ sub pandora_execute_action ($$$$$$$$$;$) { _target_ip_ => (defined ($module)) ? $module->{'ip_target'} : '', _target_port_ => (defined ($module)) ? $module->{'tcp_port'} : '', _policy_ => (defined ($module)) ? enterprise_hook('get_policy_name', [$dbh, $module->{'id_policy_module'}]) : '', + _plugin_parameters_ => (defined ($module)) ? $module->{'plugin_parameter'} : '', ); if ((defined ($extra_macros)) && (ref($extra_macros) eq "HASH")) {