Commit graph

21 commits

Author SHA1 Message Date
Simone Mainardi
a22022bb30 Reworks alerts to prevent local hosts I/O 2017-11-01 23:04:33 +01:00
Simone Mainardi
a99c7a9544 Implements old RRD files deletion (frontend + partial backend) 2017-10-04 19:39:32 +02:00
Simone Mainardi
7e1af2b196 Implements customizable per-interface RRD generation
Implements #1429
2017-09-06 16:02:32 +02:00
Simone Mainardi
fd8ee25641 Code refactoring to simplify stats reset 2017-08-01 15:39:00 +02:00
emanuele-f
fe2a5fca43 Rework data retention preferences 2017-03-20 14:59:29 +01:00
emanuele-f
2affcfb208 Clean callback scripts code 2017-03-04 12:39:48 +01:00
Emanuele Faranda
afdfac1c9c Lua scripts parameters validation (#970)
* partial work

* Migrate 'mode' parameters

* Migrate alerts types

* Fix some interface ids

* Partial work

* Partial work

* End of work for _GET parameters

* Work in progress

* Add support for special parameters

* Preferences validation

* Fixes and improvements

* Enforce interger validation
2017-02-08 12:25:35 +01:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
emanuele-f
d43dd33980 Fix missing daily script blacklist require 2016-11-19 00:42:37 +01:00
Luca Deri
a153717ee3 Added the ability to generate alert when ntopng detects traffic produced by malware hosts. Currently ntopng uses the blacklist generated by EmergingThreads, but it is possible to extend/modify the list of blacklists by modifying blacklist_utils.lua 2016-11-17 08:58:38 +01:00
Simone Mainardi
305ec2fc06 Minor performance improvement on daily ops 2016-09-13 10:42:22 +02:00
Simone Mainardi
13875ec189 Adds numHosts to hosts retrieval for proper pagination
numHosts was suppressed in an earlier commit but this caused
issues with pagination of results.
2016-08-25 19:05:35 +02:00
Simone Mainardi
95a4618c17 Fixes alert scan that was causing possible issues in periodic scripts
Method scanAlerts was called inside a loop over the interfaces in minute.lua.
Since scanAlerts was looping over the interfaces as well, this was causing
interfaces to be deselected from the outer loop.

This commit fixes the issues by forcing scanAlerts to receive an input interface.

Fixes #582
2016-06-04 18:22:13 +02:00
Luca
2fb0e863fe Fixed inter-arrival time in flows
Updated (C)
2016-04-19 11:06:39 +02:00
Simone Mainardi
8df0b8f807 Makes minute top talkers data retention configurable 2016-04-04 09:55:26 +02:00
Simone Mainardi
2754c2dfa1 Stores integer interface ids into MySQL
Interface flows are now stored using integer interface ids rather
than interface names. This speeds up queries.
A migration code has also been introduced so that old MySQL table
format is migrated and old data does not get lost.

This also fixes #460
2016-03-25 19:58:00 +01:00
Simone Mainardi
2045df7053 Reworks MySQL queries according to the new schema 2015-12-07 18:39:35 +01:00
Luca Deri
c8e0bb24a4 Initial work for supporting communities (work in progress)
Fixrd bug in daily Lua script
2015-10-12 01:04:34 +02:00
Luca Deri
2767caa991 Added in preferences the ability to specify the MySQL data retention 2015-09-22 23:32:39 +02:00
Luca Deri
6aa141caa9 Code cleanup: removed code used very seldom such as host aggregations/contacts. This should reduce memory usage and make ntopng faster
Little progresses towards MySQL support
2015-08-08 01:13:59 +02:00
Luca
730d76b9f5 Initial import from SVN 2015-04-30 12:22:35 +02:00