Commit graph

536 commits

Author SHA1 Message Date
Simone Mainardi
49e49e0ed6 Unifies host_details.lua generation
Addresses #3977
2020-05-26 12:50:47 +02:00
Simone Mainardi
780df68f52 Minor label fix 2020-05-22 14:42:22 +02:00
emanuele-f
eea288dee9 Add on-off switch template
Addresses #3513
2020-05-21 17:22:00 +02:00
Alfredo Cardigliano
3c890c7a6a Move syslog producers configuration to community 2020-05-15 18:32:54 +02:00
emanuele-f
3a27b78a5d Fix Remote Probe invalid cell format
Addresses #3707
2020-05-11 17:45:01 +02:00
emanuele-f
0be2da4f57 Cleanup remaining references to RTT 2020-04-20 12:21:39 +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
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
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
Alfredo Cardigliano
c4613b5859 Syslog log producers configuration page 2020-04-03 16:20:05 +00:00
Simone Mainardi
8f63bcdd43 Fixes missing config page from mac_details.lua 2020-04-03 12:48:15 +02:00
Alfredo Cardigliano
2425134f05 Replace isEnterprise with isEnterpriseM 2020-04-02 12:36:34 +00: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
emanuele-f
4094662148 Hide packets-related pages in nEdge
Fixes #3586
Fixes #3585
2020-03-20 17:45:38 +01:00
gabryon99
ffea9b2165 fix for ticket #3599 2020-03-20 17:10:05 +01:00
emanuele-f
ee17475cc5 Fix ntopng references for oem 2020-03-17 18:00:40 +01:00
emanuele-f
d16a732367 Fix traffic profiles page shown when no profiles are defined 2020-03-12 15:53:56 +01:00
Alfredo Cardigliano
ffd684ec5b Wrap long interface name 2020-03-11 15:15:35 +01:00
Alfredo Cardigliano
b2490bd35a Hide db export stats on viewed interafces 2020-03-11 11:45:58 +01:00
Alfredo Cardigliano
8cb6e408b5 Show flow dump options on view 2020-03-11 11:05:26 +01:00
Luca Deri
2bb47ec765 Updated ZMQ info 2020-03-11 10:19:47 +01:00
Luca Deri
8c4d068564 Minor ZMQ fixes 2020-03-11 10:01:54 +01:00
Alfredo Cardigliano
edd358a8f8 zmq enc note on new line 2020-03-11 08:36:47 +00:00
gabryon99
aee9148d1e fix for Disaggregated Traffic toggle 2020-03-05 09:38:00 +01:00
emanuele-f
b0520ee189 Improve localization support
- nDPI categories are now localized (see getCategoryLabel)
- Add some missing localization in plugins/user scripts pages
2020-03-03 18:26:14 +01:00
emanuele-f
ea4f936d07 Join interface packets and drops into a single timeseries 2020-02-27 12:09:43 +01:00
emanuele-f
a6dab125d5 Improve dropped alerts information
- Add informative label
- Add dropped alerts timeseries and chart
- Generate a system alert whenever alerts are dropped on a network interface
- Add a periodic activity warning when some alerts are dropped on that activity

Closes #3025
2020-02-26 16:05:19 +01:00
gabryon99
041d84ac1b default timeseries in local variable 2020-02-24 10:45:15 +01:00
emanuele-f
a6a863d38e Calculate disk space stats once per hour 2020-02-19 17:03:16 +01:00
emanuele-f
d1140ec9fd Avoid timeseries read operations to display the chart icon
Now the icon is displayed whenever the timeseries are enabled for the given context
2020-02-19 13:27:20 +01:00
emanuele-f
15898e8dad Flow dissection code cleanup.
The Flow API is now composed of the following methods:
  - Flow::setDetectedProtocol to manually set a protocol on the flow
    and terminate the dissection
  - Flow::processPacket to run the nDPI dissection on the raw packets
  - Flow::endProtocolDissection to terminate or give up the dissection

Also fixes the flow sampling rate preference, which was never used.
2020-02-17 17:36:06 +01:00
Simone Mainardi
156975afd5 Show periodic scripts stats in the system interface 2020-02-17 15:43:42 +01:00
gabryon99
a5f6ae3b8d Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2020-02-13 17:44:21 +01:00
emanuele-f
70da6923a5 Fix traffic report incorrectly show in community 2020-02-13 17:16:25 +01:00
gabryon99
bec4c8184d add switches instead checkboxes 2020-02-12 22:38:27 +01:00
emanuele-f
ac553e9470 Hide alerts count if allowed networks restrictions are set 2020-02-06 16:02:01 +01:00
emanuele-f
27b39337e5 Fix missing interface name in page title 2020-02-04 15:10:14 +01:00
emanuele-f
4f6788fb58 New page_utils api to handle sidebar subitems selection 2020-01-30 11:53:13 +01:00
Simone Mainardi
1ea5311bee Reworks download pcap form layout 2020-01-27 15:42:37 +01:00
emanuele-f
8d51dae0e5 Implement Misbehaving vs Alerted flows chart 2020-01-27 15:37:36 +01:00
Simone Mainardi
be167a6dcb Adds per-interface option to only allocate flows 2020-01-21 10:50:30 +01:00
Alfredo Cardigliano
da6b521d53 Computing restricted filter for users allowed to capture live traffic based allowed subnets 2020-01-13 13:02:57 +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
b44de6e18d Implements discarded probing traffic counters and timeseries 2019-12-31 16:01:24 +01:00
Simone Mainardi
cc49cdc1af Implements per-interface pref to discard probing traffic 2019-12-31 10:15:54 +01:00
Simone Mainardi
c873aee41b Implement counter and chart for new flows per second 2019-12-27 12:29:55 +01:00
Simone Mainardi
0de06c5db8 Hides sub interfaces menu on view / disaggregated faces 2019-12-20 15:21:19 +01:00