Commit graph

82 commits

Author SHA1 Message Date
Luca Deri
dc19d2aada Removed not necessary clickhouse code 2023-11-20 21:08:38 +01:00
Matteo Biscosi
c7e7ee70f2 Added clickhouse retention traces 2023-11-20 15:52:38 +00:00
Matteo Biscosi
9bc2e13451 Excluded constant tables from drop 2023-10-30 11:20:56 +00:00
Matteo Biscosi
25856f4776 Removed extra tables in CH 2023-10-27 14:02:05 +00:00
Luca Deri
df80780be5 Reworked flow aggregation query 2023-06-05 12:21:05 +02:00
Luca Deri
a4f731d61e Reworked clickhouse retention 2023-05-31 11:39:20 +02:00
Alfredo Cardigliano
6601d2feba Fix populate_l7_protocols 2023-05-29 10:19:50 +02:00
Matteo Biscosi
c3032be62d Fixes populate function not found 2023-04-05 09:14:17 +00:00
Matteo Biscosi
f6ce278e9e Added Historical Flow fields when downloading (#6851) 2023-03-31 10:48:54 +00:00
Luca Deri
be60111e45 Added clickhouse retention script 2023-02-24 16:35:21 +01:00
Luca Deri
189c2bb739 Cleaned up DB detention scripts 2022-01-26 12:02:32 +01:00
Alfredo Cardigliano
257ece18c0 Copyright update (Lua) 2022-01-03 09:42:33 +01:00
Luca Deri
fb36abecd3 Fixed [LuaEngine.cpp:601] WARNING Script failure [/usr/share/ntopng/scripts/callbacks/daily/system/db_retention.lua][attempt to index a nil value] 2021-12-29 15:05:40 +01:00
Simone Mainardi
cf256c8a18 Removes hardcoded ClickHouse database name in delete queries
Addresses #6030
2021-11-30 18:30:47 +01:00
Simone Mainardi
37fe090a28 Implements Clickhouse retention using partitioned alert tables
Addresses #6030
2021-11-11 12:28:41 +01:00
Simone Mainardi
94a970f626 Adds Clickhouse support to delete flows upon deleting interface data 2021-11-10 14:29:06 +01:00
Simone Mainardi
62ee3437af Performs Clickhouse old data cleanup in the system daily callback
Addresses #6030
2021-11-10 14:16:05 +01:00
Simone Mainardi
3b4b5078fe Implements Clickhouse retention using partitions
Addresses #6030
2021-11-10 10:18:20 +01:00
Simone Mainardi
820e497253 Unifies epoch-related variables in Lua and JS 2021-07-30 15:38:06 +02:00
Luca Deri
a1178a0791 Updated (C) 2021-01-02 12:08:23 +01:00
Alfredo Cardigliano
50099f8b89 Cleanup aggregated flows configuration (deprecated) 2020-09-21 23:20:14 +02:00
Alfredo Cardigliano
354866d16a Remove aggregated flows 2020-07-03 17:17:33 +02:00
Alfredo Cardigliano
2425134f05 Replace isEnterprise with isEnterpriseM 2020-04-02 12:36:34 +00:00
Luca Deri
170bc60f19 Updated (C) 2020-01-08 23:52:51 +01:00
Simone Mainardi
98edcce20d Fixes invalid l4 protocol columns in sql queries
Fixes #3142
2019-12-23 10:39:28 +01:00
Simone Mainardi
bd27304c54 Implements data cleanup for inactive interfaces
Implements #1971
2018-09-07 15:55:14 +02:00
Simone Mainardi
b5f96cf86a Implements allowed networks for database flows
Implements #1886
2018-08-07 19:38:05 +02:00
Simone Mainardi
bef7e7bf2e Fixes MySQL flow idx for nprobe databases 2018-03-02 11:00:22 +01:00
Simone Mainardi
46439a8c02 Greatly reduces the number of open files in second.lua 2017-11-23 15:51:12 +01:00
Simone Mainardi
1c9b5a0ea0 Removes unused checkOpenFiles function 2017-10-03 16:52:37 +02:00
Simone Mainardi
990915f3b3 Handles VLANs and traffic profiles in db queries
Fixes #1320
Fixes #946
2017-07-25 18:52:56 +02:00
Simone Mainardi
d7b929bdc1 Implements DNS searches and reworks INFO column 2017-05-23 14:00:19 +02:00
emanuele-f
0e66f642a0 Fix alerts counter bug when alerts are disabled and re-enabled.
Steps to reproduce the original issue:
1) alerts are enabled and counter is positive
2) the user disables the alerts from preferences
3) ntopng is stopped, then restarted
4) the user enables the alerts from preferences, but num_alerts_engaged was 0
5) a release of an alert now makes the counter wrap
2017-05-17 11:47:10 +02:00
Simone Mainardi
ffd45a6e41 Reworks Historical Flow Explorer UI to query on aggregated flows tables 2017-05-10 12:54:24 +02:00
Simone Mainardi
5416dcd711 Implements DB queries on the aggregated data (WIP) 2017-05-09 18:56:55 +02:00
emanuele-f
d6469510ee Add startup alert engine and use it for MYSQL open files limit check 2017-04-26 18:12:40 +02:00
Josh Soref
78e78c018c Fixes spellings and typos
Thank goes to
Josh Soref <jsoref@users.noreply.github.com>
2017-03-06 17:54:48 +01:00
Emanuele Faranda
2a843966da Add alias and device type columns to host pools (#953)
* Add alias and device type columns to host pools

* Add host pool members links when available

* Add host pool links

* Implement host pool members pagination

* Host Pools GUI fixes and improvements

* Remove hardcoded columns number

* Host Pools GUI fixes

* Remove debug print
2017-01-27 17:48:58 +01:00
Simone Mainardi
413e22e889 Implements CIDR search in flow explorer
partially implements #574
2016-12-20 15:32:52 +01:00
Simone Mainardi
758db35671 Implements MySQL open_files_limit check
ntopng checks MySQL for the value of open_files_limit and engages
and alert if the worst case number of open files is greater
than or equal to the 80% of open_files_limit
2016-12-09 17:14:25 +01:00
Simone Mainardi
926a57f658 Executes db explorer queires automatically on user click
Clicking on flow details (e.g., protocol or src or dst)
automatically redirects the user to the db explorer page
and preserves selection details (pro version).
2016-07-12 17:02:14 +02:00
Simone Mainardi
96e964b14e Adds IN_ and OUT_BYTES to historical flows tables 2016-06-15 15:57:37 +02:00
Simone Mainardi
e12c703464 Implements IN_BYTES / OUT_BYTES for historical protocols 2016-05-24 11:57:12 +02:00
Simone Mainardi
9953cc2328 Implements IN_BYTES/OUT_BYTES in historical data
MySQL schema change has been implemented together with
new historical talkers.
TODO: historical protocols.
2016-05-24 11:08:11 +02:00
Simone Mainardi
d46a5b8b5e Refactors historical labels and code to improve readability 2016-04-15 17:05:28 +02:00
Simone Mainardi
3c0022197e Adds a flow inspector to the historical top talkers 2016-04-14 15:24:38 +02:00
Simone Mainardi
66513dc093 fixes a MySQL query error on unknown field 2016-04-14 11:04:24 +02:00
Simone Mainardi
fdaf16a7ef Implements bi-directional HTTP reqs/resps rates 2016-04-08 15:52:56 +02:00
Simone Mainardi
90ffa1eb10 Removes a debug print 2016-04-04 19:40:55 +02:00
Simone Mainardi
870a08a568 Adds ports, l4 and l7 protocols to historical talkers drill-down 2016-04-04 19:38:57 +02:00