mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 01:10:10 +00:00
Fixes req/repl alert triggered as slow purge
This commit is contained in:
parent
a07c093e1e
commit
583bcd2d0c
1 changed files with 1 additions and 1 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.create(
|
||||
local req_repl_type = alert_consts.alert_types.alert_request_reply_ratio.create(
|
||||
alert_consts.alert_severities.warning,
|
||||
params.granularity,
|
||||
key,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue