Commit graph

751 commits

Author SHA1 Message Date
Simone Mainardi
4a3be51887 Adds links to probe IP for active hosts 2021-07-16 12:45:38 +02:00
Simone Mainardi
e6ffc83324 Handles large number of nProbes in UI and backend
Implements #5667
2021-07-15 17:11:48 +02:00
Simone Mainardi
3ada168fb7 Fixes engaged/dropped alert timeseries wrongly typed
Partially addresses #5678
2021-07-14 12:53:55 +02:00
Simone Mainardi
b117e8a23a Adds new REST API v2/
Addresses #5269
2021-07-08 09:57:46 +02:00
Luca Deri
b9ca15050f Added check 2021-07-07 12:23:16 +02:00
Luca Deri
f09bfbde26 Fixed interface stats with aggregated views 2021-07-07 08:43:14 +02:00
Luca Deri
620823cf33 Cleaned up code for ZMQ collectors (some extra cleanup is necessary however) 2021-07-07 01:38:45 +02:00
MatteoBiscosi
08e4c16375 Removed service/periodicity maps href for unprivileged users #5617 2021-07-02 11:54:39 +02:00
MatteoBiscosi
a8e187dece Fixes #5584 invalid table layout in ZMQ Interfaces 2021-06-30 17:35:45 +02:00
l3wiz
b3b45ee522 Fixed layout in ZMQ interfaces (Issue #5584) 2021-06-30 12:48:17 +02:00
Luca
ff3f9a43a1 Introduced traffic direction in ZMQ when %DIRECTION information
element is set in the nProbe template (-T)
2021-06-28 09:13:58 +02:00
Vasilis Tako
4fe3628db9
Merge branch 'ntop:dev' into dev 2021-06-24 16:37:51 +02:00
Simone Mainardi
03b1633d1a Adds extra tracing for alert drops
Addresses #5558
2021-06-23 16:13:47 +02:00
l3wiz
f3126b42fe Changed progress-bar and badges palette color (Issue #5346) 2021-06-23 13:14:52 +02:00
Simone Mainardi
2e8a6de0fc Major terminology unification (user scripts -> checks) 2021-06-17 12:39:43 +02:00
Luca Deri
a6eb3e7419 Changes to the layour of the information nProbe has reported 2021-06-17 09:30:17 +02:00
Simone Mainardi
b38d6e5afd Fixes hosts serialized by MAC not handled in traffic reports
Fixes #5426 along with companion pro commit
2021-06-07 16:40:06 +02:00
Matteo Biscosi
c74863ea7e Fixed js error regarding copy button (#5350) 2021-06-03 16:26:22 +02:00
Matteo Biscosi
d490648c70 Checking admin and localized string (#5350) 2021-06-03 14:43:02 +02:00
l3wiz
e5eb031e33 added zmq copy button (issue #5350) 2021-06-03 13:05:54 +02:00
Luca Deri
4a671e1789 Unified custom form name 2021-06-02 07:36:43 +02:00
Matteo Biscosi
756966c62b Added nProbe license and maintenance infos to iface 2021-05-31 12:28:41 +02:00
Simone Mainardi
0855f627a0 Allows alert access to admins and non-admins w/o allowed networks
Addresses #5324
2021-05-25 18:14:17 +02:00
Simone Mainardi
1dce9e5842 Migrates to Bootstrap 5
Adds bootstrap-5.0.0-beta3-dist

Adds bootstrap-5.0.0

Updates bootstrap-5.0.0-beta3-dist to bootstrap-5.0.0-dist

initial migration to bs v5

porting to bs5

improvements on dropdown menu filter

fixed host map dropdown

removed excessive padding

fix button toggle

re-add blog news

removed text decoration for links

fix button layout (#5348)

remove underscore from href (#5347)
2021-05-18 11:39:59 +02:00
Matteo Biscosi
8d99a8d571 Fixed wrong href 2021-05-06 16:55:22 +02:00
Simone Mainardi
917a3add9f Removes debug flag flow_only_interface 2021-05-06 11:51:50 +02:00
Simone Mainardi
83f0c38937 Massive cleanup of old alerts code 2021-05-03 18:16:46 +02:00
Simone Mainardi
c7082a4647 Implements new alerts database and drilldown
alert store skeleton

Alert database type changes

Implement alert store for host alerts. All alert store skeletons.

Fix class method access

Enable tracing

Implements simple queries for host alerts

Implement flow alert store

Fixes escaping of INSERT queries

Flow alerts database schema fixes

Adds escaping for alert JSON in flows and hosts

Implements queries .select() for alerts store

Adds limit and offset to perform paginated queries

Adds new REST getter for flow alerts

Name changes alert_severity to severity, alert_json to json

Fixes alert message not shown

Implement active monitoring alerts store

Implements sort of queries in the new dataabase

Changes alert_type to alert_id

Implement mac alerts store

Fixes flow alert messages

Implement system alerts store

Implement snmp alert store

Add missing items to the flow alerts

Add missing items to the host alerts

Add missing items to the mac alerts

Implements COUNT aplerts api

Add device_name to snmp alerts

add flow alerts templates

updated gitignore

fix for missing order field

add families defined in `alert_store_schema.sql`

Reworks and simplifies alert store subclasses

Implements REST API to fetch alert timeseries

Fixes date in flow REST api

Host alert json fix

Add get/host/alert/list.lua

Move alert/list.lua to alert/past/list.lua

Add alert/past/list.lua for all alert families

Add entity_id to system table to identify the alert type based on <alert_id, entity_id>

Add missing field

Implements facilities to query engaged alerts via REST

Handle both historical and past alerts in alert/list.lua

Fix count

Update params of select_historical

Implement method to add family-specific filters

Add alert/ts.lua for all alert families

Implements facilities and REST endpoints to delete alerts

Implements ordering of alert queries

Fix add_order_by group_by

Rest API tests update

Tests output update

Remove debug trace

Use alert_id instead of type. Add more flow alert info.

Update http lint

Format obsolete tlv version alerts. Add more host info.

Add row_id to list of alerts

Fix selection of engaged alerts

Add test for mac alerts (bcast domains)

Removes attempt to format alerts as flow alerts

Fixes interface selection for active monitoring

Update test output with rest changes

Add more fields to be ignores

Set alert count to 1 for the time being

add bar timeseries chart

add apexcharts

improvements on timeseries bar chart

registered chart callbakcs

working on alert page

fix for date format

Fixes acrive monitoring REST API

Fixes alignment of grouped alert data

Additional fix for alert histogram

remove useless if

formatting alerts page

fixes on flows alert stats table

rename local networks to device

format host pagie in alert_stats

add tag support for hosts and flow

implemented single delete action

add release modal

Fixes format of threshold cross interface alerts

Fixes wrong increase of dropped alerts

Implements exclusion list for invalid dns queries

Reworks exclusions lists for hosts and flows

Addresses #5212
Addresses #5113

Adds host alert keys in host callbacks definitions

Adds alert ids to flow callbacks

fix for not working button (#5215)

Fixes reported timeseries name

removed any additional button inside chart's toolbar (#5200)

Add tables for interfaces, networks, users to the schema. Skeleton alert_store classes

fixed broken range picker layout in firefox (#5199)

Alert insert fixes

Add more info to network alerts

Add rest endpoint for interface, network, user alerts

Fix endpoint selection in alerts_stats

Unifies columns between engaged and past alerts

Fixes Missing mandatory 'alert_granularity'

Minor fixes for missing alert_severity

Fixes arithmetic on a nil value (field 'last_seen')

Fixes get/system/alert/list.lua

use tstamp for column names (#5221)

Implements host alert formatter

Add alerts_store format_record_common

Use common format_record for am, system alerts

Use common format_record for all alerts

Fixes formatting of alerts of all types

Fixes nil in function 'hostinfo2label'

fixes on disable modal

add pages for network, user and interface endpoint (#5224)

Set alert_entity in all classes

Unifies influxdb alerts into system alerts

Addresses #5224

Unifies process alerts into system alerts

Addresses #5224

Cleanup unused periodicActivityEntity

Unifies category lists alerts into system alerts

Addresses #5224

Aligns new alert enums

Addresses #5224

Fixes alert page links

Fixes insertion of interface alerts

Implement filters for Host alerts

Fixes active monitoring alerts not triggering

Implement filters on flow alerts

Fixes for internal alerts timestamp and subtype

implements disable for the alerts

formatted alert disable label

Add address and device type to mac alert records

fix for delete alert toggle

Fix access to entity_val in alert_unexpected_new_device

add mac address and device type inside table

Fixes for new alert fields not handled

Fixes alert_definitions to handle new fields

Add ip/port to snmp alert records

Implements deletion of stored flow alerts

Add alert_name to all alert records via rest. Fix duration.

fixes for snmp tab

Implements delete of past host alerts

Add name to snmp alert records

fixes on system tab

Fix Date column

fixes link

Update menu

Fixes bad argument #3 to 'format' in snmp alerts

updated interface link

new alerts url for host (#5228)

Fixes sort of engaged alert

Minor cleanup

Fixes data returned for local network alerts

Fix duration for one shot. Note.

Fix duration override

Fixes interface selection for system alerts

Move host alert page

fixes for local network tab

Minor fix

Fix engaged host alerts

fixes on user tab

Fix alert_user_activity message
2021-04-26 19:41:34 +02:00
Luca Deri
b3b706eb1e Added anomalies formatting 2021-04-10 17:19:18 +02:00
Luca Deri
3dc84acdec Added hosts anomalies in traffic stats page 2021-04-10 11:01:18 +02:00
gabryon99
86047585e7 fixed arp table 2021-03-22 16:37:04 +01:00
Francesco Carli
60f309ae52
Use datatable for ARP data (#5117)
* Creating datable for arp data

* Delete ntopng-config

* Remove debug tracings

* Add localization
2021-03-22 16:02:00 +01:00
Matteo Biscosi
d94ebe042f Fixes interface page anomalies nil value 2021-03-19 09:39:14 +01:00
Luca Deri
8f37e1d77d Added anomaly counter 2021-03-18 19:08:17 +01:00
Luca
a20f93c11e Minor cosmetic changes to pcap download 2021-03-13 20:01:45 +01:00
Matteo Biscosi
01f3486f4b Modified button colors
Implements #4618
2021-03-04 17:28:50 +01:00
Matteo Biscosi
6ba47ad0c0 Added modal to reset stats button
Implements #4618
2021-03-04 12:39:17 +01:00
Simone Mainardi
0d39732d1c Implements telemetry for alter filters 2021-02-17 12:08:40 +01:00
Luca Deri
69c56acd0d Fix for shortening long interface names 2021-01-27 21:56:30 +01:00
gabryon99
89b21df6f6 fixed empty network page (#4974) 2021-01-27 10:56:24 +01:00
gabryon99
e9062d7a73 add ntop.getStaticFileEpoch() to all js files (#4965) 2021-01-27 09:30:18 +01:00
Alfredo Cardigliano
75a271030a Safety check 2021-01-25 14:43:23 +01:00
Alfredo Cardigliano
f1889790da Fix probe time drift reporting 2021-01-22 11:37:51 +01:00
Matteo Biscosi
eb140e33a4 Fixed service/periodicity map showing when shouldn't 2021-01-11 12:11:37 +01:00
Matteo Biscosi
023b7fd1df Reviewed Top Sites per host and Added Top Sites per Interface 2021-01-08 20:07:19 +01:00
Simone Mainardi
ad59b61245 Implements dropdown search for interfaces
Partially addresses #4800
2021-01-08 17:45:41 +01:00
gabryon99
07e747e538 improvements for pages layout (#4798) 2021-01-04 16:17:11 +01:00
Luca Deri
a1178a0791 Updated (C) 2021-01-02 12:08:23 +01:00
Luca Deri
dbb42ec897 In interface graph the default timeseries used is traffic RX/TX in case of traffic directions being used 2020-12-30 21:26:19 +01:00
Luca Deri
3f4d136ffb Added RX/TX interface page breakdown 2020-12-30 21:06:35 +01:00