Commit graph

38 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
3a9c6306b3 removed default pool from host members page 2020-07-30 15:42:56 +02:00
Simone Mainardi
54b29aa1dc Implements GUI to configure host pools
Implements #4098
Implements #4087
2020-07-01 16:05:01 +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
gabryon99
d592b3b43c add spinner inside snmp add modal and replaced the old loading image 2020-06-18 11:37:26 +02:00
Simone Mainardi
38925bac6c Fixes percent sign in password leading to lock-out
Fixes #4031
2020-06-12 12:27:35 +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
Simone Mainardi
49e49e0ed6 Unifies host_details.lua generation
Addresses #3977
2020-05-26 12:50:47 +02:00
Simone Mainardi
4177ee61ab Implements constant flow and alert ids
Enlarges AlertType size

Changes alerts database
2020-04-14 22:20:44 +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
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
gabryon99
45ab5b05e2 fixed more class active, ticket #3546 2020-03-16 17:43:09 +01:00
gabryon99
e2dcd862b8 fix for ticket #3546 2020-03-16 17:29:33 +01:00
Simone Mainardi
82a01c521a Computes CPU states every 5 seconds in the system interface 2020-02-27 16:48:08 +01:00
Simone Mainardi
55d5912729 Moves unused slow_stats_update alert to attic 2020-02-21 14:14:01 +01:00
gabryon99
bec4c8184d add switches instead checkboxes 2020-02-12 22:38:27 +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
ad9c386bb3 Move user scripts gui config to admin, cleanup 2020-01-03 15:16:46 +01:00
emanuele-f
d037f9a9a4 Use new user scripts config and gui
The user scripts configuration can now be configured from the "User Scripts" entry under the cog
icon. It allows the creation of multiple configuration presets to be applied to hosts, networks and
interfaces.
2020-01-03 13:03:34 +01:00
Simone Mainardi
fdba617b0d Fixes discovery for loopback interfaces 2019-12-17 14:27:35 +01:00
Simone Mainardi
1dba3343e3 Fixes community sankeys 2019-12-16 17:02:53 +01:00
Simone Mainardi
7d88c101c3 Cleanup old unused processes-related code 2019-12-16 16:16:40 +01:00
Simone Mainardi
200d0f1143 Bootstrap migration vlan and script navbars 2019-12-16 16:10:19 +01:00
Simone Mainardi
0ce4ebad97 Dropbox code cleanup 2019-12-13 10:43:08 +01:00
Simone Mainardi
b5ba28d8d1 Cleanup old fontawesome 4 and bootstrap 3 2019-12-09 15:35:39 +01:00
Simone Mainardi
e68fc31b5e Removes unsafe sqlite3 queries from Lua 2019-05-15 14:43:22 +02: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
emanuele-f
cbb21f000c Remove unused js/css files 2018-12-20 18:15:58 +01:00
Simone Mainardi
f832f51f01 Moves stub sprobe_hosts.lua to attic 2018-11-06 16:58:57 +01:00
Simone Mainardi
94386fd5ff Old sprobe code cleanup 2018-11-06 15:38:49 +01:00
Simone Mainardi
82800db7d3 Moves unused get_flows_data.lua with PID-information to attic 2017-10-11 18:28:25 +02:00
Simone Mainardi
fd8ee25641 Code refactoring to simplify stats reset 2017-08-01 15:39:00 +02:00
emanuele-f
8ceacb37f6 Enable flow scripts 2017-05-19 10:25:21 +02:00
emanuele-f
9c973ca439 Move host activity detection code to attic 2017-05-17 22:19:37 +02:00