Commit graph

31 commits

Author SHA1 Message Date
Luca Deri
643e78f8d5 Implements most of #4113
- Removed unused google assistant scripts
- Cleaned up existing REST calls using _POST["payload"]

The _GET["parameter"] element is still present and it will be removed soon
2020-07-06 18:06:40 +02:00
Simone Mainardi
77a32cb19b Updates ts.lua for queries with different timezones
Fixes #3924
2020-05-13 16:39:37 +02:00
emanuele-f
947fee33b2 Write 0 in timeseries for unreachable monitored hosts 2020-04-17 16:19:56 +02:00
emanuele-f
35be58ede9 Fix speed test alerts not generated 2020-04-17 12:22:45 +02:00
Simone Mainardi
3744ace4f8 Refactors graph_utils and nv_graph_utils
Addresses #3720

Refactor: create module graph_utils

Refactor: get_timeseries_layout

Refactor: get_default_timeseries

Refactor: getDeviceCommonTimeseries

Refactor: printCategoryDropdownButton

Refactor: printPoolChangeDropdown

Refactor: poolDropdown

Refactor: printProtocolQuota

Refactor: printGraphTopFlows

Refactor: drawGraphs

Refactor: printNotes

Refactor: getMinZoomResolution

Refactor: printSeries

Refactor: zoom_vals

Refactor: getZoomDuration

Refactor: getZoomAtPos

Refactor: stackedProgressBars

Refactor: percentageBar

Refactor: breakdownBar

Refactor: getProtoVolume

Refactor: normalizeSeriesPoints

Refactor: nv_graph_utils

Refactor: extendLabels

Refactor: getAlertGraphLink

Refactor: performCustomQuery

Refactor: drawProGraph

Refactor: unifies nv_graph_utils and graph_utils
2020-04-10 09:47:32 +02:00
gabryon99
b5dbd9b5cd added layout to graphs 2020-02-24 14:35:09 +01:00
Luca
b4aae5d97a Added graph layout info 2020-02-24 10:57:40 +01:00
Luca Deri
170bc60f19 Updated (C) 2020-01-08 23:52:51 +01:00
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
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
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
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
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
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
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
Luca Deri
36b34389ac Initial work towards REST-ful code rework 2019-01-30 10:54:09 +01:00