Commit graph

13 commits

Author SHA1 Message Date
Simone Mainardi
9e99fa1403 Uses new in-memory queues for alert recipients (avoid Redis) 2020-09-08 18:36:18 +02:00
Simone Mainardi
28caa3ac33 Fixes alerts starving in per-recipient queues 2020-09-02 14:52:40 +02:00
Simone Mainardi
db068f7fb2 Limits syslog endpoints to at most 1
Implements #3853
2020-08-17 10:32:46 +02:00
Alfredo Cardigliano
a53f494d43 Fix syslog test return value 2020-07-31 11:29:40 +02:00
Simone Mainardi
946a41b773 Fixes syslog endpoint test 2020-07-30 18:57:54 +02:00
Alfredo Cardigliano
9453c058db Fixes: login, syslog plugin, more 2020-07-30 17:08:14 +02:00
Alfredo Cardigliano
e344508df1 Update runTest API in all endpoint plugins. Add action=test in edit_notification_recipient.lua 2020-07-28 15:52:41 +02:00
Alfredo Cardigliano
9acf38efa9 Port email, slack, syslog, webhook plugins to the new alert API 2020-07-28 10:28:35 +02:00
Alfredo Cardigliano
4412278bf7 Enable new recipient based notification for the syslog endpoint 2020-07-27 15:07:59 +02:00
Alfredo Cardigliano
9c87f83fa0 notification_recipients.processNotifications (wip) 2020-07-24 11:35:08 +02:00
Simone Mainardi
0cf69d9996 Adds slack, webhook and syslog notification endpoints 2020-06-18 12:55:12 +02:00
Simone Mainardi
e487427aab Refactors alert_utils and enterprise_alert_utils
Addresses #3720

Alerts Refactor: alert_utils as module

Alerts Refactor: notify_ntopng_start and notify_ntopng_stop

Alerts Refactor: processAlertNotifications

Alerts Refactor: checkStoreAlertsFromC

Alerts Refactor: formatAlertNotification

Alerts Refactor: notification_timestamp_rev

Alerts Refactor: formatAlertMessage

Alerts Refactor: getConfigsetAlertLink

Alerts Refactor: alertNotificationActionToLabel

Alerts Refactor: flushAlertsData

Alerts Refactor: disableAlertsGeneration

Alerts Refactor: newAlertsWorkingStatus and other

Alerts Refactor: drawAlerts

Alerts Refactor: drawAlertTables

Alerts Refactor: printAlertTables

Alerts Refactor: checkDeleteStoredAlerts

Alerts Refactor: getUnpagedAlertOptions

Alerts Refactor: getTabParameters

Alerts Refactor: getAlerts

Alerts Refactor: getNumAlerts

Alerts Refactor: performAlertsQuery

Alerts Refactor: sec2granularity

Alerts Refactor: granularity2id

Alerts Refactor: granularity2sec

Alerts Refactor: alertEngineLabel

Alerts Refactor: alertEngine

Alerts Refactor: alertEngineRaw

Alerts Refactor: alertTypeDescription

Alerts Refactor: alertType

Alerts Refactor: alertTypeLabel

Alerts Refactor: alertTypeRaw

Alerts Refactor: alertSeverity

Alerts Refactor: alertSeverityLabel

Alerts Refactor: alertSeverityRaw

Alerts Refactor: get_make_room_keys

Alerts Refactor: enterprise_alert_utils
2020-04-10 14:03:20 +02:00
emanuele-f
2047386431 Implement alert_endpoints and http_lint plugin extensions
Alert endpoints can now be loaded via custom plugins.
It's now possible to extend the http_lint parameters with custom parameters and validators.
2019-12-19 12:44:39 +01:00
Renamed from scripts/lua/modules/alert_endpoints/syslog.lua (Browse further)