mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Refactors alert_severities into an independend Lua module
This commit is contained in:
parent
e683509dec
commit
b3dc39c641
109 changed files with 317 additions and 264 deletions
|
|
@ -7,7 +7,7 @@ local alert_keys = require "alert_keys"
|
|||
-- #######################################################
|
||||
|
||||
-- @brief Prepare an alert table used to generate the alert
|
||||
-- @param alert_severity A severity as defined in `alert_consts.alert_severities`
|
||||
-- @param alert_severity A severity as defined in `alert_severities`
|
||||
-- @param alert_granularity A granularity as defined in `alert_consts.alerts_granularities`
|
||||
-- @param drops The number of dropped packets
|
||||
-- @param drop_perc The percentage of dropped packets with reference to the total number of packets (recevied + dropped)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue