Simone Mainardi
28480748aa
Implements runtime flows dump toggle
2020-04-22 18:12:49 +02:00
gabryon99
747980cf45
migrating widgets to nvd3
2020-04-22 18:11:08 +02:00
Simone Mainardi
ac8bd534ea
Implents PEN for alert keys
...
Implements #3823
2020-04-22 13:21:40 +02:00
emanuele-f
17099311de
Remove unnecessary json decode
2020-04-22 11:53:38 +02:00
Simone Mainardi
78b334e4eb
Refactors alerts and flow statuses in builtin and plugins
...
Implements #3811
Implements #3812
Refactors builtin alerts
Refactors builtin flow statuses
2020-04-21 22:27:49 +02:00
Luca Deri
1c76667b21
Widgets update
2020-04-21 19:17:00 +02:00
emanuele-f
57c7abccfb
Remove unused function
2020-04-21 16:48:36 +02:00
Simone Mainardi
37200393a6
Fixes timezone computation on DST times
...
Addresses #3732
2020-04-21 13:47:23 +02:00
Simone Mainardi
d2aac8cced
Reconciles times to always been adjusted to the client timezone
...
Fixes #3732
2020-04-20 16:58:01 +02:00
Simone Mainardi
9b061871fa
Fixes server/client timezone offset computation
2020-04-20 16:58:01 +02:00
emanuele-f
a6bcf6e9e3
Fix redundant interface path in RRD schemas
...
Affected schemas:
- flow_script:lua_duration
- flow_script:pending_calls
- flow_script:skipped_calls
- flow_script:successful_calls
- process:num_alerts
- process:resident_memory
- redis:keys
- redis:memory
- system:cpu_load
- system:cpu_states
2020-04-20 16:20:35 +02:00
emanuele-f
0be2da4f57
Cleanup remaining references to RTT
2020-04-20 12:21:39 +02:00
gabryon99
4caea8fcb1
updates for widgets
2020-04-19 11:55:11 +02:00
Luca Deri
17bbfb7c78
Widget improvements
2020-04-18 21:26:35 +02:00
Simone Mainardi
a98fc1c5a6
Fixes alert endpoints caching causing toggles to be ignored
2020-04-18 16:58:33 +02:00
Simone Mainardi
6ea50fb004
Implements the Elasticsearch alerts endpoint
...
Implements #3105
Initial work to add elastisearch alerts
Initial implementation of ES alerts
Implements version check
Implements flow alerts format
Changes Elasticsearch index name
Comments the Elasticsearch alert endpoint
2020-04-18 16:35:14 +02:00
gabryon99
176e3d7c29
fix key rendering in widegts list and added get_widget inside widget_utils
2020-04-17 20:19:25 +02:00
emanuele-f
947fee33b2
Write 0 in timeseries for unreachable monitored hosts
2020-04-17 16:19:56 +02:00
emanuele-f
f94f784c0f
Move active monitoring HTTP lint to the plugin directory
2020-04-17 15:07:01 +02:00
emanuele-f
0968c7b984
Rename active monitoring timeseries
2020-04-17 12:41:21 +02:00
emanuele-f
fdadaca950
Fix invalid initial RRD point added
2020-04-17 11:22:19 +02:00
Simone Mainardi
4824150278
Prevents certain data (e.g., passwords) to be sent via mail
...
Fixes #3782
2020-04-16 21:47:29 +02:00
emanuele-f
6f2f9b223f
Fix drilldown interval
2020-04-16 15:59:22 +02:00
gabryon99
1e5376da95
reworked script editor page
2020-04-15 23:07:05 +02:00
emanuele-f
c6b43f1af3
Pass client timezone as a cookie to properly format time
2020-04-15 17:44:08 +02:00
Simone Mainardi
4d61e7b23d
Implements utils to properly handle fingerprint data across pages
...
Fixes #3762
Fixes #3761
2020-04-15 17:11:56 +02:00
emanuele-f
b6d10f2d2a
Rework formatAlertMessage json decoding
2020-04-15 15:49:27 +02:00
Simone Mainardi
0a9a7015e0
Unifies status_id and status_key
2020-04-15 14:29:03 +02:00
Simone Mainardi
1eb02b2c2b
Unifies alert_id and alert_key
2020-04-15 14:29:03 +02:00
emanuele-f
64ceaa5b89
Fix discarded first RRD point in gauges
...
The point was discarded because of a bad RRD start time during the RRD creation.
The start time is now computed as "insertion_timestamp - heartbeat".
Fixes #3751
2020-04-15 12:55:31 +02:00
emanuele-f
4bd04e7e4c
Delete old timeseries when monitoring granularity is changed
2020-04-15 10:52:38 +02:00
Simone Mainardi
4177ee61ab
Implements constant flow and alert ids
...
Enlarges AlertType size
Changes alerts database
2020-04-14 22:20:44 +02:00
Simone Mainardi
577a82d2eb
Changes active_monitoring_utils require
...
Fixes #3758
2020-04-14 22:14:13 +02:00
emanuele-f
0ad1b65512
Add plugins support for httpdocs, HTML templates and Lua modules
...
Such resources can be placed into the following plugin subdirs:
- ./httpdocs: javascript, css and similar, see plugins_utils.getHttpdocsDir
- ./modules: Lua modules, see plugins_utils.loadModule
- ./templates: HTML templates, see plugins_utils.renderTemplate
2020-04-14 17:53:25 +02:00
emanuele-f
035ddf48e7
Add possibly changed schema to fix cq influxdb errors
2020-04-14 15:55:26 +02:00
emanuele-f
62d1ad69db
Implement algorithmn to delete generic schema prefixes with RRD
2020-04-14 13:19:52 +02:00
Simone Mainardi
3e14bc30f8
Refactors RTT to Active Monitoring
...
Addresses #3741
Refactors RTT: rtt_utils to active_monitoring_utils
Refactors RTT: rtt_host to am_host schema name
Refactors RTT: import_active_monitoring_config.lua
Refactors RTT: active_monitoring_stats.lua
Refactors RTT: active_monitoring_stats i18n
Refactors RTT: get_active_monitoring_config.lua
Refactors RTT: get_active_monitoring_hosts
Refactors RTT: edit_active_monitoring_host
Refactors RTT: active_monitoring.lua
Refactors RTT: active_monitor
Refactors RTT: active_monitoring_utils.js
Refactors RTT: get_active_monitoring_hosts.lua fixes
Refactors RTT: last_rtt
Refactors RTT: rtt_host to am_host
2020-04-13 21:34:10 +02:00
Simone Mainardi
32b5cecf7d
Removes hardcoded RTT plugin in menu as was breaking entries
2020-04-13 19:00:57 +02:00
Luca Deri
db08c2a233
Datasource and widget consolidation (work in progress)
2020-04-13 18:56:08 +02:00
gabryon99
4c7aa72ac6
fix for menu title inside sidebar
2020-04-13 16:45:42 +02:00
Luca Deri
f7b1e7d689
Initial work for widget implementation
2020-04-13 14:24:50 +02:00
Simone Mainardi
4a266768c4
Fixes missing speedtest param validation
2020-04-10 19:56:14 +02:00
emanuele-f
6193b75d5f
Initial support for speedtest active monitoring
2020-04-10 19:29:11 +02:00
emanuele-f
05a4e3cf84
Change RTT to Active Monitoring
2020-04-10 18:21:41 +02:00
emanuele-f
f299f876ba
Add detailed comments to the rtt plugins
2020-04-10 16:27:36 +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
emanuele-f
306a253693
Implement extensible RTT modules
2020-04-10 13:09:30 +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
emanuele-f
21a7080dfe
Add ability to specify granularity on RTT hosts
...
Closes #3679
2020-04-09 13:02:58 +02:00
gabryon99
b80493bc7c
changed documentation header icon
2020-04-08 22:50:12 +02:00