Commit graph

45 commits

Author SHA1 Message Date
emanuele-f
33949d31fd Rework benchmark stats and charts 2019-10-31 17:48:53 +01:00
emanuele-f
e978a83151 Improve user scripts charts
Fixes #3020
2019-10-31 13:30:24 +01:00
emanuele-f
34c196d99e User scripts stats improvements 2019-10-30 10:53:54 +01:00
emanuele-f
63660b59f4 Add stacked top user scripts chart 2019-10-29 16:36:00 +01:00
emanuele-f
10aa5542f8 Rework alertEntity functions to avoid modules circular dependencies
Fixes #2975
2019-10-23 13:01:57 +02:00
emanuele-f
b217909966 Split flow status definitions in multiple files 2019-10-15 17:28:45 +02:00
emanuele-f
2fdc860ed2 Add support for custom flow alerts in user scripts 2019-10-11 19:48:11 +02:00
emanuele-f
d7632494dd Fix additional point in past series 2019-09-20 18:49:28 +02:00
emanuele-f
6e138b8bd4 Fix mismatched number of points between current and past series 2019-09-20 18:49:28 +02:00
Simone Mainardi
7f150ef407 Implements alerted flows counters and shows them in the footer
Implements #2863
2019-09-19 15:15:32 +02:00
emanuele-f
d29bb578c0 Add last-timestamp check to avoid adding invalid 0 points in the charts
The issue occurred in InfluxDB due to a delay between buffering and actual export.
This possible addresses #2853
2019-09-16 20:04:30 +02:00
Simone Mainardi
72ebd961c9 Adds ZMQ total message and avg flows/msg counters 2019-09-09 12:57:04 +02:00
emanuele-f
c97ef3d908 Implement host MUD recording and dump 2019-09-04 21:20:52 +02:00
Simone Mainardi
ca56f94cef Implements per-interface updateStats variable frequency 2019-09-04 19:27:55 +02:00
Simone Mainardi
b86378bca3 Implements ul/dl thpts in C and reworks the footer to use them 2019-09-03 18:56:23 +02:00
Simone Mainardi
a5b5510290 Adds bytes and packets throughput to NetworkInterface 2019-09-03 17:16:47 +02:00
emanuele-f
ee9e5ec9de Unify alerts and alerts notifications format 2019-07-30 18:12:58 +02:00
emanuele-f
c183a577be Alerts API cleanup and JSON migration 2019-07-29 15:17:22 +02:00
emanuele-f
3383ac0913 Implement dropped alerts per-interface counter 2019-07-18 17:29:05 +02:00
Alfredo Cardigliano
a76059bb11 Added ifid to rest/get/interface/data.lua 2019-07-16 10:22:10 +02:00
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