From 757ad1a8ec907d8a54d01ffbd979a58825c18e26 Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Tue, 8 Nov 2016 08:25:42 +0100 Subject: [PATCH] Added the rest of the *_ff_* module configuration options. --- pandora_agents/unix/pandora_agent | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pandora_agents/unix/pandora_agent b/pandora_agents/unix/pandora_agent index c84da031af..726acc3498 100644 --- a/pandora_agents/unix/pandora_agent +++ b/pandora_agents/unix/pandora_agent @@ -630,6 +630,16 @@ sub parse_conf_modules($) { # FF interval } elsif ($line =~ /^\s*module_ff_interval\s+(\S+)\s*$/) { $module->{'module_ff_interval'} = $1; + } elsif ($line =~ /^\s*module_min_ff_event_normal\s+(\S+)\s*$/) { + $module->{'min_ff_event_normal'} = $1; + } elsif ($line =~ /^\s*module_min_ff_event_warning\s+(\S+)\s*$/) { + $module->{'min_ff_event_warning'} = $1; + } elsif ($line =~ /^\s*module_min_ff_event_critical\s+(\S+)\s*$/) { + $module->{'min_ff_event_critical'} = $1; + } elsif ($line =~ /^\s*module_ff_timeout\s+(\S+)\s*$/) { + $module->{'ff_timeout'} = $1; + } elsif ($line =~ /^\s*module_each_ff\s+(\S+)\s*$/) { + $module->{'each_ff'} = $1; # Macros } elsif ($line =~ /^\s*module_macro(\S+)\s+(.*)\s*$/) { $module->{'macros'}{$1} = $2;