Commit graph

87 commits

Author SHA1 Message Date
Luca Deri
a1178a0791 Updated (C) 2021-01-02 12:08:23 +01:00
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
Simone Mainardi
831dcfff83 Fixes for unbinding host pool members 2020-07-17 11:43:31 +02:00
Simone Mainardi
864e214f2f Migrates mac_details.lua to use the new lua host pools class 2020-07-16 17:07:44 +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
Simone Mainardi
5bb52b1793 Changes to support snmp_location.lua module 2020-06-22 15:26:20 +02:00
Simone Mainardi
0bbb30e13e Refactors snmp_utils global methods into module functions 2020-06-10 13:09:30 +02:00
Simone Mainardi
8a3e65ac50 Requires snmp_utils as local module 2020-06-10 12:17:25 +02:00
emanuele-f
ba5c64b107 Rework host label getters
This fixes inconsistencies across the ntopng gui

Addresses #3699
2020-05-07 17:47:18 +02:00
emanuele-f
ebe2e78b7e Split RX/TX in other charts 2020-04-24 17:41:52 +02:00
Simone Mainardi
e487427aab Refactors alert_utils and enterprise_alert_utils
Addresses #3720

Alerts Refactor: alert_utils as module

Alerts Refactor: notify_ntopng_start and notify_ntopng_stop

Alerts Refactor: processAlertNotifications

Alerts Refactor: checkStoreAlertsFromC

Alerts Refactor: formatAlertNotification

Alerts Refactor: notification_timestamp_rev

Alerts Refactor: formatAlertMessage

Alerts Refactor: getConfigsetAlertLink

Alerts Refactor: alertNotificationActionToLabel

Alerts Refactor: flushAlertsData

Alerts Refactor: disableAlertsGeneration

Alerts Refactor: newAlertsWorkingStatus and other

Alerts Refactor: drawAlerts

Alerts Refactor: drawAlertTables

Alerts Refactor: printAlertTables

Alerts Refactor: checkDeleteStoredAlerts

Alerts Refactor: getUnpagedAlertOptions

Alerts Refactor: getTabParameters

Alerts Refactor: getAlerts

Alerts Refactor: getNumAlerts

Alerts Refactor: performAlertsQuery

Alerts Refactor: sec2granularity

Alerts Refactor: granularity2id

Alerts Refactor: granularity2sec

Alerts Refactor: alertEngineLabel

Alerts Refactor: alertEngine

Alerts Refactor: alertEngineRaw

Alerts Refactor: alertTypeDescription

Alerts Refactor: alertType

Alerts Refactor: alertTypeLabel

Alerts Refactor: alertTypeRaw

Alerts Refactor: alertSeverity

Alerts Refactor: alertSeverityLabel

Alerts Refactor: alertSeverityRaw

Alerts Refactor: get_make_room_keys

