mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 09:20:10 +00:00
Refactors alrt builders into creators
Refactors builders into creators: calls
This commit is contained in:
parent
00c5e9f909
commit
290175b16f
75 changed files with 158 additions and 158 deletions
|
|
@ -35,7 +35,7 @@ local function request_reply_ratio(params)
|
|||
local requests = alerts_api.host_delta_val(to_check_key .. "_requests", params.granularity, values[1], skip_first)
|
||||
local replies = alerts_api.host_delta_val(to_check_key .. "_replies", params.granularity, values[2], skip_first)
|
||||
local ratio = (replies * 100) / (requests+1)
|
||||
local req_repl_type = alert_consts.alert_types.alert_slow_purge.builder(
|
||||
local req_repl_type = alert_consts.alert_types.alert_slow_purge.create(
|
||||
alert_consts.alert_severities.warning,
|
||||
params.granularity,
|
||||
key,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue