mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +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
|
|
@ -91,7 +91,7 @@ function script.hooks.min(info)
|
|||
-- Calculate the delta bytes wrt the previous hook run
|
||||
bytes_delta = alerts_api.interface_delta_val(script.key, info.granularity, info.entity_info["ndpi"]["HTTP"]["bytes.sent"])
|
||||
|
||||
if(bytes_delta > info.alert_config.max_sent_http_bytes) then
|
||||
if(bytes_delta > info.user_script_config.max_sent_http_bytes) then
|
||||
exceeded = true
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue