mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Moved notification formatting function (#7781)
This commit is contained in:
parent
ba330e8e0d
commit
144de3a7e6
9 changed files with 75 additions and 35 deletions
|
|
@ -104,7 +104,7 @@ function syslog.sendMessage(settings, notif, severity)
|
|||
end
|
||||
else -- syslog_format == "plaintext" or "plaintextrfc"
|
||||
-- prepare a plain text message
|
||||
msg = alert_utils.formatAlertNotification(json.decode(notif), {
|
||||
msg = format_utils.formatMessage(json.decode(notif), {
|
||||
nohtml = true,
|
||||
show_severity = true,
|
||||
show_entity = true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue