Commit graph

2147 commits

Author SHA1 Message Date
Simone Mainardi
b1684fc25f Implements detection and alerting of anomalous terminations 2018-08-01 16:58:15 +02:00
Simone Mainardi
e56cd25e8c Adds initial pool assoc. for nEdge http brige config 2018-08-01 12:48:35 +02:00
Alfredo Cardigliano
fedfdf17e0 check to avoid copying the same files twise (e.g. protocols file already in /etc/ntopng/) 2018-07-31 22:15:39 +02:00
emanuele-f
9e8b7e7f76 Fix influxdb missing past comparison line 2018-08-01 09:26:54 +02:00
Luca Deri
6849bddf86 Minor aggregation fixes 2018-08-01 01:43:26 +02:00
Luca Deri
67e03d92e6 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2018-08-01 00:00:12 +02:00
Luca Deri
9a45df85b9 Minor change 2018-07-31 23:59:44 +02:00
Alfredo Cardigliano
4e1ea506b9 using utility function to check user, typo 2018-07-31 17:43:39 +02:00
emanuele-f
802f48822f Improve timeseries charts visualization 2018-07-31 17:43:29 +02:00
emanuele-f
ffd6d9ac9f Add past period series for graphical comparison 2018-07-31 17:43:29 +02:00
Alfredo Cardigliano
3acc4e973d configuration backup (tar download) 2018-07-31 17:26:08 +02:00
Luca Deri
79d8c5451a Added topK nIndex implementation 2018-07-31 15:47:51 +02:00
emanuele-f
af1fc50ce6 Add preference to select the timeseries database to use 2018-07-30 12:53:55 +02:00
emanuele-f
44abcd442c Add POST timeout to prevent housekeeping from blocking indefinitely 2018-07-30 12:48:41 +02:00
Simone Mainardi
13ac7ca38c Adds log for host pool events 2018-07-30 11:44:28 +02:00
emanuele-f
78d349c79a Guard against ts_utils.listSeries nil return value
Fixes #1891
2018-07-30 09:16:40 +02:00
emanuele-f
8c5b4e4ae7 Fix report error at startup 2018-07-30 09:14:20 +02:00
Simone Mainardi
a131b99033 Fixes invalid LDAP fields length 2018-07-26 15:54:13 +02:00
Simone Mainardi
43c6f6e3fd Relaxes too restrictive login username pattern
Login pattern was too restrictive for example for those using LDAP.
So even if there are limitations in the characters of ntopng usernames,
one can still use external login systems and be able to login with usernames
containing special characters.

Fixes #1884
2018-07-25 23:29:35 +02:00
Simone Mainardi
74a3ec1677 Fixes encoding for local/LDAP UTF-8 passwords 2018-07-25 23:20:59 +02:00
Simone Mainardi
3eeb37c3f0 Fixes invalid login page encoding 2018-07-25 18:15:04 +02:00
Simone Mainardi
93bd916302 Minor html fix 2018-07-25 15:45:05 +02:00
Simone Mainardi
4f3f3f428a Fixes missing top visited websites
Fixes #1883
2018-07-25 15:42:39 +02:00
Simone Mainardi
0b86f17a21 Prevents RRD files exception on fresh ntopng installs
Prevents

25/Jul/2018 13:18:19 [LuaEngine.cpp:4325] ERROR: Error 'opening '/var/tmp/ntopng/0/rrd/SSL.rrd': No such file or directory' while calling rrd_fetch_r(/var/tmp/ntopng/0/rrd/SSL.rrd, AVERAGE): is the RRD corrupted perhaps?
25/Jul/2018 13:18:19 [dashboard.lua:78] [rrd.lua:327] RRD driver does not support listSeries on multiple tags
25/Jul/2018 13:18:19 [LuaEngine.cpp:4325] ERROR: Error 'opening '/var/tmp/ntopng/0/rrd/HTTP.rrd': No such file or directory' while calling rrd_fetch_r(/var/tmp/ntopng/0/rrd/HTTP.rrd, AVERAGE): is the RRD corrupted perhaps?
25/Jul/2018 13:18:19 [dashboard.lua:78] [rrd.lua:327] RRD driver does not support listSeries on multiple tags
25/Jul/2018 13:18:19 [LuaEngine.cpp:4325] ERROR: Error 'opening '/var/tmp/ntopng/0/rrd/SSH.rrd': No such file or directory' while calling rrd_fetch_r(/var/tmp/ntopng/0/rrd/SSH.rrd, AVERAGE): is the RRD corrupted perhaps?
25/Jul/2018 13:18:19 [dashboard.lua:78] [rrd.lua:327] RRD driver does not support listSeries on multiple tags
25/Jul/2018 13:18:19 [LuaEngine.cpp:4325] ERROR: Error 'opening '/var/tmp/ntopng/0/rrd/Unknown.rrd': No such file or directory' while calling rrd_fetch_r(/var/tmp/ntopng/0/rrd/Unknown.rrd, AVERAGE): is the RRD corrupted perhaps?
25/Jul/2018 13:18:19 [dashboard.lua:78] [rrd.lua:327] RRD driver does not support listSeries on multiple tags
25/Jul/2018 13:18:19 [LuaEngine.cpp:4325] ERROR: Error 'opening '/var/tmp/ntopng/0/rrd/sFlow.rrd': No such file or directory' while calling rrd_fetch_r(/var/tmp/ntopng/0/rrd/sFlow.rrd, AVERAGE): is the RRD corrupted perhaps?
25/Jul/2018 13:18:19 [dashboard.lua:78] [rrd.lua:327] RRD driver does not support listSeries on multiple tags
25/Jul/2018 13:18:19 [LuaEngine.cpp:4325] ERROR: Error 'opening '/var/tmp/ntopng/0/rrd/DNS.rrd': No such file or directory' while calling rrd_fetch_r(/var/tmp/ntopng/0/rrd/DNS.rrd, AVERAGE): is the RRD corrupted perhaps?
25/Jul/2018 13:18:19 [dashboard.lua:78] [rrd.lua:327] RRD driver does not support listSeries on multiple tags
25/Jul/2018 13:18:19 [LuaEngine.cpp:4325] ERROR: Error 'opening '/var/tmp/ntopng/0/rrd/ICMP.rrd': No such file or directory' while calling rrd_fetch_r(/var/tmp/ntopng/0/rrd/ICMP.rrd, AVERAGE): is the RRD corrupted perhaps?
25/Jul/2018 13:18:19 [dashboard.lua:78] [rrd.lua:327] RRD driver does not support listSeries on multiple tags
2018-07-25 13:26:12 +02:00
Simone Mainardi
d14fd57858 Adapts old bytes and packets rrd RRAs to the new format
The new timeseries library now transparently tries and uses old RRA names
for bytes and packets.

