mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Slack endpoint improvements
This commit is contained in:
parent
3e1240015d
commit
8fc8566f2a
4 changed files with 3 additions and 7 deletions
|
|
@ -124,7 +124,7 @@ function slack.dequeueRecipientAlerts(recipient, budget, high_priority)
|
|||
|
||||
-- Most recent notifications first
|
||||
for _, notif in pairsByValues(notifications, alert_utils.notification_timestamp_rev) do
|
||||
local msg = alert_utils.formatAlertNotification(notif, {nohtml=true, show_severity=false})
|
||||
local msg = alert_utils.formatAlertNotification(notif, {nohtml=true, show_severity=false, show_entity=true})
|
||||
table.insert(messages, msg)
|
||||
|
||||
if #messages >= MAX_ALERTS_PER_MESSAGE then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue