Commit graph

2092 commits

Author SHA1 Message Date
emanuele-f
93a3cb9b7e Migrate lua alerts to unified alerts queue 2019-07-30 12:22:00 +02:00
emanuele-f
d38cd23615 Move C alerts to unified alerts_queue 2019-07-30 11:43:18 +02:00
emanuele-f
e4a67824c1 Migrate slow periodic activity to alerts queue 2019-07-29 18:38:02 +02:00
emanuele-f
62f754f7f9 Initial work towards unified alerts queue 2019-07-29 18:22:49 +02:00
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
9c39268441 Fix script failures when prometheus export is enabled 2019-07-25 17:27:51 +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
03cec7d831 Add harvestDateBasedDirTree more log traces 2019-07-23 15:12:38 +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
6a6cedc899 Add ability to disable host alerts on specific flow status 2019-07-22 12:16:12 +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
5270d09490 Allows alerts to be configured on view interfaces 2019-07-19 12:43:31 +02:00
emanuele-f
749a64e789 Release alerts on idle hosts 2019-07-19 10:54:05 +02:00
Simone Mainardi
3cd6a92efd Implements nDPI stats counters for views 2019-07-19 10:30:59 +02:00
emanuele-f
3383ac0913 Implement dropped alerts per-interface counter 2019-07-18 17:29:05 +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
608676fd0d Fix getting alert notifications when disabled 2019-07-17 18:49:56 +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
b5c6f68022 Fix invalid alert type 2019-07-17 16:56:24 +02:00
emanuele-f
5444f027ed Remove engaged alerts from sqlite 2019-07-17 16:29:55 +02:00
emanuele-f
2e537a0c94 Alert changes after review 2019-07-17 12:51:47 +02:00
emanuele-f
c117f20e19 Initial rework for in-memory alerts 2019-07-16 19:25:09 +02:00
emanuele-f
2cdc180c9b Remove unused function 2019-07-16 14:09:32 +02:00
Simone Mainardi
883b99dce9 Fixes attempt to index a nil value with Syslog alerts 2019-07-16 13:05:27 +02:00
emanuele-f
17616c5f66 Improve alerts integration into the host page (wip) 2019-07-16 12:45:23 +02:00
Simone Mainardi
cc97be85ca Fixes host alerts key generation 2019-07-15 22:54:09 +02:00
emanuele-f
0d04f24881 Remove unnecessary call 2019-07-15 22:33:12 +02:00
emanuele-f
c2e12b2eff Fix bad daily granularity
Fixes #2721
2019-07-15 22:18:28 +02:00
emanuele-f
0d7195d6e3 Fix db index 2019-07-15 15:51:47 +02:00
emanuele-f
9fa3b7920c Add trace when alerts queue limit is exceeded 2019-07-15 15:37:20 +02:00
emanuele-f
5e40e47cce Implement expired alerts release
This is necessary to handle the case where a previously configured alert config is deleted
2019-07-15 13:09:18 +02:00
Simone Mainardi
ea99c39691 Defaults minimum to 0 in alerts configuration 2019-07-15 12:58:25 +02:00
Simone Mainardi
7c4a9ef76c Improves flood alerts descriptions 2019-07-15 12:52:35 +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
Simone Mainardi
26f2e264c4 Allows alerts to be configured only at given periodicity (gui) 2019-07-15 12:14:17 +02:00
emanuele-f
e9d5181d7c Add check for nil checkpoint
Fixes #2717
2019-07-15 10:27:28 +02:00
Simone Mainardi
fb891bbf2f Finishes implementation of new flood checks in lua 2019-07-12 19:14:30 +02:00
Alfredo Cardigliano
168fcf1332 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2019-07-12 16:35:30 +02:00
emanuele-f
083e51cdee Improve field_units i18n 2019-07-12 19:03:33 +02:00