mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Migrates alerts to an object-oriented implementation
This commit is contained in:
parent
f412783c12
commit
101c53336e
30 changed files with 970 additions and 910 deletions
|
|
@ -34,7 +34,7 @@ end
|
|||
-- @param alert_severity A severity as defined in `alert_severities`
|
||||
-- @param host_pool A string with the host pool id
|
||||
-- @return A table with the alert built
|
||||
function alert_creators.createPoolConnectionDisconnection(alert_severity, host_pool)
|
||||
function alert_creators.createPoolConnectionDisconnection(host_pool)
|
||||
local host_pools = require "host_pools"
|
||||
-- Instantiate host pools
|
||||
local host_pools_instance = host_pools:create()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue