Commit graph

1293 commits

Author SHA1 Message Date
Simone Mainardi
0e258ce831 Implements flag for interfaces with mirrored traffic
Implements #1917
2018-08-28 18:27:53 +02:00
Simone Mainardi
a1a5d53c8e Improves Lua-based params validation
Fixes #1935
2018-08-28 15:08:34 +02:00
Luca
1ab11b6e9c Implemented Lua-based parameter validation 2018-08-25 13:32:15 +02:00
emanuele-f
f91a385eda Fix fist/last point issue on InfluxDB when data is not aligned 2018-08-24 15:33:22 +02:00
emanuele-f
c400bd3992 Check existing InfluxDB database to avoid errors for unprivileged users
Closes #1937
2018-08-24 10:10:55 +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
Simone Mainardi
dfb2401789 Reverts allowed interfaces fixes to make room for simplified code 2018-08-20 22:51:51 +02:00
emanuele-f
354dd697c0 Add max value checks for traffic and packets metrics 2018-08-20 16:19:01 +02:00
Luca Deri
4622ba92cd Updated geolocation (fixed warning)
Updated blacklist URL
2018-08-20 15:07:40 +02:00
Simone Mainardi
28b19afd8a Fixes security issues with interfaces selection
Fixes #1918
2018-08-20 13:37:32 +02:00
emanuele-f
df6bff9fbb Localization 2018-08-17 18:02:36 +02:00
emanuele-f
f3497eb37c Graphs improvements
- Show begin and end time in the graph info table
- Show "Custom" zoom resolution when zoom is active and make it clickable to jump to it later
- Hide past time comparison series by default if too high
2018-08-17 15:00:42 +02:00
emanuele-f
0caf680dc0 Fix influx2Series bugs and add more tests 2018-08-17 15:00:42 +02:00
emanuele-f
102da47f26 Add initial point to the graph to match the selected time frame 2018-08-16 17:55:31 +02:00
emanuele-f
6ba093872f Fix multiple alignment issues with timeseries 2018-08-16 17:06:38 +02:00
Luca Deri
8410799aaa Changes for nIndex 2018-08-14 12:05:24 +02:00
emanuele-f
cacbdaa9e7 Fix compatibility with ntopng 3.4 RRD format 2018-08-13 18:41:45 +02:00
emanuele-f
da3cbe7b8c Fix bad step when upsampling 2018-08-13 18:41:45 +02:00
emanuele-f
d4ea15619f Add support for InfluxDB authentication 2018-08-13 14:36:06 +02:00
Luca Deri
5c635ef87f Added preference (Logging sub-menu) to create a trace log (ntopng.log) instead of using syslog 2018-08-11 13:42:13 +02:00
Simone Mainardi
8ca0bcc71a Factorization of live traffic download code 2018-08-10 19:14:39 +02:00
emanuele-f
1d1827a5d8 Fix timeseries exist check 2018-08-10 18:54:30 +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
95a4722878 Chart improvements
- Remove trend in top senders/receivers
- Fix top senders/receivers step
- Show second axis in custom charts
- Avoid hiding series when second axis is show
2018-08-10 18:54:30 +02:00
emanuele-f
8ba803a766 Improve influxDB version check and set 1.5.1 as min required 2018-08-10 18:54:30 +02:00
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