mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Split flow status definitions in multiple files
This commit is contained in:
parent
b390fddcf2
commit
b217909966
46 changed files with 741 additions and 386 deletions
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
require "lua_utils"
|
||||
local json = require "dkjson"
|
||||
local alert_consts = require "alert_consts"
|
||||
|
||||
local syslog = {}
|
||||
|
||||
|
|
@ -40,7 +41,7 @@ function syslog.dequeueAlerts(queue)
|
|||
|
||||
-- Most recent notifications first
|
||||
for _, notif in pairsByValues(notifications, notification_timestamp_rev) do
|
||||
local syslog_severity = alertLevelToSyslogLevel(severity)
|
||||
local syslog_severity = alert_consts.alertLevelToSyslogLevel(severity)
|
||||
|
||||
local msg
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue