Commit graph

7 commits

Author SHA1 Message Date
Alfredo Cardigliano
acdab024da Enqueueing flow alerts to be stored/notified from Lua, removed DB select to notiy alert (using the alert object directly) 2019-11-05 15:53:10 +01:00
emanuele-f
d32b979368 Remove Alert Endpoint preference
Fixes #2859
2019-09-23 10:48:21 +02:00
Alfredo Cardigliano
14c0338b64 Fix alert_endpoints_utils.lua error 'attempt to compare number with string' #2795 2019-09-04 12:44:53 +02:00
emanuele-f
ee9e5ec9de Unify alerts and alerts notifications format 2019-07-30 18:12:58 +02:00
emanuele-f
608676fd0d Fix getting alert notifications when disabled 2019-07-17 18:49:56 +02:00
emanuele-f
14d5675212 Little fix 2019-06-28 18:34:08 +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