Commit graph

70 commits

Author SHA1 Message Date
Luca Deri
1024d70a99 Added behavioural maps stats 2022-03-30 11:12:56 +02:00
Alfredo Cardigliano
257ece18c0 Copyright update (Lua) 2022-01-03 09:42:33 +01:00
MatteoBiscosi
e92135e776 Reorganized periodic scripts 2021-12-28 15:41:28 +01:00
MatteoBiscosi
15bca61e2c Added l7 proto graphs to observation points (#6085) 2021-11-22 10:51:54 +01:00
Simone Mainardi
d3566ba568 Avoids generating unnecessary timeseries when unsupported
Fixes #5678
2021-07-14 15:05:11 +02:00
Simone Mainardi
3ada168fb7 Fixes engaged/dropped alert timeseries wrongly typed
Partially addresses #5678
2021-07-14 12:53:55 +02:00
MatteoBiscosi
ab04e0d156 Unified flow device timeseries prefs #5670 2021-07-14 10:17:11 +02:00
Simone Mainardi
bb95e65db1 Disables unavailable metrics for interfaces with sampled traffic
Fixes #5471
2021-07-09 16:40:31 +02:00
MatteoBiscosi
09c33731d0 Implements Observation Point Timeseries (#5644) 2021-07-07 12:45:18 +02:00
Simone Mainardi
2e8a6de0fc Major terminology unification (user scripts -> checks) 2021-06-17 12:39:43 +02:00
Simone Mainardi
76fd315d1b Refactors user_scripts into checks (lua) 2021-06-16 18:02:22 +02:00
MatteoBiscosi
131888ecfc Changed behavior counter dump period 2021-06-15 12:25:48 +02:00
MatteoBiscosi
1670d6188c Fixed behavior timeseries formatter 2021-06-15 10:21:22 +02:00
Matteo Biscosi
9be0364102 Fixed partially timeseries not showing 2021-06-11 16:49:46 +02:00
Matteo Biscosi
f12934ef9e Implements Traffic TX/RX and Score Behavior analysis (#5473) (#5472) 2021-06-10 17:31:29 +02:00
Matteo Biscosi
4b31a0d21c Added score timeseries for vlan, as, subnet and country
Implements #5317
2021-05-14 14:58:18 +02:00
Simone Mainardi
6ae7664de0 Fixes missing interface and host score timeseries
Fixes #5300
2021-05-12 17:17:57 +02:00
Luca Deri
19d6b74457 Host anomalies code cleanup and timeseries dump 2021-04-10 10:38:26 +02:00
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