Split threshold alerts getters by entity

This commit is contained in:
emanuele-f 2019-07-08 10:45:12 +02:00
parent d77704fdd8
commit c417873961
3 changed files with 54 additions and 13 deletions

View file

@ -17,7 +17,7 @@ local ifname = nil
function setup(str_granularity)
print("alert.lua:setup("..str_granularity..") called\n")
ifname = interface.setActiveInterfaceId(tonumber(interface.getId()))
config_alerts = getConfiguredAlertsThresholds(ifname, str_granularity)
config_alerts = getHostsConfiguredAlertThresholds(ifname, str_granularity)
end
-- #################################################################