Luca Deri
a1178a0791
Updated (C)
2021-01-02 12:08:23 +01:00
Simone Mainardi
4346b55734
Implements user script for host pool connection/disconnection alerts
...
Addresses #4614
2020-10-22 14:51:54 +02:00
Simone Mainardi
f65aa2bc19
Implements user script for device connection/disconnection alerts
...
Addresses #4614
2020-10-22 14:27:26 +02:00
Simone Mainardi
a0056ef2b7
Unifies alerted and misbehaving flows on hosts
...
Fixes #4596
2020-10-19 10:19:22 +02:00
Simone Mainardi
4e96ae7e26
Refactors user_scripts method names
2020-07-29 15:17:31 +02:00
Alfredo Cardigliano
c6cf8e418e
Add timeseries for host and interface DSCP classes
2020-07-21 10:08:08 +02:00
Simone Mainardi
b8eabac4ba
Adds timeseries of database dumped/dropped flows
2020-06-25 15:11:46 +02:00
emanuele-f
340462ad73
Cleanup of the timeseries ring and NetworkInterfaceTsPoint
2020-05-20 15:18:03 +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
1a2a3b72e4
Prevents writing ts stats for certain periodic activities
...
Fixes #3534
2020-03-12 14:57:24 +01:00
Simone Mainardi
3405b7184e
Writes new_flow timeseries every minute (not every second)
...
Implements #3456
2020-02-28 15:35:16 +01:00
Simone Mainardi
ec724babcf
Unifies all internals timeseries in a single preference
...
Implements #3459
2020-02-28 15:00:51 +01:00
Simone Mainardi
a12273b1b5
Merges interface TCP stats timeseries pref with traffic pref
...
Fixes #3463
2020-02-28 12:15:49 +01:00
Simone Mainardi
cf7ef81bca
Merges interface TCP flags timeseries pref with traffic pref
...
Fixes #3462
2020-02-28 12:08:47 +01:00
Simone Mainardi
d41c0104d3
Generalizes rrd stats into timeseries stats
2020-02-27 19:11:44 +01:00
Luca Deri
8811a076a6
Code cleanup
2020-02-27 08:19:17 +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
Simone Mainardi
5af54399f3
Preference for elem_user_script minute timeseries
2020-02-26 14:28:37 +01:00
Simone Mainardi
55cdb6c5ea
Reworks slow rrd calc for periodic activites
2020-02-25 13:30:10 +01:00
Simone Mainardi
1840de69bf
Implements total counters for RRD writes and dropped points
2020-02-24 23:38:34 +01:00
Simone Mainardi
a2237266ee
Adds total rrd writes and drops to periodic scripts timeseries
2020-02-24 12:54:43 +01:00
Simone Mainardi
1cd375d756
Implements per-activity rrd writes duration
2020-02-19 15:34:29 +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
8d51dae0e5
Implement Misbehaving vs Alerted flows chart
2020-01-27 15:37:36 +01:00
Simone Mainardi
6795ed5d07
Fixes nil pktSizeDistribution
2020-01-03 11:20:03 +01:00
Simone Mainardi
49ddb55620
Adds interface TCP keepalive packets
2019-11-25 16:02:04 +01:00
Simone Mainardi
993fcc2fc3
Fixes interfaces TCP timeseries
...
Fixes #3077
2019-11-25 15:53:30 +01:00
emanuele-f
1fd65ac44c
Flow user scripts enhancements
...
- Add title label in hash table utilization gauges
- List Hash Tables charts and Periodic Activities charts in a single page
- Replace Periodic Activities max duration column with time utilization percentage
- Add api to add a straight line in the charts
- Show max duration time as a straight line in Periodic Activities charts
- Move dropped flow calls charts to the Peridic Activities page
- Fix expert view number of calls 0
- Fix interface/host/network trigger alert label
- Move chart icon to separate column in redis and influxdb pages
- Fix interface menu selection in Hash Tables and Periodic Activities
- Highlight issues with a warning triangle in Hash Tables and Periodic Activities
- Fix some page navigation issues with extra_params
- Fix wrong schema graph options passed to nv_graph_utils
2019-11-20 20:09:45 +01:00
emanuele-f
33949d31fd
Rework benchmark stats and charts
2019-10-31 17:48:53 +01:00
Simone Mainardi
dc748b1b6d
Implements stats for periodic scripts duration
2019-10-28 17:10:03 +01:00
Alfredo Cardigliano
b42989154c
Drawing active items in addition to idle in the internals chart
2019-10-25 12:14:53 +02:00
Simone Mainardi
955eed4b50
Reworks idling and purging of hash table entries to make it faster
2019-10-24 15:48:18 +02:00
Simone Mainardi
15e17a801a
Implements per-state hash entry counters and writes them to ts
2019-10-23 13:09:02 +02:00
emanuele-f
ffd3b4c1ee
Users scripts api changes and initial documentation
2019-10-09 15:12:28 +02:00
emanuele-f
ede9a7940a
Generalize periodic and flows callbacks
...
Now periodic callbacks are properly called even when alerts are disabled
The granularity filter and check_function has been replaced with a more generic hooks list
2019-10-07 19:05:43 +02:00
Simone Mainardi
968e21d984
Implements flow lua callbacks in the periodic activities thread
2019-09-12 15:36:41 +02:00
Simone Mainardi
f151fba989
Allows top talkers generation to be enabled/disabled
2019-09-11 16:42:26 +02:00
emanuele-f
e9aa6b1703
Add flow.lua duration trace
2019-09-06 11:15:12 +02:00
emanuele-f
2d02de6cc1
Implement initial flow score support
2019-08-30 17:16:11 +02:00
emanuele-f
1032af0d8f
Add network engage_alerts timeseries
2019-08-21 17:07:58 +02:00
emanuele-f
69cd896a9f
Implement engaged alerts and flow alerts timeseries
2019-08-21 16:57:14 +02:00
Simone Mainardi
3cd6a92efd
Implements nDPI stats counters for views
2019-07-19 10:30:59 +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
89f6544524
Implement interface L4 stats
2019-05-22 20:11:06 +02:00
Simone Mainardi
1b29a5c555
Implements charts for Network OOO/Drops/Retransmissions
2019-05-21 18:04:20 +02:00
emanuele-f
a2d30d4935
Remove TCP flags from zmq eBFP interfaces
2019-04-29 15:50:39 +02:00
emanuele-f
61c160a085
Fix reverted condition
2019-04-24 19:26:46 +02:00
emanuele-f
6ea942715b
Add pod/containers timeseries export
2019-04-24 19:18:41 +02:00