Commit graph

671 commits

Author SHA1 Message Date
emanuele-f
c183a577be Alerts API cleanup and JSON migration 2019-07-29 15:17:22 +02:00
emanuele-f
664d165b2f Add hosts alerts link into flow alerts 2019-07-26 13:24:05 +02:00
emanuele-f
988e3eaab6 Move alerts configuration under the triangle icon 2019-07-26 10:59:38 +02:00
emanuele-f
4fc1fea405 Fix remote hosts global alerts config 2019-07-25 14:45:23 +02:00
emanuele-f
2243cabcf1 Fix alert release time and gui enhancements 2019-07-25 14:25:27 +02:00
emanuele-f
a3942831b8 Fix issues with engaged alert counters and other improvements 2019-07-24 15:40:43 +02:00
emanuele-f
bcc6a78af4 Improve alert enable/disable buttons and allow config edit on idle hosts 2019-07-23 14:30:26 +02:00
emanuele-f
fa5605df6a Set broadcast domain alert entity to the sender mac 2019-07-23 10:04:23 +02:00
emanuele-f
09fb8667e2 Add ability to disable specific alert types on alertables 2019-07-22 23:37:23 +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
c9bf1e78cc Implement alerts release on shutdown 2019-07-19 13:58:10 +02:00
Simone Mainardi
0fd3be6b79 Implements hosts purge mark algorithm 2019-07-18 15:19:36 +02:00
Simone Mainardi
be85b2ebc8 Implements algorithm to purge hosts only after checking their alerts 2019-07-18 13:34:45 +02:00
emanuele-f
c5e597ea75 Fix alert config on local hosts 2019-07-17 19:05:01 +02:00
emanuele-f
6ea7055761 Fix engaged alerts on remote hosts 2019-07-17 18:46:19 +02:00
emanuele-f
991c4e2786 Implement engaged alerts pagination 2019-07-17 17:31:37 +02:00
emanuele-f
5444f027ed Remove engaged alerts from sqlite 2019-07-17 16:29:55 +02:00
emanuele-f
c117f20e19 Initial rework for in-memory alerts 2019-07-16 19:25:09 +02:00
emanuele-f
17616c5f66 Improve alerts integration into the host page (wip) 2019-07-16 12:45:23 +02:00
emanuele-f
c2e12b2eff Fix bad daily granularity
Fixes #2721
2019-07-15 22:18:28 +02:00
Simone Mainardi
7c4a9ef76c Improves flood alerts descriptions 2019-07-15 12:52:35 +02:00
Simone Mainardi
26f2e264c4 Allows alerts to be configured only at given periodicity (gui) 2019-07-15 12:14:17 +02:00
Simone Mainardi
fb891bbf2f Finishes implementation of new flood checks in lua 2019-07-12 19:14:30 +02:00
emanuele-f
5e0b8b496e Remove autorelease logic based on periodicity and update database schema 2019-07-12 12:46:21 +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
1d9a8951db Initial modular alerts config gui implementation 2019-07-11 12:42:25 +02:00
emanuele-f
4ec4043b35 Alerts cleanup 2019-07-10 15:45:20 +02:00
emanuele-f
82aa988e4b Network threshold cross alerts now use the new api 2019-07-10 13:54:49 +02:00
emanuele-f
ecdf88b8a0 Host alerts migration to new api 2019-07-09 18:50:45 +02:00
Luca
ff0529bbfc Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2019-07-08 17:07:40 +02:00
Luca
3e223849ba Added granularity to AlertableEntity 2019-07-08 17:07:26 +02:00
emanuele-f
9d95ef94bc Call new alert iteration functions 2019-07-08 17:03:51 +02:00
emanuele-f
c417873961 Split threshold alerts getters by entity 2019-07-08 10:45:12 +02:00
Luca
76ef993dfe Reworked alerts 2019-07-07 15:09:24 +02:00
emanuele-f
937b6cf2b5 Fix alerts error with closed_alerts 2019-07-03 14:05:20 +02:00
emanuele-f
937d94dd0e Fix RTT alerts location 2019-06-28 18:27:54 +02:00
emanuele-f
2df194a282 Implement alert release 2019-06-28 15:06:39 +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
15bf893cc3 Fix missing interface selection 2019-06-26 12:30:18 +02:00
emanuele-f
8a239f97f4 Trace periodic activities duration and generate an alert for long lasting ones 2019-06-21 11:41:38 +02:00
Simone Mainardi
a543ec8e73 Refactors logic to engage alerts to simplify it 2019-06-11 16:03:54 +02:00
Simone Mainardi
1ab3d97e5c Fixes delete of old alerts 2019-06-10 17:22:45 +02:00
emanuele-f
6234245773 Move InfluxDB monitoring to separate entry 2019-06-10 12:47:10 +02:00
Emanuele Faranda
5f9e8b17df
Implement System interface
The system interface now holds system wide alerts and timeseries
2019-06-03 08:53:26 +00:00
Alfredo Cardigliano
99aa386a12 Implements alerts on SNMP port load exceeding a configured threshold (%) based on port speed (#2223) 2019-05-30 15:18:46 +02:00
Simone Mainardi
c7e8c32559 Implements telemetry data POST 2019-05-23 16:43:16 +02:00
Alfredo Cardigliano
7590f629fe Alerts on duplex status change on SNMP interface (#2349) 2019-05-23 12:23:45 +02:00
Alfredo Cardigliano
7d3183e642 Added REMOTE_ADDR to _SERVER, recording address in alerts generated by the tracker, logging IP address from which password has been changed (#2554) 2019-05-13 16:13:15 +02:00
Luca Deri
0ec224db49 Alert nil fixes 2019-05-07 22:11:41 +02:00