Commit graph

30 commits

Author SHA1 Message Date
Luca
b350ecc7d9 Minor rework in periodic scripts
Reworked aggregated DB dump
2017-11-12 12:10:20 +01:00
Simone Mainardi
a86f3dd36e Implements DB interoperability b/w ntopng and nProbe 2017-08-11 16:51:10 +02:00
Simone Mainardi
d7b929bdc1 Implements DNS searches and reworks INFO column 2017-05-23 14:00:19 +02:00
Simone Mainardi
1b313d2932 Implements periodic flow aggregation 2017-05-09 15:07:20 +02:00
Simone Mainardi
0c1fd6071f Defines some MySQL constants 2017-04-20 16:46:01 +02:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
Simone Mainardi
b6eb667890 Visualizes database processes list when the DB is not ready
Implements #891
2017-01-09 16:58:17 +01:00
Simone Mainardi
4e5d691689 Makes flow2InsertValues method public 2016-12-29 13:01:31 +01:00
Luca
f50f61f9fc MySQL DB improvements
Cached slack preference
Optimized DHCP cache read
2016-12-28 19:20:06 +01:00
Simone Mainardi
ff7c61bb9d Fixes an issue when dumping flows already partially dumped
The final dump for flows partially dumped could be, under certain
conditions, skipped. This commit addresses the issue.

Fixes #846
2016-12-21 19:44:47 +01:00
Simone Mainardi
482c2ca834 Implements counter resets
This commits adds two reset buttons to the interface page.

One button allows the reset of all interface counters, namely,
packets and bytes received, packets dropped, and the number of
flows exported and dropped (when mysql or elasticsearch is enabled).

The other button allows the reset of only the drops.
2016-12-21 12:48:04 +01:00
Simone Mainardi
e1b20e5f9b MySQLDB::flow2InsertValues returns flow len 2016-12-19 15:34:06 +01:00
Simone Mainardi
eb0c10a8dd Adds periodic MySQL flush method 2016-12-16 18:53:59 +01:00
Simone Mainardi
5ded07f5a8 Adds code for batched mysql insertions 2016-12-15 22:53:23 +01:00
Simone Mainardi
449c718208 Generalizes Mysql insert into inside defines 2016-12-15 22:53:22 +01:00
Simone Mainardi
bca1e0a126 Implements MySQL flow export statistics 2016-08-29 09:41:55 +02:00
Simone Mainardi
e8707bcaa9 Implements counters for export dropped flows (wip)
ntopng optionally exports flows to MySQL or ES. This change
keeps track of possible drops (e.g., due to a slow mysql server)
and shows them to the user.
2016-08-26 19:27:46 +02:00
Simone Mainardi
a51994cfec Implements asynchronous database schema updates
Database updates are now performed asynchronously.
The web server starts but notifies the user with a
'please wait' message until the updates are completed.
2016-07-04 19:37:44 +02:00
Luca Deri
fac51e9fca Reworked MySQL interface 2016-03-26 22:52:54 +01:00
Simone Mainardi
c5c1a062f6 Implements MySQL batch flow insertions 2016-03-22 15:46:19 +01:00
Simone Mainardi
165be14dfd Makes the maximum number of rows retrieved from MySQL configurable
The limit in the number of rows that can be retrieved from MySQL
has been made configurable. This is useful especially when downloading
historical flows in txt format.
2016-02-19 20:14:29 +01:00
Luca Deri
2915d89a24 Implemented asynchronous MySQL queries so that ntopng should be more responsive on large networks with MySQL database enabled 2016-02-09 16:10:39 +01:00
Luca Deri
d7c452f0a3 Moved to 2016 2016-01-01 09:27:39 +01:00
Luca Deri
631d54781e MySQL/MariaDB is now compulsory to compile ntopng 2015-10-16 14:56:01 +02:00
Luca
5b1cd6878a Added alter table for old MysSQL DBs 2015-10-06 13:11:18 +02:00
Luca Deri
2a5baca948 Various flow dump improvements and bug fixes 2015-08-17 10:57:17 +02:00
Luca Deri
3b72506ab0 Added the ability to query flows from Lua
Added simple testing tool db_query.lua to issue queries
2015-08-15 20:38:01 +02:00
Luca Deri
8133cb7eb7 MySQL
- Added support for MariaDB (in addition to MySQL)
- Implemented reconnection if server/client disconnects
- Added support for both host and Unix socket connection to the DB
2015-08-10 11:55:53 +02:00
Luca Deri
e9995ceb62 Renamed some Ndpi -> nDPI API calls
Removed geohash: we're back top latitude longitude
Implemented flow insert into MySQL
2015-08-09 22:58:13 +02:00
Luca Deri
900484b2e0 Reworked DB structure 2015-08-09 15:54:18 +02:00