mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Map alert severity to syslog messages
This commit is contained in:
parent
41163ac7f6
commit
db0633fc9f
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ function syslog.sendMessage(settings, notif, severity)
|
|||
else
|
||||
|
||||
local facility = 14 -- log alert
|
||||
local level = 1 -- alert (what about mapping severity?)
|
||||
local level = syslog_severity
|
||||
local prio = (facility * 8) + level
|
||||
local host_info = ntop.getHostInformation()
|
||||
local host = host_info.ip
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue