From 2bfc12934c66167097a6b76f6b7ef63de702dc18 Mon Sep 17 00:00:00 2001 From: vgilc Date: Mon, 11 Aug 2014 11:27:50 +0000 Subject: [PATCH] 2014-08-11 Vanessa Gil * godmode/agentes/agent_template.php: Fixed bug in FF threshold to apply a template module. Ticket #871. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10397 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/godmode/agentes/agent_template.php | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index fec5075877..64a2f3b92f 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2014-08-11 Vanessa Gil + + * godmode/agentes/agent_template.php: Fixed bug in FF + threshold to apply a template module. Ticket #871. + 2014-08-11 Vanessa Gil * godmode/agentes/agent_conf_gis.php: Altitude coordinate by diff --git a/pandora_console/godmode/agentes/agent_template.php b/pandora_console/godmode/agentes/agent_template.php index bbdfec82ef..3f973fd114 100644 --- a/pandora_console/godmode/agentes/agent_template.php +++ b/pandora_console/godmode/agentes/agent_template.php @@ -96,7 +96,12 @@ if (isset ($_POST["template_id"])) { 'warning_instructions' => $row2['warning_instructions'], 'unknown_instructions' => $row2['unknown_instructions'], 'id_category' => $row2['id_category'], - 'module_macros' => $row2['module_macros'] + 'module_macros' => $row2['module_macros'], + 'each_ff' => $row2['each_ff'], + 'min_ff_event' => $row2['min_ff_event'], + 'min_ff_event_normal' => $row2['min_ff_event_normal'], + 'min_ff_event_warning' => $row2['min_ff_event_warning'], + 'min_ff_event_critical' => $row2['min_ff_event_critical'] ); $name = $row2["name"];