Reworked alerts

This commit is contained in:
Luca 2019-07-07 15:09:24 +02:00
parent fe8a586e6a
commit 76ef993dfe
13 changed files with 391 additions and 38 deletions

View file

@ -2088,11 +2088,11 @@ end
-- #################################
local function getConfiguredAlertsThresholds(ifname, granularity)
function getConfiguredAlertsThresholds(ifname, granularity)
local thresholds_key = get_alerts_hash_name(granularity, ifname)
local thresholds_config = {}
local res = {}
-- Handle the global configuration
local global_conf_keys = ntop.getKeysCache(getGlobalAlertsConfigurationHash(granularity, "*", "*")) or {}