Luca Deri
a1178a0791
Updated (C)
2021-01-02 12:08:23 +01:00
Simone Mainardi
1a71ba4f5f
Removes remote assistance
...
Fixes #4785
2020-12-17 19:41:37 +01:00
Alfredo Cardigliano
8e62a71eee
Rename system_utils.lua -> cpu_utils.lua to avoid confusion
2020-11-17 12:41:06 +01:00
Luca Deri
31a33b1b11
Removed MUD implementation obsoleted by the service map
...
Fixes #4326
Fixes 3499
2020-10-11 16:42:24 +02:00
Simone Mainardi
c623f21ba0
Refactors old host_pools_utils to nEdge-only host_pools_nedge
2020-07-16 18:17:19 +02:00
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
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
3258fa074e
Additional fixes for interface validation
2020-05-18 13:02:56 +02:00
Luca Deri
ccf76ca54d
Added "real" intefaceId validation
...
Initial work towards REST API
2020-05-17 20:47:46 +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
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
53a4d796f5
Fixes wrong response of REST endpoint when no host is found
...
Fixes #3709
2020-04-08 18:24:06 +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
Simone Mainardi
794cd523c6
Fixes data.lua interface selection using ids
2020-03-20 12:00:57 +01:00
Simone Mainardi
b4e6af047a
Reworks maintenance expired message
...
Fixes #3535
2020-03-18 11:55:43 +01:00
Simone Mainardi
ef06f9e1d3
Refactors system stats in a module system_utils.lua
2020-02-27 12:24:23 +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
Simone Mainardi
5276de4ca8
Implements degraded performance badge
2020-02-21 17:14:15 +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
Alfredo Cardigliano
e2f0d36d2f
Moved hostpool endpoints
2020-02-06 11:20:30 +01:00
Alfredo Cardigliano
2ab9cc14ad
Host pool import/export buttons, endpoint improvements
2020-02-06 11:03:56 +01:00
Alfredo Cardigliano
c2d61e67e9
Host pool export endpoint
2020-02-05 18:28:19 +01:00
Alfredo Cardigliano
30ff92d472
Fix user reset for ZMQ counters
2020-01-23 17:04:52 +01:00
Alfredo Cardigliano
3ce84b07cf
Add button to export user script conf. New endpoint to set user scripts configuration.
2020-01-15 17:48:00 +01:00
Alfredo Cardigliano
4a1d217d3a
Rest endpoint to export user scripts configuration
2020-01-15 11:58:09 +01:00
Alfredo Cardigliano
f4a4c07d80
Add ability to extract traffic to users with permission (direct extraction only)
2020-01-13 17:39:12 +01:00
Luca Deri
170bc60f19
Updated (C)
2020-01-08 23:52:51 +01:00
Simone Mainardi
b44de6e18d
Implements discarded probing traffic counters and timeseries
2019-12-31 16:01:24 +01:00
emanuele-f
a3432e00e8
Implement ntopng plugins
...
Plugins are a convenient way to group together related lua scripts.
Their primary use case is to group user scripts and their alert/status
definition.
The builtin ntopng user scripts and definitions are now
packed into plugins directories. In future, we will support loading of
user created plugins.
Plugins are loaded at startup into some runtime directories and then
used. Other changes provided by this commit include:
- Add sample flow logger plugin
- Initial support for system user scripts
- Rename edge to threshold
- Migrate system probes to user scripts/plugins
- Migrate scripts to more explicit alerts_api.checkThresholdAlert api
2019-12-10 09:25:57 +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
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