From 7b7714589b8c2262414f57dbb9a6a8462d21d780 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Wed, 18 Nov 2015 15:19:35 +0100 Subject: [PATCH] Add new token to limit events to replicate in metaconsole. Tiquet: #2979 --- pandora_server/lib/PandoraFMS/Config.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pandora_server/lib/PandoraFMS/Config.pm b/pandora_server/lib/PandoraFMS/Config.pm index c454836802..241ed7e3c4 100644 --- a/pandora_server/lib/PandoraFMS/Config.pm +++ b/pandora_server/lib/PandoraFMS/Config.pm @@ -162,6 +162,9 @@ sub pandora_get_sharedconfig ($$) { # Metaconsole agent cache. $pa_config->{"metaconsole_agent_cache"} = pandora_get_tconfig_token ($dbh, 'metaconsole_agent_cache', 0); + + #Limit of events replicate in metaconsole + $pa_config->{'replication_limit'} = pandora_get_tconfig_token ($dbh, 'replication_limit', 1000); } ##########################################################################