Commit graph

63 commits

Author SHA1 Message Date
emanuele-f
d1caa6fbf1 Temporary disable request_reply_ratio to prevent too much alerts generation 2019-08-26 18:52:41 +02:00
emanuele-f
a0761db1e8 Implement replies/requests ratio alert 2019-08-26 18:38:34 +02:00
emanuele-f
b0ba13f0bc Syn/flow flood alerts now use their own alert type 2019-08-26 17:36:27 +02:00
emanuele-f
e92641920d Implement syn/flow flood victim alerts on local networks 2019-08-26 16:42:23 +02:00
emanuele-f
abdc3d54a3 Handle alert config default values
Closes #2747
2019-08-23 19:23:05 +02:00
emanuele-f
d1c5275302 Move suppressed alerts flag to C to reduce Redis load 2019-08-20 11:54:25 +02:00
emanuele-f
c183a577be Alerts API cleanup and JSON migration 2019-07-29 15:17:22 +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
c9bf1e78cc Implement alerts release on shutdown 2019-07-19 13:58:10 +02:00
emanuele-f
749a64e789 Release alerts on idle hosts 2019-07-19 10:54:05 +02:00
Simone Mainardi
824027da2a Implements lua calls of idle hosts with triggered alerts 2019-07-18 18:15:23 +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
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
0071a3522b Fix missing detected host alerts 2019-07-16 11:43:58 +02:00
Simone Mainardi
cc97be85ca Fixes host alerts key generation 2019-07-15 22:54:09 +02:00
emanuele-f
746509316d Fix entity global alert config read 2019-07-15 14:29:17 +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
86e2b7108b Enforces minimum when configuring flood alerts 2019-07-15 12:56:31 +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
Simone Mainardi
fb891bbf2f Finishes implementation of new flood checks in lua 2019-07-12 19:14:30 +02:00
emanuele-f
8a8157a015 Handle possibly nil tables 2019-07-12 12:53:09 +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
e26a7949ac Rework network threshold alerts definition 2019-07-11 19:35:34 +02:00
emanuele-f
f6ff3ad010 Rework interface threshold alerts definition 2019-07-11 19:11:33 +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
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
Simone Mainardi
11fa6b5212 Implements network alerts 2019-07-10 12:43:17 +02:00
emanuele-f
ecdf88b8a0 Host alerts migration to new api 2019-07-09 18:50:45 +02:00
Luca
3e223849ba Added granularity to AlertableEntity 2019-07-08 17:07:26 +02:00
Simone Mainardi
8ad9e6b336 Implements host lambda functions 2019-07-08 12:21:55 +02:00
emanuele-f
5d99489d70 Implement interface lambda functions 2019-07-08 11:55:03 +02:00
emanuele-f
e8d8a25806 Implement interface alert handler 2019-07-08 11:08:45 +02:00
Simone Mainardi
55aefd7629 Implements host alerts lambda functions 2019-07-08 11:03:14 +02:00
emanuele-f
c417873961 Split threshold alerts getters by entity 2019-07-08 10:45:12 +02:00
Luca Deri
d77704fdd8 Interface alert handler (work in progress) 2019-07-07 23:13:14 +02:00
Luca
69fc34c663 Alert handler 2019-07-07 22:12:32 +02:00
emanuele-f
d5a94cbc78 Rename rrd_dump to ts_dump 2019-02-15 11:36:07 +01:00
emanuele-f
606de5197b Replace pcall with require to catch errors 2018-12-11 18:56:46 +01:00
emanuele-f
95713ddfc6 Add driver:deleteOldData and delete old RRDs 2018-12-10 17:42:39 +01:00