Commit graph

55 commits

Author SHA1 Message Date
gabryon99
6aa7d4cdfe scrollable last log trace 2020-06-23 11:02:17 +02:00
Alfredo Cardigliano
ae879c44f8 Hide log trace in OEM mode 2020-05-05 10:47:02 +02:00
emanuele-f
0be2da4f57 Cleanup remaining references to RTT 2020-04-20 12:21:39 +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
gabryon99
ce0e3d2d11 fix for system view 2020-03-24 12:39:08 +01:00
gabryon99
84254e69a4 refactored new system interface logic 2020-03-23 11:03:40 +01:00
gabryon99
c0f30310f7 fix for system view 2020-03-23 10:29:45 +01:00
gabryon99
26ba1c4df2 fix for system view 2020-03-21 15:56:02 +01:00
emanuele-f
1ec35cadbf Fix invalid engaged/dropped alerts ts on system interface
Fixes #3556
2020-03-17 12:25:36 +01:00
emanuele-f
e8e9a998c3 Fix system stats when cpu load is not available 2020-03-02 16:40:42 +01:00
Simone Mainardi
19dabd2c97 Adds timeseries for system alerts counters 2020-02-28 17:54:16 +01:00
Simone Mainardi
2990c1d38b Reworks system alert counters
Fixes #3464
2020-02-28 16:00:24 +01:00
Simone Mainardi
e909b9f42f Moves memory chart from system to process 2020-02-28 15:48:50 +01:00
Simone Mainardi
eaa3935a8e Adds and charts CPU states active and idle 2020-02-28 10:20:11 +01:00
emanuele-f
ed8e232cab Move alerts stats to a single line 2020-02-27 20:16:06 +01:00
Simone Mainardi
f6bd1b3493 Adds timeseries of iowait 2020-02-27 18:20:42 +01:00
Simone Mainardi
82a01c521a Computes CPU states every 5 seconds in the system interface 2020-02-27 16:48:08 +01:00
emanuele-f
297195abab Add dropped/stored/queries system stats for alerts 2020-02-27 13:27:47 +01:00
Simone Mainardi
ef06f9e1d3 Refactors system stats in a module system_utils.lua 2020-02-27 12:24:23 +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
Simone Mainardi
156975afd5 Show periodic scripts stats in the system interface 2020-02-17 15:43:42 +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
emanuele-f
4f6788fb58 New page_utils api to handle sidebar subitems selection 2020-01-30 11:53:13 +01:00
Luca Deri
170bc60f19 Updated (C) 2020-01-08 23:52:51 +01:00
Simone Mainardi
dacaa7e3db Migrates font-awesome 5 fa to fas 2019-12-18 11:50:02 +01:00
Simone Mainardi
e5c7ba4290 Fixes ntop_select_interface : expected string[@pos 1], got number 2019-12-17 18:17:28 +01:00
Simone Mainardi
be01a6d0eb Bootstrap migration influxdb stats navbar 2019-12-16 15:32:01 +01:00
Simone Mainardi
f679ff412c Bootstrap migration system stats navbar 2019-12-16 15:20:48 +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
Simone Mainardi
7402bbdd14 FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
Simone Mainardi
14db3bb11f Bootstrap migration labels to badges 2019-12-05 09:27:46 +01:00
Simone Mainardi
4cde74af2b Allows system probes timeseries to be enabled/disabled
Fixes #3069
2019-11-20 16:05:14 +01:00
Alfredo Cardigliano
d2b7cea9c8 Keeping track of resident memory only (fix #3040) 2019-11-15 09:42:08 +01:00
Simone Mainardi
9f0cf29d55 Fixes CPU load chart axes and units
Implements #3023
2019-11-04 15:50:29 +01:00
Simone Mainardi
c171574957 Reads CPU load from /proc/loadavg 2019-11-01 18:35:57 +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
3a3e4c6880 Properly handle alert filters dropdowns
Closes #2778
2019-08-22 15:13:54 +02:00
emanuele-f
a3e1744353 Fix system interface timeseries cleanup 2019-07-05 16:26:33 +02:00
emanuele-f
45ca04d713 Fix missing lua trace lines from log
Fixes #2701
2019-07-03 16:37:24 +02:00
emanuele-f
937d94dd0e Fix RTT alerts location 2019-06-28 18:27:54 +02:00
Alfredo Cardigliano
9372eb8962 Separate bar with the pcap storage utilization (it a separate volume has been configured) 2019-06-26 18:31:46 +02:00
Alfredo Cardigliano
b29894d9bb Improved storage utilization bar 2019-06-26 17:57:49 +02:00
emanuele-f
ba0692f39d Move SNMP alerts inside specific page 2019-06-10 17:17:07 +02:00
emanuele-f
6234245773 Move InfluxDB monitoring to separate entry 2019-06-10 12:47:10 +02:00
emanuele-f
ca251bbe26 Add InfluxDB number of series 2019-06-07 17:46:16 +02:00
emanuele-f
08f066637e Add InfluxDB memory usage chart 2019-06-07 17:22:02 +02:00
emanuele-f
1d6d52b4ea Rework system probes (now called system scripts) 2019-06-07 11:31:44 +02:00
emanuele-f
322bae547c Initial work towards generic system probes
Also implements InfluxDB latency chart as a POC
2019-06-06 21:16:26 +02:00
emanuele-f
791afdbaca Implement CPU load chart 2019-06-06 19:20:11 +02:00