Commit graph

406 commits

Author SHA1 Message Date
Simone Mainardi
1ae2b2d932 Refactors NtopngUtils into NtopUtils 2020-08-18 15:10:04 +02:00
Simone Mainardi
e61f9ffe68 Refactor JS code into class NtopngUtils
Implements #3735
2020-08-18 14:13:48 +02:00
gabryon99
86175b2b5b removed redundant host pool defaul inside dropdown 2020-07-30 16:13:31 +02:00
gabryon99
b83108e423 fixed Add new Pool description 2020-07-21 17:24:43 +02:00
gabryon99
849e6b1acb fixed broken link to the host pools 2020-07-21 10:34:00 +02:00
Simone Mainardi
749942c7a5 Reworks pool change dropdowns with the new lua implementation 2020-07-16 17:38:20 +02:00
gabryon99
2aea87d8b8 highlight timeframe selection in if_stats.lua 2020-07-08 11:16:28 +02:00
Simone Mainardi
5ade224d85 Implements global host pools
Implements #4086

Refactors host pools to global

Implements host pools migration

Migration fixes

nEdge changes for host pools migration

Create README.host_pools_migration.md
2020-07-01 12:02:09 +02:00
Alfredo Cardigliano
a03c2158d8 Remove useless chart with duplicated info 2020-07-01 11:54:25 +02:00
Simone Mainardi
b8eabac4ba Adds timeseries of database dumped/dropped flows 2020-06-25 15:11:46 +02:00
emanuele-f
eea288dee9 Add on-off switch template
Addresses #3513
2020-05-21 17:22:00 +02:00
emanuele-f
610e632234 Add comments/remove table.clone when not needed 2020-05-21 11:10:47 +02:00
emanuele-f
c92404757e Add interface score 2020-04-27 18:01:48 +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
Alfredo Cardigliano
2425134f05 Replace isEnterprise with isEnterpriseM 2020-04-02 12:36:34 +00:00
emanuele-f
816cc80667 Fix script failure in community charts
Fixes #3605
2020-04-02 10:26:47 +02:00
emanuele-f
a8c049b58f Add check for possibly nil ts value
Should address #3605
2020-03-23 12:40:44 +01:00
emanuele-f
4094662148 Hide packets-related pages in nEdge
Fixes #3586
Fixes #3585
2020-03-20 17:45:38 +01:00
Simone Mainardi
e1c437ff51 Fixes active entry in dropdown menus not highlighted
Fixes #3546
2020-03-18 15:07:54 +01:00
Simone Mainardi
a28705cc11 Removes a debug print 2020-03-18 12:48:48 +01:00
Simone Mainardi
6cef43633f Fixes community y-axis labels
Fixes #3147
2020-03-18 12:46:44 +01:00
Simone Mainardi
4b8c82b924 Fixes wrong upsampling of certain dashboard data
FixesÃ#3563
2020-03-18 09:29:42 +01:00
Simone Mainardi
2597d02e03 Removes non-standard ts query function 2020-03-17 14:28:16 +01:00
emanuele-f
1ec35cadbf Fix invalid engaged/dropped alerts ts on system interface
Fixes #3556
2020-03-17 12:25:36 +01:00
gabryon99
e2dcd862b8 fix for ticket #3546 2020-03-16 17:29:33 +01:00
emanuele-f
b0520ee189 Improve localization support
- nDPI categories are now localized (see getCategoryLabel)
- Add some missing localization in plugins/user scripts pages
2020-03-03 18:26:14 +01:00
emanuele-f
b194643a18 Join exported and dropped flows into a single timeseries 2020-02-27 12:15:53 +01:00
emanuele-f
ea4f936d07 Join interface packets and drops into a single timeseries 2020-02-27 12:09:43 +01:00
emanuele-f
a6dab125d5 Improve dropped alerts information
- Add informative label
- Add dropped alerts timeseries and chart
- Generate a system alert whenever alerts are dropped on a network interface
- Add a periodic activity warning when some alerts are dropped on that activity

Closes #3025
2020-02-26 16:05:19 +01: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
gabryon99
041d84ac1b default timeseries in local variable 2020-02-24 10:45:15 +01:00
emanuele-f
d1140ec9fd Avoid timeseries read operations to display the chart icon
Now the icon is displayed whenever the timeseries are enabled for the given context
2020-02-19 13:27:20 +01:00
Alfredo Cardigliano
7c90b3b79b Fix link rendering in stackedProgressBars 2020-02-16 11:19:19 +01:00
Alfredo Cardigliano
da6f1c354d Add system stats REST endpoint. Load disk space utilzation via AJAX (fix #3421) 2020-02-16 11:01:04 +01:00
Gabriele Pappalardo
ca932105bf
fix for system chart axes (#3387)
* fix for system chart axes

* byte_to_size for resident_bytes
2020-02-07 09:08:44 +00:00
emanuele-f
ac553e9470 Hide alerts count if allowed networks restrictions are set 2020-02-06 16:02:01 +01:00
Gabriele Pappalardo
a2f4a1a065 elephant flows (#3269)
* elephant flows
* fix for apply button after changes
* fix for refresh icons on index.lua page, scrollable dropdowns enabled
2020-01-21 16:32:14 +00:00
emanuele-f
d7528e1628 Score improvements
The score is now calculated differently on the client and on the server of the flow.
The hosts flow is updated every minute and charted.
It's now possible to trigger an alert when the score threshold is exceeded
2020-01-15 12:34:16 +01:00
Luca Deri
170bc60f19 Updated (C) 2020-01-08 23:52:51 +01:00
gabryon99
2824162cd5 fix for issue #3154 2019-12-30 21:42:46 +01:00
Simone Mainardi
dacaa7e3db Migrates font-awesome 5 fa to fas 2019-12-18 11:50:02 +01:00
Simone Mainardi
7402bbdd14 FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
Alfredo Cardigliano
9e01d1d13c Storage legend layout (fix #3108) 2019-12-09 10:58:05 +01:00
Luca Deri
bac7c05e4b Various cosmetic fixes 2019-12-07 17:29:49 +01:00
Simone Mainardi
1aa0546b85 Bootstrap migration dropdown style fixes 2019-12-05 09:27:48 +01:00
Simone Mainardi
a34a326d4c Bootstrap migration glyphicon filter to fa 2019-12-05 09:27:48 +01:00
Simone Mainardi
db272831e9 Bootstrap migration tabs 2019-12-05 09:27:47 +01:00
Simone Mainardi
2fd08cf6f3 Bootstrap migration timeseries dropdown dividers and headers 2019-12-05 09:27:47 +01:00
Simone Mainardi
6d36e7cb76 Bootstrap migration btn-default to btn-secondary 2019-12-05 09:27:47 +01:00