Commit graph

17 commits

Author SHA1 Message Date
Alfredo Cardigliano
88a2c9c36f Email Notification improvements: add smtps support, add username/password configuration 2019-11-22 11:34:22 +01:00
emanuele-f
8b6c3cb80f Fix slack alert endpoint error 2019-11-05 16:39:28 +01:00
emanuele-f
10aa5542f8 Rework alertEntity functions to avoid modules circular dependencies
Fixes #2975
2019-10-23 13:01:57 +02:00
emanuele-f
873b96c20a Split alert types definitions in multiple files 2019-10-16 12:04:07 +02:00
emanuele-f
b217909966 Split flow status definitions in multiple files 2019-10-15 17:28:45 +02:00
Alfredo Cardigliano
40bf86a81d Fix alert_endpoints/{syslog.lua,slack.lua} error 'attempt to index a nil value' 2019-09-04 12:57:57 +02:00
emanuele-f
ee9e5ec9de Unify alerts and alerts notifications format 2019-07-30 18:12:58 +02:00
emanuele-f
a9d3c78587 Alerts changes
NOTE: database schema changed. Existing alerts will be lost.

- Unified engaged and closed tables
- Simplified hosts engaged alert counters handling: periodically set by lua
- Removed alert engine and replaced with alert periodicity
- Now engage is implicitly derived from the alert end timestamp and periodicity
- New alerts_api.lua to easily emit alerts
- Removed past alerts counter aggregation by hash
- Alert notifications for non-flow alerts are now removed from C and triggered by lua
2019-06-28 10:47:17 +02:00
Alfredo Cardigliano
056a950863 Webhook endpoint alerts cleanup on connection failures 2019-01-08 18:06:54 +01:00
Alfredo Cardigliano
98adc8a79f Added timeout support to postHTTPJsonData, ntop.postHTTPJsonData now accepts an optional timeout arg, added webhook timeout check 2019-01-07 23:36:39 +01:00
Alfredo Cardigliano
2002128eb4 Webhook export module for exporting alarms (implements #2251) 2019-01-07 22:09:15 +01:00
Simone Mainardi
a86239fac3 Adds optional JSON syslog alert format 2018-09-06 17:23:56 +02:00
Simone Mainardi
8a055b39c5 Implements a lua endpoint to send alerts to syslog
Implements #1973
Implements #1954
2018-09-05 15:26:57 +02:00
emanuele-f
25a1a961c2 Implement configurable slack channel names 2018-07-09 19:19:24 +02:00
emanuele-f
2f47b4a87e Add support for a custom user defined alert endpoint script 2018-07-09 13:01:35 +02:00
Simone Mainardi
dbb05fe6b6 Prevents alerts starvation in the emails queue 2018-04-13 11:57:28 +02:00
emanuele-f
23d7a2676a Rework alerts export to provide more endpoint control 2018-04-12 18:10:45 +02:00