Commit graph

751 commits

Author SHA1 Message Date
Simone Mainardi
dce5623bc2 Fixes pool ids associated with interface alerts 2020-07-21 15:24:19 +02:00
Alfredo Cardigliano
c6cf8e418e Add timeseries for host and interface DSCP classes 2020-07-21 10:08:08 +02:00
Luca Deri
84bd93f903 Implemented periodicity stats 2020-07-20 22:44:23 +02:00
Alfredo Cardigliano
28bbbe0193 Add interface details DSCP stats tab 2020-07-20 17:48:48 +02:00
Simone Mainardi
b2f6b03ce7 Cleanup of if_stats.lua to remove unnecessary host_pools_utils include 2020-07-16 16:27:22 +02:00
Alfredo Cardigliano
1fb820069b Enable companion interface configuration for zmq interfaces 2020-07-02 10:47:37 +02:00
Simone Mainardi
4ecb2ba33f Hides unassigned pool devs for interfaces without macs 2020-07-01 16:19:44 +02:00
Simone Mainardi
54b29aa1dc Implements GUI to configure host pools
Implements #4098
Implements #4087
2020-07-01 16:05:01 +02:00
Simone Mainardi
b8eabac4ba Adds timeseries of database dumped/dropped flows 2020-06-25 15:11:46 +02:00
Simone Mainardi
49e1340a3a Fixes if_stats page layout with ZMQ interfaces 2020-06-24 15:55:25 +02:00
Simone Mainardi
0bbb30e13e Refactors snmp_utils global methods into module functions 2020-06-10 13:09:30 +02:00
Simone Mainardi
8a3e65ac50 Requires snmp_utils as local module 2020-06-10 12:17:25 +02:00
Simone Mainardi
7067bb3725 Migrates if_stats.lua to REST API v1 2020-06-01 10:34:26 +02:00
Alfredo Cardigliano
192a043ae5 Remove iface_ndpi_stats.lua (use the REST API) 2020-05-28 11:21:43 +02:00
emanuele-f
aedf348534 Move interface timeseries prefs to the global config
Addresses #3979
2020-05-27 13:48:27 +02:00
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