Alerts Refactor: enterprise_alert_utils
2020-04-10 14:03:20 +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
Simone Mainardi
8f63bcdd43 Fixes missing config page from mac_details.lua 2020-04-03 12:48:15 +02:00
gabryon99
ce0e3d2d11 fix for system view 2020-03-24 12:39:08 +01:00
gabryon99
7479582210 fix system view and add rtt host from host_details 2020-03-23 17:38:22 +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
emanuele-f
4f6788fb58 New page_utils api to handle sidebar subitems selection 2020-01-30 11:53:13 +01:00
Luca Deri
170bc60f19 Updated (C) 2020-01-08 23:52:51 +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
ade466ddd0 Fix save button alignment 2019-12-06 09:57:46 +01:00
Simone Mainardi
b8f867a4bf Bootstrap migration fa to fa-lg navbar icons 2019-12-05 18:46:21 +01:00
Simone Mainardi
04d662a540 Bootstrap migration host pools navbar 2019-12-05 09:27:47 +01:00
Simone Mainardi
2821f04ba9 Bootstrap migration network mac navbar 2019-12-05 09:27:47 +01:00
Simone Mainardi
bd30b4ad8e Tentative navbar for mac details 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
Simone Mainardi
a893e0a2c0 Implements IP addresses retrieval by Mac address 2019-11-20 18:44:01 +01:00
Emanuele Faranda
c829c4c3c3
Unify os (#2755)
* Unify OS information.

Now OS information is only stored into the Host. The lua uses numeric IDs to handle OS.

* Fix network discovery OS

* Show OS detail into the host details page
2019-08-08 12:09:51 +00:00
emanuele-f
372cb9eefe Show mac specific timeseries into the host menu
Closes #2557
2019-05-13 15:51:06 +02:00
Salvatore Costantino
1768d0b121 Modified ARP time series (#2520) 2019-04-09 15:28:29 +02:00
Salvatore Costantino
a121b6a4f8 Added ARP requests time series (#2496) 2019-04-01 16:11:37 +02:00
emanuele-f
4cb88b56a9 Remove DHCP flag on the MAC
Now the concept of DHCP host is bound to an Host rather than a Mac
2019-02-26 18:45:47 +01:00
emanuele-f
35d2e3cf27 Move extended SNMP location information to separate tab
Fixes #2379
2019-02-18 16:28:04 +01:00
Emanuele Faranda
1bf7da7ef7 Implements Mac stats/data reset and reset at midnight (#2326)
* Host data/stats delete improvements

* Rework mac counters and implemtent mac stats/data reset

* Implement stats reset at midnight

* Add missing files
2019-01-21 17:27:12 +01:00
emanuele-f
ec5b209ffa Add missing active_page 2018-12-12 10:18:21 +01:00
Alfredo Cardigliano
6d7de7bd57 Moved header for all pages to page_utils 2018-11-29 18:10:18 +01:00
Simone Mainardi
3291161aed Fixes userddefined device type overwritten by ntopng
Fixes #2084
2018-10-12 16:51:38 +02:00
emanuele-f
eb79229048 Implement alerts links to graphs 2018-09-20 20:18:12 +02:00
Emanuele Faranda
4cbe45a948
New pro charts features and timeseries api (#1865)
* Integrate modified nvd3 library with zoom and multicharts working support

* Fix count in RRD driver

* Initial chart ajax migration

* Update nvd3 with zoom stack support

* Fix RRD listSeries with directories

* Work in progress graphs

* Compatibility fix

* Initial support for schema based api

* Add missing script

* Fix listSeries for existance check

* Implement topk timseries api

* Implement topk queries and fix labels and formats

* Migrate interface top sender and receivers

* Migrate charts to new API

* Move timeseries list for menu inside respective scripts

* Add support for extended labels

* Fix missing fields while chaning graph resolution

Also Rename drawRRD in drawGraphs

* Fix historical tabs

* Add missing time fence in influx topk

* Add graphs support for custom statistics visualization

* Initial support for graphs statistics footer

* Implement statistics in single graphs for RRD driver

* Move sampling function into the driver and fix graph statistics

* Fix max/min value offset

* Implement influxdb sampling use built-in FILL

* Implement stats and total serie in influxdb driver

* Update nvd3 with multiChart fixes

* Update nvd3 with new multiChart fixes

* RRD driver fixes

* Move metrics type from single metric to schema

* Handle ajax errors and empty data in charts

* Fix flow device interfaces graphs

* Use timeserie label as timeseries dropdown text

* Implement topk aggregation into one data serie

* ts_utils module now provides all the schemas

* Migrate ntop.exist(rrd) to ts_utils.exist

* Fix timeseries dropdown label

* L4 protos fixes for charts

* Migrate getProtoVolume to new API

* Integrate nvd3 fix for tooltip position

* Initial community graphs migration to timseries API

* Fix community timeseries dropdown and historical tabs

* Hide total serie by default

* Remove l4 protos from topk charts
2018-07-18 15:09:19 +02:00
Luca Deri
d17bb9671f Added fix for #1755
Implemented OS detection via HTTP user agent
Minor cosmetic GUI fixes
2018-06-14 19:20:21 +02:00
Emanuele Faranda
f792d79118 Add MAC location in nedge 2018-05-11 14:43:18 +02:00
Simone Mainardi
39bcdf212a Factorization of SNMP host search code for IPs and MACs 2018-04-30 17:40:56 +02:00
Luca Deri
ca32f062be Improved discovered model mapping 2018-04-04 23:37:13 +02:00
Luca
d1dcff81c4 Improved passive MDNS discovery
Fixed MDNS decode loop
2018-04-02 11:31:28 +02:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
emanuele-f
9bbeb3a601 Implement device IPv4 vs IPv6 breakdown
Note: the breakdown is only calculated on the realtime hosts traffic

Closes #1155
2018-03-12 13:13:25 +01:00
emanuele-f
ff69205b3d Add support for nedge oem product name 2018-03-08 19:49:04 +01:00
emanuele-f
d09454d0d1 Complete VLAN id MAC addresses removal 2018-03-06 15:40:09 +01:00
emanuele-f
a1fa509a26 Localization and normal user fixes 2018-03-02 14:43:44 +01:00