Commit graph

873 commits

Author SHA1 Message Date
Matteo Biscosi
2e8b37f551 Fixes wrong granularity (#7270) 2023-02-28 10:44:31 +00:00
Luca Deri
61235af7f7 Implemented in pro/ 2023-02-24 17:34:40 +01:00
Luca Deri
be60111e45 Added clickhouse retention script 2023-02-24 16:35:21 +01:00
Luca Deri
2bc756036f Not supposed to be committed 2023-02-17 15:44:01 +01:00
Luca Deri
0fae8eb3ce Improved Host no-TX statistics now available also for remote hosts 2023-02-15 22:38:21 +01:00
Luca Deri
42a14874d5 Improved "Flow User Check Script" flow check 2023-01-30 22:22:51 +01:00
Alfredo Cardigliano
73af3fa521 Add support for external (REST) host alerts (#7170) 2023-01-26 15:34:54 +01:00
MatteoBiscosi
541ec9c54d Added forced offline variabl to mantain the --offline option (#7071) 2023-01-10 16:04:21 +01:00
Luca Deri
f726b867c7 Updated (C) 2023-01-01 16:37:57 +01:00
Luca Deri
e3be9b993a Removed files not necessary 2022-12-18 11:19:09 +01:00
Luca Deri
1d8f07430a Added L7 information in flow object adding
- flow.http()
- flow.dns()
- flow.ssh()
- flow.tls_quic()
2022-11-27 18:53:39 +01:00
Luca Deri
4212c6225d Enhanced the host Lua API for host checks 2022-11-25 18:34:10 +01:00
Luca Deri
01719751a6 Improved tracings 2022-11-25 11:01:31 +01:00
Luca Deri
ad716ced36 Fixed invalid definition 2022-11-24 17:43:30 +01:00
Luca Deri
af97ddee9f Improved flow user scripts 2022-11-24 17:42:26 +01:00
Luca Deri
71fbbdbf58 Implemented custom host script (WIP) 2022-11-24 12:34:14 +01:00
Luca Deri
66a4e73f1e Initial implementation of custom Host script 2022-11-23 18:56:54 +01:00
Luca Deri
9bdff1b170 Improved custom flow script alert 2022-11-23 17:04:01 +01:00
Luca Deri
a687b9280a Implemented custom script check 2022-11-23 11:11:45 +01:00
MatteoBiscosi
6ea5cfbba1 Removed debug print 2022-11-21 10:15:57 +01:00
Luca Deri
309d17b6b8 Implemented CustomFlowLuaScript.cpp engine 2022-11-20 20:30:49 +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
MatteoBiscosi
78ed044152 Removed unused require 2022-08-12 11:10:00 +02:00
Luca Deri
1488f1749a Renamed influxdb.lua -> upload_timeseries.lua as this file had nothing to do with influxDB 2022-07-06 00:12:39 +02:00
Alfredo Cardigliano
4e96ca6a39 Skip connectivity check if forced offline 2022-05-12 11:45:53 +02:00
Luca Deri
207d40c20a Puttin script out of hour sync to avoid overload on speedtest servers (#6547) 2022-04-28 23:10:04 +02:00
Luca Deri
0072fca594 Moved to pro 2022-04-14 22:12:08 +02:00
MatteoBiscosi
6c9f571196 Separated the two data retentions 2022-03-31 16:39:58 +02:00
Luca Deri
9e1f6dc0d6 Removed as it was not supposed to stay here 2022-03-26 09:15:32 +01:00
Luca Deri
614125cbba Starup log is now verbose to spot initialization delays 2022-03-08 12:04:00 +01:00
Luca Deri
5ab94c8eb4 Script not necessary 2022-03-01 11:01:55 +01:00
Luca Deri
269e9da142 (C) Update 2022-02-20 23:17:50 +01:00
MatteoBiscosi
556057c1c1 Fixes nil value notification 2022-02-18 11:45:46 +01:00
Alfredo Cardigliano
53e21718fa Safety check 2022-02-17 15:42:05 +01:00
MatteoBiscosi
f86b7afe94 Fixes alerts not triggered due to redis delete 2022-02-17 11:50:12 +01:00
MatteoBiscosi
57a85de50e Cleaned up the code from plugin_utils 2022-02-11 12:07:23 +01:00
Matteo Biscosi
1b3a1c97c8 Removed checks plugins concept from ntopng 2022-02-08 18:13:11 +01:00
Luca Deri
81ffc1ebf4 Improved MySQL purge tracings 2022-02-08 10:49:08 +01:00
Luca Deri
ebaba91def
Added tracing message when old records are purged 2022-02-07 08:56:43 +01:00
Luca Deri
b93d2a8feb Delete old discard and tmp files 2022-01-31 12:40:46 +01:00
Luca Deri
8828a9ca90 MySQL retention is implemented serially in order to avoid that slow MySQL DBs create issues 2022-01-26 13:01:47 +01:00
Luca Deri
189c2bb739 Cleaned up DB detention scripts 2022-01-26 12:02:32 +01:00
Luca Deri
6f8d6df226 Renamed daily retention scripts 2022-01-26 11:27:26 +01:00
Matteo Biscosi
7174cce14f Fixes influxdb timeseries export (#6232) 2022-01-24 10:04:30 +01:00
Matteo Biscosi
da8609727f Removed half of the monitor plugins (#6224) 2022-01-21 19:21:58 +01:00
Luca Deri
cc04fd46e8 Cosmetic fixes 2022-01-21 16:56:07 +01:00
Simone Mainardi
823b4f5d91 Implements active monitoring with the new scheduler 2022-01-21 13:05:01 +01:00
Simone Mainardi
705807ad9d Reworks active monitoring plugin structure 2022-01-21 12:21:44 +01:00
Luca Deri
d25dae664e Reworked script checks periodicity to make sure active monitoring is executed when it should be
Some extra cleanup is necessary (#6224)
2022-01-20 11:14:18 +01:00
Matteo Biscosi
795125c814 Added alert to network discovery (#6218) 2022-01-19 16:17:30 +01:00