mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Implement support for alert filters using a dialog (WIP)
This commit is contained in:
parent
bc6008be28
commit
064c20db29
13 changed files with 362 additions and 100 deletions
|
|
@ -525,6 +525,12 @@ function alert_utils.notification_timestamp_rev(a, b)
|
|||
return (a.tstamp > b.tstamp)
|
||||
end
|
||||
|
||||
function alert_utils.severity_rev(a, b)
|
||||
return (a.severity_id > b.severity_id)
|
||||
end
|
||||
|
||||
-- #################################
|
||||
--
|
||||
-- Returns a summary of the alert as readable text
|
||||
function alert_utils.formatAlertNotification(notif, options)
|
||||
local defaults = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue