mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Adds formatted output of endpoint recipients
This commit is contained in:
parent
80b983ac39
commit
8724ebdd9f
6 changed files with 43 additions and 0 deletions
|
|
@ -37,6 +37,13 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
-- @brief Returns the desided formatted output for recipient params
|
||||
function syslog.format_recipient_params(recipient_params)
|
||||
return string.format("(%s)", syslog.name)
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
function syslog.sendMessage(notif, severity, syslog_format)
|
||||
local syslog_severity = alert_consts.alertLevelToSyslogLevel(severity)
|
||||
local msg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue