mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 09:20:10 +00:00
Renames alert_config to user_script_config
This commit is contained in:
parent
61ab06fcd7
commit
3144bc8bdf
12 changed files with 16 additions and 16 deletions
|
|
@ -105,7 +105,7 @@ function script.hooks.min(info)
|
|||
local bytes = host.getBytes()
|
||||
local tot_bytes = bytes["bytes.sent"] + bytes["bytes.rcvd"]
|
||||
|
||||
if(tot_bytes > info.alert_config.max_bytes) then
|
||||
if(tot_bytes > info.user_script_config.max_bytes) then
|
||||
-- Trigger alert
|
||||
alerts_api.trigger(info.alert_entity, alert_info)
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue