Commit graph

72 commits

Author SHA1 Message Date
Simone Mainardi
8a3e65ac50 Requires snmp_utils as local module 2020-06-10 12:17:25 +02:00
emanuele-f
ebe2e78b7e Split RX/TX in other charts 2020-04-24 17:41:52 +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
7479582210 fix system view and add rtt host from host_details 2020-03-23 17:38:22 +01:00
Simone Mainardi
fbd191869d Fixes network details page Lua error
Fixes #3451
2020-02-26 14:54:44 +01:00
emanuele-f
70da6923a5 Fix traffic report incorrectly show in community 2020-02-13 17:16:25 +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
emanuele-f
d037f9a9a4 Use new user scripts config and gui
The user scripts configuration can now be configured from the "User Scripts" entry under the cog
icon. It allows the creation of multiple configuration presets to be applied to hosts, networks and
interfaces.
2020-01-03 13:03:34 +01:00
Simone Mainardi
dacaa7e3db Migrates font-awesome 5 fa to fas 2019-12-18 11:50:02 +01:00
Simone Mainardi
fa3b08c275 Bootstrap migration additional stats navbars 2019-12-16 15:52:14 +01:00
Simone Mainardi
7402bbdd14 FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
Alfredo Cardigliano
ade466ddd0 Fix save button alignment 2019-12-06 09:57:46 +01:00
emanuele-f
1fd65ac44c Flow user scripts enhancements
- Add title label in hash table utilization gauges
- List Hash Tables charts and Periodic Activities charts in a single page
- Replace Periodic Activities max duration column with time utilization percentage
- Add api to add a straight line in the charts
- Show max duration time as a straight line in Periodic Activities charts
- Move dropped flow calls charts to the Peridic Activities page
- Fix expert view number of calls 0
- Fix interface/host/network trigger alert label
- Move chart icon to separate column in redis and influxdb pages
- Fix interface menu selection in Hash Tables and Periodic Activities
- Highlight issues with a warning triangle in Hash Tables and Periodic Activities
- Fix some page navigation issues with extra_params
- Fix wrong schema graph options passed to nv_graph_utils
2019-11-20 20:09:45 +01:00
emanuele-f
bee1efdded Move callbacks scripts into separate tab 2019-10-04 10:48:13 +02:00
emanuele-f
3a3e4c6880 Properly handle alert filters dropdowns
Closes #2778
2019-08-22 15:13:54 +02:00
emanuele-f
1032af0d8f Add network engage_alerts timeseries 2019-08-21 17:07:58 +02:00
emanuele-f
988e3eaab6 Move alerts configuration under the triangle icon 2019-07-26 10:59:38 +02:00
Simone Mainardi
5270d09490 Allows alerts to be configured on view interfaces 2019-07-19 12:43:31 +02:00
emanuele-f
737295bd93 Fix missing network entity link 2019-07-10 14:50:25 +02:00
Simone Mainardi
7997a73590 Implements charts for AS OOO/Drops/Retransmissions 2019-05-21 18:48:49 +02:00
Simone Mainardi
c257e5639d Indentation cleanup 2019-05-21 18:05:46 +02:00
Simone Mainardi
1b29a5c555 Implements charts for Network OOO/Drops/Retransmissions 2019-05-21 18:04:20 +02:00
emanuele-f
54becd3b22 Add local networks alias configuration
Closes #2476
2019-03-25 16:50:48 +01:00
Simone Mainardi
e274ad258b Minor host/interface/network reports fix 2018-12-24 11:35:51 +01:00
Simone Mainardi
590215ac35 Adds host/interface/network reports to nEdge 2018-12-24 10:25:05 +01:00
emanuele-f
ec5b209ffa Add missing active_page 2018-12-12 10:18:21 +01:00
Alfredo Cardigliano
6d7de7bd57 Moved header for all pages to page_utils 2018-11-29 18:10:18 +01:00
emanuele-f
15269ed5cf Hide traffic report on InfluxDB as it's currently not available 2018-09-06 09:57:39 +02:00
Emanuele Faranda
4cbe45a948
New pro charts features and timeseries api (#1865)
* Integrate modified nvd3 library with zoom and multicharts working support

* Fix count in RRD driver

* Initial chart ajax migration

* Update nvd3 with zoom stack support

* Fix RRD listSeries with directories

* Work in progress graphs

* Compatibility fix

* Initial support for schema based api

* Add missing script

* Fix listSeries for existance check

* Implement topk timseries api

* Implement topk queries and fix labels and formats

* Migrate interface top sender and receivers

* Migrate charts to new API

* Move timeseries list for menu inside respective scripts

* Add support for extended labels

* Fix missing fields while chaning graph resolution

Also Rename drawRRD in drawGraphs

* Fix historical tabs

* Add missing time fence in influx topk

* Add graphs support for custom statistics visualization

* Initial support for graphs statistics footer

* Implement statistics in single graphs for RRD driver

* Move sampling function into the driver and fix graph statistics

* Fix max/min value offset

* Implement influxdb sampling use built-in FILL

* Implement stats and total serie in influxdb driver

* Update nvd3 with multiChart fixes

* Update nvd3 with new multiChart fixes

* RRD driver fixes

* Move metrics type from single metric to schema

* Handle ajax errors and empty data in charts

* Fix flow device interfaces graphs

* Use timeserie label as timeseries dropdown text

* Implement topk aggregation into one data serie

* ts_utils module now provides all the schemas

* Migrate ntop.exist(rrd) to ts_utils.exist

* Fix timeseries dropdown label

* L4 protos fixes for charts

* Migrate getProtoVolume to new API

* Integrate nvd3 fix for tooltip position

* Initial community graphs migration to timseries API

* Fix community timeseries dropdown and historical tabs

* Hide total serie by default

* Remove l4 protos from topk charts
2018-07-18 15:09:19 +02:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
emanuele-f
24ed4ac212 Hide elements and reorganize menu in nEdge 2018-01-23 15:28:36 +01:00
emanuele-f
6635d1a716 Rework top-talkers to improve performance and clean code 2017-11-28 18:00:30 +01:00
emanuele-f
346627eb74 Migrate network alerts to in-memory alerts 2017-11-16 15:23:43 +01:00
emanuele-f
7048604404 Implement app search in applications page 2017-11-15 17:34:24 +01:00
Simone Mainardi
a22022bb30 Reworks alerts to prevent local hosts I/O 2017-11-01 23:04:33 +01:00
emanuele-f
6b8dbf59cc Make alert entity_type always explicit and rework alert_utils 2017-06-09 14:31:22 +02:00
TakayukiOnodera
5bc19a7249 Localize network_details and hosts_stats pages (#1244) 2017-05-17 10:12:39 +02:00
emanuele-f
83f18227f7 Threshold configuration page improvements 2017-05-08 20:55:52 +02:00
emanuele-f
1c38df48c9 Unify character encoding header code 2017-05-04 17:12:06 +02:00
Emanuele Faranda
8b8974e56c Alerts improvements (#1204)
* Implement flow flood alert

* Remove alerts general settings

* Implement global threshold alerts for hosts, networks and interfaces

* Implement global anomaly alert configuration, lua side

* Make the global thresholds not bound to the interface

* Implement global anomaly alert configuration, C side

* Make the engaged alerts cache per interface to avoid conflics
2017-04-29 12:19:49 +02:00
emanuele-f
ff1568a4ef Rename graph_zoom parameter still in use 2017-02-20 15:08:18 +01:00
emanuele-f
5995ab536a Unify alert configuration code and place settings under alert icon 2017-02-13 21:17:59 +01:00
Emanuele Faranda
afdfac1c9c Lua scripts parameters validation (#970)
* partial work

* Migrate 'mode' parameters

* Migrate alerts types

* Fix some interface ids

* Partial work

* Partial work

* End of work for _GET parameters

* Work in progress

* Add support for special parameters

* Preferences validation

* Fixes and improvements

* Enforce interger validation
2017-02-08 12:25:35 +01:00
emanuele-f
096db1085d Hide alerts link where alerts are disabled 2017-01-26 11:04:44 +01:00
emanuele-f
397d525d85 Use POST requests when required 2017-01-14 20:31:01 +01:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
emanuele-f
7dfda54934 Add total host activity 2016-12-28 12:14:28 +01:00