Commit graph

7 commits

Author SHA1 Message Date
Alfredo Cardigliano
656cee7230 Add missing periodic calls 2025-02-17 15:35:40 +01:00
Matteo Biscosi
5edfdeedcd Fixes various lua memory issues 2024-02-22 11:22:52 +00:00
Luca Deri
55870e97b9 (C) Update 2024-01-12 11:44:18 +01:00
Alfredo Cardigliano
fd03598975 Fix several issues with local networks 2023-10-26 10:51:06 +02:00
Luca Deri
e3be9b993a Removed files not necessary 2022-12-18 11:19:09 +01:00
Luca
686112d3eb Initial implementation of host check rules. This is work in progress and ** subject to change **
Under the network interface -> Wheel there's a new field named "JSON Host Rules"
that can accept JSON in the format below:

- target can be * (= all local hosts) or a specific IP address
- frequency can be hourly or daily and it specifies the timeperiod on which the condition is evaluated
- metric can be set to bytes, score or a L7 protocol supported in nDPI
- threshold is the numerical value over which the alert is triggered

[
{ "target": "*",  "frequency": "hourly", "metric": "bytes",  "threshold": 354333 },
{"target": "146.48.56.79","metric": "AmazonAWS","frequency": "daily","threshold": 5000 }
]
2022-11-02 19:00:45 +01:00
Luca Deri
fcaa071acb Added delayed scripts that are executed with minimal time drift to avoid all scripts to be executed at the same time and thus cause load spikes 2022-01-03 18:55:18 +01:00