mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Add mapScoreToSeverity call
This commit is contained in:
parent
4cb19a1be8
commit
24321cba24
15 changed files with 26 additions and 30 deletions
|
|
@ -165,7 +165,7 @@ function syslog.dequeueRecipientAlerts(recipient, budget, high_priority)
|
|||
|
||||
-- Most recent notifications first
|
||||
for _, notification in ipairs(notifications) do
|
||||
syslog.sendMessage(settings, notification.alert, notification.severity)
|
||||
syslog.sendMessage(settings, notification.alert, ntop.mapScoreToSeverity(notification.score))
|
||||
end
|
||||
|
||||
return {success = true, more_available = true}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue