Commit graph

169 commits

Author SHA1 Message Date
Simone Mainardi
ea99c39691 Defaults minimum to 0 in alerts configuration 2019-07-15 12:58:25 +02:00
Simone Mainardi
771e690397 Minor fix 2019-07-15 12:38:23 +02:00
Simone Mainardi
e890786d91 Allows alert modules to be run only at given periodicities 2019-07-15 12:26:50 +02:00
emanuele-f
3f002ad223 field_units i18n fix 2019-07-12 16:17:01 +02:00
emanuele-f
a2d1e6eda4 Fix interface alert counters and bugged release 2019-07-12 16:08:26 +02:00
emanuele-f
55cf8ffcf4 Add alert trigger debug 2019-07-11 19:23:40 +02:00
emanuele-f
b16136f5b4 Rework host threshold alerts definition 2019-07-11 19:11:33 +02:00
emanuele-f
98f95fc306 Implement host modular alerts config gui 2019-07-11 13:02:34 +02:00
emanuele-f
1e98480a6f Initial support for host anomalies alerts 2019-07-11 12:42:25 +02:00
Simone Mainardi
2172338948 Implements per-host file-based alert checks (e.g., bytes.lua) 2019-07-10 19:23:19 +02:00
emanuele-f
a31c619500 Initial support for dynamic alert check functions 2019-07-10 18:31:14 +02:00
emanuele-f
82aa988e4b Network threshold cross alerts now use the new api 2019-07-10 13:54:49 +02:00
emanuele-f
1dbeb118bf Interface threshold cross alerts now use the new api 2019-07-10 12:58:17 +02:00
emanuele-f
ecdf88b8a0 Host alerts migration to new api 2019-07-09 18:50:45 +02:00
emanuele-f
14d5675212 Little fix 2019-06-28 18:34:08 +02:00
emanuele-f
bc40e7da8d Alerts api documentation 2019-06-28 17:44:15 +02:00
emanuele-f
2df194a282 Implement alert release 2019-06-28 15:06:39 +02:00
emanuele-f
e78039c2f2 Basic alerts api documentation 2019-06-28 12:17:03 +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