Fixes #1882
2018-07-25 13:10:34 +02:00
Simone Mainardi
c392a17dec Adds localization strings for management interface bind 2018-07-24 13:26:22 +02:00
Luca
f16a39ef04 Reworked live packet capture for both hosts and interfaces 2018-07-24 11:57:31 +02:00
Simone Mainardi
6e6dcdbf8b Adds lua endpoint to download live pcaps 2018-07-23 19:39:59 +02:00
Simone Mainardi
4ce97fe86d Implements live pcap capture and download 2018-07-23 19:28:00 +02:00
emanuele-f
5ec9557109 Timeseries driver documentation. 2018-07-22 21:07:01 +02:00
emanuele-f
f0458e4d7a Document ts_utils API 2018-07-22 20:14:27 +02:00
emanuele-f
8d64737dc6 Initial timeseries documentation 2018-07-21 16:49:29 +02:00
emanuele-f
efaabaa2c6 Fix swapped columns in RRD driver 2018-07-20 20:02:46 +02:00
emanuele-f
0dbf689987 Add test for influx2Series 2018-07-20 19:32:20 +02:00
emanuele-f
12c8fc3156 Fix occasional series ponts differences in InfluxDB 2018-07-20 19:12:29 +02:00
emanuele-f
3612c64f91 Fix nil data_type and add series consinstency check 2018-07-20 15:38:13 +02:00
emanuele-f
a4da1294e6 Fix nedge errors in graph_utils 2018-07-20 14:39:17 +02:00
emanuele-f
4cafac6a81 Fix InfluxDB charts statistics 2018-07-20 14:39:17 +02:00
emanuele-f
1baa2ae393 Add missing script 2018-07-20 14:39:17 +02:00
emanuele-f
d0169db76d Fix issue with empty points in influxDB gauge metrics 2018-07-20 14:39:17 +02:00
emanuele-f
667bc2e8c6 Move ninetififthPercentile to common utilities 2018-07-20 14:39:17 +02:00
Simone Mainardi
25588290eb Implements crypto miners alerts toggle
Implements #1826
2018-07-20 13:15:06 +02:00
emanuele-f
61e2d6f85e InfluxDB chart fixes and query examples 2018-07-19 17:21:41 +02:00
Simone Mainardi
1c27af9b90 Initial flows dbms api skeleton 2018-07-18 17:24:25 +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
Simone Mainardi
55351fa8b4 Fixes subnet search in hist data explorer 2018-07-18 08:37:21 +02:00
Luca Deri
8eb25b54b5 Lua cleanup 2018-07-17 11:50:05 +02:00
Simone Mainardi
eae1ec0d06 Fixes set of alias/manuf for networks
Fixes #1805
2018-07-16 17:45:12 +02:00
Simone Mainardi
77c0f349d1 Migrates geolocation to GeoLite2 and libmaxminddb
Migrates class Geolocation to the new libmaxminddb

Handles static/dynamic compilation of libmaxminddb

Adds missing configure/make files for libmaxminddb

Adds libmaxminddb to travis.yml

Adds dev libmaxminddb to .travis.yml

Removes t Makefile

Removes missing ubuntu14 libmaxminddb-dev

Run autoreconf on libmaxminddb

Adds autoreconf to libmaxminddb static build

Adds libmaxminddb dependency to packages

Adds new *.mmdb files to debian/ubuntu ntopng-data

Adds new *.mmdb files to centos6/7 ntopng-data

Removes old libgeoip dep in favor of libmaxminddb

Adds back old .dat to debian/ubuntu ntopng-data

Adds back old .dat to centos ntopng-data

Adds autoreconf for travis

Removes libmaxminddb autoreconf from travis

Removes third-party libmaxminddb

Removes static build of libmaxminddb

Removes old libgeoip1 dependencies

Updates readme with libmaxminddb

Adds geolite attribution
2018-07-13 12:03:15 +02:00
emanuele-f
0472cc6698 Fix slack channels not hidden 2018-07-12 20:46:12 +02:00