Commit graph

81 commits

Author SHA1 Message Date
Matteo Biscosi
824c2c9db8 Removed behavior maps timeseries 2023-06-19 14:41:20 +00:00
Matteo Biscosi
fcd6102ad0 Reworked behavior analysis alerts 2023-06-16 14:32:02 +00:00
Matteo Biscosi
8200640957 Fixes missing schema error 2023-06-13 10:17:17 +00:00
Matteo Biscosi
84807c6486 Fixes behavior charts 2023-06-13 08:51:22 +00:00
Alfredo Cardigliano
bd2ad43943 Code cleanup 2023-05-24 16:03:36 +02:00
Matteo Biscosi
725a0a9640 Added rtt network timeseries 2023-02-16 16:17:26 +01:00
MatteoBiscosi
5206650209 Removed DSCP timeseries 2022-11-08 17:41:59 +01:00
Alfredo Cardigliano
729ebc402b Update local2remote stats in the same place where network stats are updates. This fixes stats with netfilter and non-packet interfaces. Fix #6145 2022-09-21 11:00:00 +02:00
MatteoBiscosi
955b1172b3 Moved timeseries to enterprise L 2022-08-30 17:36:52 +02:00
MatteoBiscosi
cbef4a5dc8 Moved traffic between network timeseries in minute 2022-08-26 15:44:10 +02:00
Luca Deri
b988905133 Fixed RRD schema naming 2022-06-29 18:48:27 +02:00
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