Commit graph

2929 commits

Author SHA1 Message Date
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
emanuele-f
e390951a97 Add SNMP topology changed (via LLDP monitoring) alert 2020-04-08 11:44:30 +02:00
emanuele-f
d0ba121a5e Rework flows table update
The update of multiple flows is now performed in a single AJAX request,
reducing the performance impact.

Closes #3660
2020-04-07 16:56:14 +02:00
Simone Mainardi
ee6927d5b3 Adds extra documentation contextual links
Completes #3653
2020-04-07 11:55:27 +02:00
Simone Mainardi
c76a66193a Adds contextual help links
Extends #3653
2020-04-06 19:59:24 +02:00
Simone Mainardi
d2712ee247 Contextual help links fixes
Addresses #3653
2020-04-06 19:42:07 +02:00
gabryon99
792a542c41 added print_page_title on each page 2020-04-06 10:35:57 +02:00
gabryon99
c9c115e650 fixed layout http_status_code.lua and added print_page_header to page_utils 2020-04-04 23:42:32 +02:00
Alfredo Cardigliano
c4613b5859 Syslog log producers configuration page 2020-04-03 16:20:05 +00:00
gabryon99
e8b1c7b192 reworker blog notification system 2020-04-03 17:12:43 +02:00
Simone Mainardi
8f63bcdd43 Fixes missing config page from mac_details.lua 2020-04-03 12:48:15 +02:00
Simone Mainardi
962ba1058f Fixes missing telemetry conf in nEdge 2020-04-03 12:14:15 +02:00
Alfredo Cardigliano
ef4d3908f8 Update getNtopngRelease 2020-04-03 08:31:37 +00:00
gabryon99
633ee3096d reworked blog notifications
now the notification are stored in redis and not anymore in browser local storage
2020-04-02 23:04:03 +02:00
Luca Deri
7eca89e9f5 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2020-04-02 19:58:56 +02:00
Luca Deri
48b3fbc348 Reworked error messages 2020-04-02 19:50:31 +02:00
emanuele-f
121c2ef0dd Add support for Enterprise L plugins 2020-04-02 15:23:11 +02:00
Alfredo Cardigliano
2425134f05 Replace isEnterprise with isEnterpriseM 2020-04-02 12:36:34 +00:00
emanuele-f
816cc80667 Fix script failure in community charts
Fixes #3605
2020-04-02 10:26:47 +02:00
Simone Mainardi
05a88ae832 Fixes unexpected token H in VLANS page
Fixes #3689
2020-04-02 10:11:34 +02:00
gabryon99
a7d0efc1a3 improved dark theme and add custom bootstrap theme
fix #3633
2020-04-01 18:31:17 +02:00