Commit graph

75 commits

Author SHA1 Message Date
Alfredo Cardigliano
9687f6f5f1 Fix footer stats 2019-07-15 19:20:58 +02:00
Alfredo Cardigliano
1a23ccb07f Using interface name in 'ifname', fixes #2719 #2720 2019-07-15 17:40:56 +02:00
Simone Mainardi
28d869f481 Fixes interface selection in rest/get/interface/data under Windows 2019-07-03 17:30:03 +02:00
emanuele-f
a9d3c78587 Alerts changes
NOTE: database schema changed. Existing alerts will be lost.

- Unified engaged and closed tables
- Simplified hosts engaged alert counters handling: periodically set by lua
- Removed alert engine and replaced with alert periodicity
- Now engage is implicitly derived from the alert end timestamp and periodicity
- New alerts_api.lua to easily emit alerts
- Removed past alerts counter aggregation by hash
- Alert notifications for non-flow alerts are now removed from C and triggered by lua
2019-06-28 10:47:17 +02:00
emanuele-f
f9f341b2ca Add preference to enable l7 total flow timeseries 2019-06-27 10:01:12 +02:00
emanuele-f
c506ef6aeb Implement L7 num flows charts 2019-06-27 10:00:14 +02:00
Simone Mainardi
2200453862 Adds badge upon influxdb export errors 2019-06-26 16:29:08 +02:00
Simone Mainardi
4230d28f69 Fixes missing host JSON parts from /lua/rest/get/host/data.lua
Fixes #2674
2019-06-21 14:29:29 +02:00
emanuele-f
43078c6758 Fix continuos queries not created on system scripts ts 2019-06-07 19:44:21 +02:00
emanuele-f
1d6d52b4ea Rework system probes (now called system scripts) 2019-06-07 11:31:44 +02:00
emanuele-f
322bae547c Initial work towards generic system probes
Also implements InfluxDB latency chart as a POC
2019-06-06 21:16:26 +02:00
Alfredo Cardigliano
79c8da25d8 Added ifid param to rest/get/alert/data.lua 2019-04-29 19:15:24 +02:00
emanuele-f
9d09d2e616 Improve timeseries documentation
Hopefully the docs are now more usable for a beginner
2019-03-05 19:27:31 +01:00
emanuele-f
75747407dc Fix automatic abort in timeseries table 2019-02-28 10:15:29 +01:00
emanuele-f
4a97017f35 Fix mac-based serialization key and add a preference to enabled it (disabled by default) 2019-02-22 16:01:58 +01:00
emanuele-f
5089e4dabe Timeseries charts fixes 2019-02-22 11:16:41 +01:00
emanuele-f
dd37cafa12 Store and restore local broadcast domain hosts from their mac key
Charts now display the mac based data when browsing a local broadcast domain host.
This is an important change to avoid mixing historical information of different hosts in a dynamic network.

More changes will follow to migrate other historical elements, like flows, alerts and top stats.
2019-02-21 18:42:57 +01:00
emanuele-f
ee236edcd2 Add badge color for l2 devices
Fixes #2398
2019-02-19 10:47:36 +01:00
emanuele-f
29c6f1e1b2 Show minus sign when a binary indicator is not available in the selected point
Closes #2378
2019-02-18 13:12:39 +01:00
emanuele-f
bf044ac63b Fix charts showing old data when the last export is too old 2019-02-13 17:29:26 +01:00
emanuele-f
4d0f153b06 Avoid different number of points for past queries 2019-02-04 16:51:38 +01:00
emanuele-f
4f60243338 Implement timeseries data read from aggregated retention policies
Aggregation selector can be shown by setting "ntopng.prefs.influxdb.debug_aggregation" = "1"
2019-02-04 13:26:22 +01:00
emanuele-f
fb3a0b8659 Get timeseries data with timestamps 2019-01-31 16:31:37 +01:00
Alfredo Cardigliano
3381ddbcf5 REST endpoints update
get_alerts_data.lua -> rest/get/alert/data.lua, host_get_json.lua -> rest/get/host/data.lua, get_interface_data.lua -> rest/get/interface/data.lua, live_traffic_extraction.lua -> rest/get/pcap/live_extraction.lua
2019-01-30 14:18:45 +01:00
Luca Deri
36b34389ac Initial work towards REST-ful code rework 2019-01-30 10:54:09 +01:00