Commit graph

23 commits

Author SHA1 Message Date
emanuele-f
00b4fe17a6 Implement multitenant alerts support for in-memory alerts 2020-02-06 15:18:50 +01:00
emanuele-f
54140b6f1a Migrate alertable disabled alerts preference to lua
This avoids performing multiple hget on redis, thus increasing performance
2019-11-05 14:59:38 +01:00
Simone Mainardi
1ec35c3042 Fixes and cleanup of disabled alerts 2019-10-22 10:33:42 +02:00
Simone Mainardi
ff3469d897 Fixes race conditions in concurrent alert trigger and releases 2019-10-21 18:45:18 +02:00
Simone Mainardi
661dbbbeb0 Removes unnecessary alerts expired code 2019-10-21 17:47:17 +02:00
Simone Mainardi
e80dc962f4 Optimizes host.getFullInfo with smaller functions in periodic scripts 2019-10-21 16:21:03 +02:00
emanuele-f
87ba28195b Add support to engage/release on external alerts 2019-08-20 19:02:58 +02:00
emanuele-f
d1c5275302 Move suppressed alerts flag to C to reduce Redis load 2019-08-20 11:54:25 +02:00
Luca
6f95b32eae Alert triggering optimisation 2019-08-15 21:20:39 +02:00
Luca
f8c962a6fb Fixed alerts race conditions 2019-08-15 17:19:26 +02:00
emanuele-f
ee9e5ec9de Unify alerts and alerts notifications format 2019-07-30 18:12:58 +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
09fb8667e2 Add ability to disable specific alert types on alertables 2019-07-22 23:37:23 +02:00
Simone Mainardi
54c1df4b4d Implements class AlertCheckLuaEngine and refactors code 2019-07-18 17:01:05 +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
7b1190f24f Fix host alerts counter 2019-07-16 11:33:51 +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
11fa6b5212 Implements network alerts 2019-07-10 12:43:17 +02:00
Luca
3e223849ba Added granularity to AlertableEntity 2019-07-08 17:07:26 +02:00
Luca
76ef993dfe Reworked alerts 2019-07-07 15:09:24 +02:00