Commit graph

4686 commits

Author SHA1 Message Date
emanuele-f
35be58ede9 Fix speed test alerts not generated 2020-04-17 12:22:45 +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
Simone Mainardi
9b5013cf4d Reconciles flows page description
Fixes #3781
2020-04-16 21:27:05 +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
Luca Deri
3f1fabc73f Added label 1.x to InfluxDB in preferences (until #3764 is fixed) 2020-04-15 21:36:32 +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
4c36e7bab4 Implements a template to show alert and status ids 2020-04-15 15:13:53 +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
Luca Deri
0a80fa663e Widget and datasource improvements 2020-04-13 22:08:07 +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
gabryon99
fd4da74b04 added main.lua to test datasources 2020-04-13 15:39:56 +02:00
Luca Deri
f7b1e7d689 Initial work for widget implementation 2020-04-13 14:24:50 +02:00
Luca Deri
427a0e6667 No longer needed merged with RTT plugin 2020-04-11 11:58:15 +02:00
Luca Deri
edd8715b4a Added ntop.speedtest() API call 2020-04-11 10:47:07 +02:00
Luca Deri
02c235646d Added help for login page 2020-04-11 09:21:28 +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
Alfredo Cardigliano
ec90636ac4 Do not show the syslog config page when switching to a non-syslog interface 2020-04-10 09:25:09 +00: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
Luca Deri
99c4ce6897 Fixed geomap 2020-04-09 00:20:06 +02:00
gabryon99
c2d4df98d2 fixed go back button
fix #3722
 Please enter the commit message for your changes. Lines starting
2020-04-09 00:10:48 +02:00
gabryon99
b80493bc7c changed documentation header icon 2020-04-08 22:50:12 +02:00
Simone Mainardi
53a4d796f5 Fixes wrong response of REST endpoint when no host is found
Fixes #3709
2020-04-08 18:24:06 +02:00
emanuele-f
e390951a97 Add SNMP topology changed (via LLDP monitoring) alert 2020-04-08 11:44:30 +02:00
Luca Deri
11f983a7f4 Example tool for #3678 2020-04-07 23:51:18 +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
Simone Mainardi
bb33e2f740 Allow system interface search for SNMP devices
Implements #3666
2020-04-06 19:35:10 +02:00