Commit graph

90 commits

Author SHA1 Message Date
emanuele-f
6bbb828ead Implement Category Lists editor to manage ip/domain lists 2019-02-11 15:47:17 +01:00
emanuele-f
229c3b13c9 Implement initial InfluxDB rollup support
Currently disabled, enable with
  redis-cli set ntopng.prefs.beta_rollup 1
2019-01-31 12:02:40 +01:00
Simone Mainardi
5317d23fc2 Disables ZMQ flow collection drop alerts (waiting to make them engaged)
Revert "Implements ZMQ flow collection drops alerts"

This reverts commit d21e8d6f3e.
2019-01-24 15:02:22 +01:00
Simone Mainardi
d21e8d6f3e Implements ZMQ flow collection drops alerts 2019-01-23 19:42:18 +01:00
Simone Mainardi
07eaeb2bcd Fixes received ZMQ flows wrongly stored as gauge 2019-01-23 17:35:13 +01:00
Simone Mainardi
aac5c792b7 Fixes timeseries 'missing metric' errors 2019-01-23 17:30:46 +01:00
Simone Mainardi
fa3d346f58 Adds historical charts of flow collection drops 2019-01-23 16:16:55 +01:00
Emanuele Faranda
1bf7da7ef7 Implements Mac stats/data reset and reset at midnight (#2326)
* Host data/stats delete improvements

* Rework mac counters and implemtent mac stats/data reset

* Implement stats reset at midnight

* Add missing files
2019-01-21 17:27:12 +01:00
emanuele-f
467cbf9904 Implement ingress/egress traffic charts
Closes #1452
2019-01-10 16:12:50 +01:00
emanuele-f
08a8c67966 Implement interface in/out stats read from proc 2019-01-10 12:35:07 +01:00
emanuele-f
e3952dbb48 Add exported/dropped flows/sec timeseries
Implements #2300
2019-01-09 16:15:40 +01:00
Simone Mainardi
28e87d93bc Implements configurable session termination and midnight expire 2019-01-08 12:33:39 +01:00
emanuele-f
606de5197b Replace pcall with require to catch errors 2018-12-11 18:56:46 +01:00
emanuele-f
23d0c61d91 Fix "Script failure module '5min' not found" 2018-12-05 13:30:25 +01:00
emanuele-f
9f756fa23f Fix error causing daily script to fail
Fixes #2198

Since the daily script always failed, no top talkers sampling aggregations were applied and raw samplings where computed
2018-12-05 13:18:25 +01:00
Simone Mainardi
b8f4ead32f Fixes startup crashes due to overlapping reloadListsNow() 2018-12-03 15:24:37 -08:00
emanuele-f
1543526385 Initial support for multiple auth types 2018-11-30 21:21:28 +01:00
emanuele-f
6ca5e38587 Move services check at startup 2018-11-26 12:04:45 +01:00
emanuele-f
eac278a28d Implement remote assistance
- It enables a VPN via n2n
- Remote assistance will be automatically disabled after 1 day
- Optionally it's possible to give admin access to the support
2018-11-23 13:03:11 +01:00
Simone Mainardi
3f275417a3 Fixes race conditions with custom categories reload 2018-11-19 17:03:58 +01:00
Alfredo Cardigliano
7c51217844 moved select outside the presets module 2018-10-22 10:26:12 +02:00
Alfredo Cardigliano
0265d84479 runExtraction/isExtractionRunning lua api 2018-10-16 09:44:51 +02:00
Simone Mainardi
f30e042cfc Implements data cleanup for pcap interfaces
Implements #2092
2018-10-11 18:10:30 +02:00
emanuele-f
aa1ead94c4 Add Customized Categories editor
Also unify the blacklist category handler to use the nDPI API
2018-10-10 18:41:47 +02:00
Simone Mainardi
ddf49ef106 Implements remote-to-remote host alerts
Implements #2057
2018-10-10 12:16:59 +02:00
Simone Mainardi
5a36c9cd78 Implements data deletion for active interfaces
Implements #2042
2018-10-03 12:44:32 +02:00
emanuele-f
5e1daf470a Implement device presets reset to defaults 2018-10-02 15:00:55 +02:00
Alfredo Cardigliano
2ac9e5406c device policies initialization 2018-09-29 09:59:15 +02:00
Simone Mainardi
df45cac64f Implements SNMP devices iterator
The iterator has the ability to stop when there is
an ntopng shutdown in progress
2018-09-12 20:01:19 +02:00
Simone Mainardi
6d50076bec Dumps changed preference at most every minute
Fixes #1993
2018-09-07 16:46:28 +02:00
emanuele-f
a594e648c4 Generalize high resolution timeseries
In InfluxDB, 5 minutes timeseries are now written with a minimum of 1 minute resolution
2018-09-03 14:43:52 +02:00
emanuele-f
0004e08191 Add experimental support for 5sec granularity for host timeseries
To enable it (only on *InfluxDB* right now):

- uncomment HOST_NUM_TIMESERIES_POINTS in ntop_defines.h
- run `redis-cli set ntopng.prefs.30_sec_dump 1` and restart ntopng
2018-08-23 18:10:46 +02:00
emanuele-f
354dd697c0 Add max value checks for traffic and packets metrics 2018-08-20 16:19:01 +02:00
emanuele-f
6ba093872f Fix multiple alignment issues with timeseries 2018-08-16 17:06:38 +02:00
emanuele-f
019665c111 Fix interface timeseries being written even if the preference is disabled 2018-08-10 18:54:30 +02:00
emanuele-f
b2107b6f36 Move influxdb data export into driver api 2018-08-10 18:54:30 +02:00
Simone Mainardi
d12a4d3009 Creates utility functions to handle restart after anomalous termination 2018-08-01 18:11:17 +02:00
Emanuele Faranda
4cbe45a948
New pro charts features and timeseries api (#1865)
* Integrate modified nvd3 library with zoom and multicharts working support

* Fix count in RRD driver

* Initial chart ajax migration

* Update nvd3 with zoom stack support

* Fix RRD listSeries with directories

* Work in progress graphs

* Compatibility fix

* Initial support for schema based api

* Add missing script

* Fix listSeries for existance check

* Implement topk timseries api

* Implement topk queries and fix labels and formats

* Migrate interface top sender and receivers

* Migrate charts to new API

* Move timeseries list for menu inside respective scripts

* Add support for extended labels

* Fix missing fields while chaning graph resolution

Also Rename drawRRD in drawGraphs

* Fix historical tabs

* Add missing time fence in influx topk

* Add graphs support for custom statistics visualization

* Initial support for graphs statistics footer

* Implement statistics in single graphs for RRD driver

* Move sampling function into the driver and fix graph statistics

* Fix max/min value offset

* Implement influxdb sampling use built-in FILL

* Implement stats and total serie in influxdb driver

* Update nvd3 with multiChart fixes

* Update nvd3 with new multiChart fixes

* RRD driver fixes

* Move metrics type from single metric to schema

* Handle ajax errors and empty data in charts

* Fix flow device interfaces graphs

* Use timeserie label as timeseries dropdown text

* Implement topk aggregation into one data serie

* ts_utils module now provides all the schemas

* Migrate ntop.exist(rrd) to ts_utils.exist

* Fix timeseries dropdown label

* L4 protos fixes for charts

* Migrate getProtoVolume to new API

* Integrate nvd3 fix for tooltip position

* Initial community graphs migration to timseries API

* Fix community timeseries dropdown and historical tabs

* Hide total serie by default

* Remove l4 protos from topk charts
2018-07-18 15:09:19 +02:00
emanuele-f
5d50622341 Use schema name in timeseries API 2018-06-27 17:18:23 +02:00
Simone Mainardi
67f7cdb47e Implements Netfilter queue flush alerts 2018-06-15 16:23:05 +02:00
Simone Mainardi
c382fd4631 Adds nEdge netfilter stats rrds 2018-06-15 00:34:26 +02:00
emanuele-f
bbfb40cc9f Add user members management page in nedge 2018-06-06 20:11:47 +02:00
emanuele-f
8c104817a1 Optimize timeseries schemas 2018-06-01 11:16:57 +02:00
Luca Deri
f1b50009f6 Added PERIODIC_DEBUG for debugging purposes 2018-05-29 08:11:22 +02:00
emanuele-f
42083f1865 Rework influxdb exporter 2018-05-25 13:52:06 +02:00
emanuele-f
cb56b5d5ec Implement layer above RRD for timeseries storage 2018-05-25 10:04:18 +02:00
Simone Mainardi
1e40769cc3 Adds caching of SNMP devices interfaces status 2018-05-21 16:57:38 +02:00
Simone Mainardi
6390a4f259 Removes unnecessary snmp_check_device_status function call 2018-05-16 12:09:10 +02:00
Simone Mainardi
9dd2ae14a8 Implements SNMP iterfaces status change alerts 2018-05-15 15:19:09 +02:00
emanuele-f
89d203883f Add support for custom categories lists
- Extend malware hosts from list
- Read web mining hosts from list and generate alerts
2018-05-10 17:12:53 +02:00