mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-04 18:00:10 +00:00
Rework host threshold alerts definition
This commit is contained in:
parent
328c8a7084
commit
b16136f5b4
13 changed files with 125 additions and 124 deletions
|
|
@ -39,7 +39,13 @@ function checkHostAlerts(granularity)
|
|||
local config = host_alert[check.key]
|
||||
|
||||
if config then
|
||||
check.check_function(granularity, host_key, info, config)
|
||||
check.check_function({
|
||||
granularity = granularity,
|
||||
alert_entity = alerts_api.hostAlertEntity(host_key),
|
||||
entity_info = info,
|
||||
alert_config = config,
|
||||
check_module = check,
|
||||
})
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue