mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 02:16:39 +00:00
Split threshold alerts getters by entity
This commit is contained in:
parent
d77704fdd8
commit
c417873961
3 changed files with 54 additions and 13 deletions
|
|
@ -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
|
||||
|
||||
-- #################################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue