Commit graph

159 commits

Author SHA1 Message Date
emanuele-f
35be58ede9 Fix speed test alerts not generated 2020-04-17 12:22:45 +02:00
emanuele-f
ab82d57ca4 Remove assigned unique measurements instead of disabling them 2020-04-16 17:58:10 +02:00
emanuele-f
0b6ba8edd0 Fix sorting on numeric values 2020-04-16 17:15:11 +02:00
Simone Mainardi
f126595d0e Changes i18n labels from rtt to active monitoring
Fixes #3768
2020-04-16 12:59:41 +02:00
emanuele-f
a5709eadd3 Change active monitoring notes 2020-04-16 12:42:19 +02:00
emanuele-f
5adfed5605 Disable already defined unique measurements 2020-04-16 12:26:51 +02:00
emanuele-f
edd119ce61 Fix numbers returned as strings causing broken sort 2020-04-16 11:32:26 +02:00
emanuele-f
01214d47db Add measurement localized label 2020-04-16 11:20:01 +02:00
emanuele-f
a3ff00584a Fix download active monitoring metric label 2020-04-16 11:08:28 +02:00
emanuele-f
aa2ad9c66e Remove fmbit js function.
The value_js_formatter is now used to format the measurement value in the datatable
2020-04-16 10:55:43 +02:00
emanuele-f
81232c2338 Fix RTT chart menu entry label 2020-04-15 18:13:34 +02:00
emanuele-f
70ca600ed3 Add am_utils.getRttSchemaForGranularity 2020-04-15 17:19:33 +02:00
emanuele-f
1febadb5bd Fix active monitoring alert unit 2020-04-15 11:14:00 +02:00
emanuele-f
5680cb1a04 Fix speedtest chart unit 2020-04-15 11:03:50 +02:00
emanuele-f
4bd04e7e4c Delete old timeseries when monitoring granularity is changed 2020-04-15 10:52:38 +02:00
Simone Mainardi
8fb749400b Fixes nil alert_consts in alert_tcp_syn_flood.lua 2020-04-14 22:45:41 +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
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
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
Luca Deri
3b7d30d97b Updated granularities 2020-04-11 11:51:52 +02:00
Luca Deri
1d3b651fd1 Implemented speedtest measurement 2020-04-11 11:36:38 +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
Simone Mainardi
a24dfdbc4d Fixes missing device in device disconnection alert
Fixes #3738
2020-04-10 17:00:50 +02:00
emanuele-f
730f0aaa6f Use rtt plugins operator and value_js_formatter 2020-04-10 16:54:07 +02:00
emanuele-f
f299f876ba Add detailed comments to the rtt plugins 2020-04-10 16:27:36 +02:00
emanuele-f
937c52d3ee Fix invalid RTT host reported in alert and periodicity selection
Fixes #3737
2020-04-10 15:29:09 +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
emanuele-f
7699b63f29 Fix bad RTT schema name 2020-04-10 10:03:54 +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
emanuele-f
cdf10e3485 Add pro check for snmp_utils 2020-04-08 22:49:12 +02:00
LucasVanzin
1e10fbe06a
Correcting a typo (#3717)
This error occur while using redis, due to this typo:
[AlertCheckLuaEngine.cpp:167] WARNING: Script failure[/usr/share/ntopng/scripts/callbacks/system/system.lua] [...topng/plugins0/callbacks/system/system/redis_monitor.lua💯 attempt to index a nil value (global 'redis_stats')]

This fix solves the problem.
2020-04-08 14:01:30 +00:00
emanuele-f
e390951a97 Add SNMP topology changed (via LLDP monitoring) alert 2020-04-08 11:44:30 +02:00
emanuele-f
daa8441282 Document the host and network user scripts C API 2020-04-02 18:03:45 +02:00
emanuele-f
0dcc0b921d Add missing example ts_schemas and fix web_gui link 2020-03-31 15:51:23 +02:00
emanuele-f
d6dd052eb6 Document plugins Custom Pages 2020-03-31 15:11:24 +02:00
emanuele-f
73a8b39d1f Fix errors in RTT hosts import/reset 2020-03-27 14:45:24 +01:00
Alfredo Cardigliano
081c68d4c7 Add setResolvedAddress lua API 2020-03-26 14:17:28 +00:00
Simone Mainardi
3144bc8bdf Renames alert_config to user_script_config 2020-03-26 14:51:53 +01:00
emanuele-f
42d1831895 Add notes in HTTP Stats RTT chart
Closes #2847
2020-03-25 17:23:03 +01:00
emanuele-f
72d27244e5 Split HTTP and HTTPs stats
App connect time is only available for HTTPS rtt hosts
2020-03-24 14:54:41 +01:00
gabryon99
ce0e3d2d11 fix for system view 2020-03-24 12:39:08 +01:00
gabryon99
23c7fd869c added message on rtt add 2020-03-23 18:10:58 +01:00
gabryon99
7e079bc506 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2020-03-23 17:38:40 +01:00
gabryon99
7479582210 fix system view and add rtt host from host_details 2020-03-23 17:38:22 +01:00
emanuele-f
bdef62fdc5 Fix bad alert label 2020-03-23 16:15:05 +01:00
emanuele-f
c0fe78ee92 Add untracked file 2020-03-23 15:46:02 +01:00
emanuele-f
75e7858cbc Fix RTT alerts not released when RTT host is deleted
Fixes #3608
2020-03-23 12:31:44 +01:00