Commit graph

1268 commits

Author SHA1 Message Date
emanuele-f
20e8b4aaca Implement getLatestTimestamp API 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
db5aabb611 Prevents large MySQL exports that could cause Lua OOMs 2018-08-10 15:50:28 +02:00
emanuele-f
a2fb8cf5a6 Fix missing series when unrelated tags are passed 2018-08-09 16:10:55 +02:00
emanuele-f
00e85721ff Fix bad values number check 2018-08-09 16:03:22 +02:00
emanuele-f
6ab25c9207 Properly skip InfluxDB empty points 2018-08-09 15:50:04 +02:00
emanuele-f
186fad5b09 Move regression and other tests to separate directory 2018-08-09 15:50:04 +02:00
emanuele-f
4f5878daec Fix influx2Series points bug with sampling 2018-08-09 15:50:04 +02:00
emanuele-f
d777c94219 Fix influx2Series points bug 2018-08-09 15:50:04 +02:00
emanuele-f
19ed505ff8 Improve influxdb listSeries 2018-08-09 11:58:40 +02:00
emanuele-f
9183e1042b Add check for possible nil fields 2018-08-08 19:28:35 +02:00
Luca Deri
5f77b18c80 Added ability to set live pcap duration and optional BPF filter 2018-08-08 16:33:37 +02:00
Luca Deri
30e22c3a71 Implemented multiple-pcap file download and monitor 2018-08-08 14:06:25 +02:00
emanuele-f
ae27a4c240 Fix grafana endpoint to use new timeseries api
Fixes #1874
2018-08-08 11:46:33 +02:00
Alfredo Cardigliano
dc36e289bb Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2018-08-07 19:57:43 +02:00
Alfredo Cardigliano
474193c5a0 live capture: added stop button, updating buttons state when the download terminates 2018-08-07 19:57:26 +02:00
Simone Mainardi
b5f96cf86a Implements allowed networks for database flows
Implements #1886
2018-08-07 19:38:05 +02:00
Alfredo Cardigliano
508f2ca8e5 live_traffic.lua now accepts start/stop/status, implemented NetworkInterface::stopLiveCapture and Lua API stopLiveCapture 2018-08-07 19:07:41 +02:00
emanuele-f
102a458ec1 Implement active flows vs local hosts chart 2018-08-07 17:45:41 +02:00
Alfredo Cardigliano
0b4188df9e localization update 2018-08-07 15:23:30 +02:00
Alfredo Cardigliano
8b5050606a live capture dialog to start pcap download (stop button is temporarily hidden) 2018-08-07 11:59:21 +02:00
Simone Mainardi
f7fdc40c72 Major nEdge code cleanup 2018-08-06 17:54:25 +02:00
emanuele-f
7cdbab5b6f Fix error in RRD topk number of points 2018-08-06 17:22:19 +02:00
emanuele-f
1e241b8d23 Chart improvements
- Better position for zoom out button
- Add 30min and 5min buttons
- Fix chart y label size
2018-08-06 13:14:15 +02:00
emanuele-f
1af40bd42f Improve InfluxDB support
- Automatically create the database at startup
- Add database name option
- Add maximum retention time option
- Check InfluxDB version
2018-08-03 16:32:06 +02:00
emanuele-f
303d36b382 Fix occasional RRD error in topk 2018-08-02 18:03:17 +02:00
Luca
19fcdc9ee8 Minor fix that lead to a warning 2018-08-02 17:09:01 +02:00
emanuele-f
0c602928be Improve charts data intervals 2018-08-02 16:34:52 +02:00
Simone Mainardi
d12a4d3009 Creates utility functions to handle restart after anomalous termination 2018-08-01 18:11:17 +02:00
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
emanuele-f
9e8b7e7f76 Fix influxdb missing past comparison line 2018-08-01 09:26:54 +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
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
3eeb37c3f0 Fixes invalid login page encoding 2018-07-25 18:15:04 +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
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