Commit graph

13 commits

Author SHA1 Message Date
Alfredo Cardigliano
55b1ca75a9 Replace anomalous with misbehaving to avoid inconsistencies (fix #2866) 2020-01-14 15:49:19 +01:00
Luca Deri
57e6a93065 Improved scheduling algorithm to guarantee minimum service time when number of entries allow
Updated (C)
2020-01-06 23:36:36 +01:00
emanuele-f
69cd896a9f Implement engaged alerts and flow alerts timeseries 2019-08-21 16:57:14 +02:00
emanuele-f
281a67e10d Refactor LocalHostStats::makeTsPoint and fix bug when ts ring is disabled 2019-08-21 15:52:16 +02:00
emanuele-f
2b2a74af79 Fix bad time resolution of values for some host exported timeseries
- active_flows.as_client
- active_flows.as_server
- total_flows.as_client
- total_flows.as_server
- contacts.as_client
- contacts.as_server
- DNS, TCP, ICMP stats

Fixes #2776
2019-08-21 15:37:17 +02:00
emanuele-f
c715bb36f3 Implement per-alert-type host counters
Such counters will be used in the future to generate alert timeseries.
Counters are not currently serialized as internally discussed.

Closes #2728
2019-07-19 17:27:23 +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
emanuele-f
dbbbeae461 Move L4Stats to separate class 2019-05-22 20:11:06 +02:00
emanuele-f
461ee43e16 Add UDP unicast vs non unicast breakdown 2019-05-22 17:36:24 +02:00
Salvatore Costantino
dd24d2a932 Removed net unreachable counters (#2517) 2019-04-05 21:32:37 +02:00
Salvatore Costantino
58becaeebe Added host and net unreachable counters (#2483)
* Added host and net unreachable counters

* Added host and net unreachable counters

* Added host and net unreachable counters
2019-03-27 21:44:47 +01:00
Simone Mainardi
840313dd60 Fixes hidden 'LocalHostStats::lua' overloaded virtual function 2019-03-08 18:34:19 +01:00
Simone Mainardi
5851395d80 Reworks timeseries code
Implements #2448
2019-03-08 18:20:45 +01:00