mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
Added function to set alert_type_parameters
This commit is contained in:
parent
9416884036
commit
48bd1b017b
1 changed files with 10 additions and 0 deletions
|
|
@ -51,6 +51,16 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function Alert:set_alert_type_params(alert_type_params)
|
||||
if (alert_type_params) and (table.len(alert_type_params) > 0) then
|
||||
self.alert_type_params = alert_type_params
|
||||
return true
|
||||
end
|
||||
return false
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
function Alert:_build_type_info()
|
||||
local type_info = {
|
||||
-- Keys necessary for the engine
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue