mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Enable new alert API/configuration
This commit is contained in:
parent
9acf38efa9
commit
2c6987db3c
3 changed files with 24 additions and 105 deletions
|
|
@ -2343,14 +2343,12 @@ function alert_utils.processAlertNotifications(now, periodic_frequency, force_ex
|
|||
json_message = json.encode(message)
|
||||
end
|
||||
|
||||
alert_endpoints.dispatchNotification(message, json_message)
|
||||
-- notification_recipients.dispatchNotification(message, json_message)
|
||||
notification_recipients.dispatchNotification(message, json_message)
|
||||
|
||||
::continue::
|
||||
end
|
||||
|
||||
alert_endpoints.processNotifications(now, periodic_frequency)
|
||||
-- notification_recipients.processNotifications(now, periodic_frequency)
|
||||
notification_recipients.processNotifications(now, periodic_frequency)
|
||||
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue