Commit graph

627 commits

Author SHA1 Message Date
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
Alfredo Cardigliano
b4e2bcae56 Add js to dynamically toggle settings on mirror input change 2020-12-30 10:58:03 +01:00
Alfredo Cardigliano
cb39e12f70 Enable gui directions for pcap interface 2020-12-30 10:40:04 +01:00
Alfredo Cardigliano
5907af0ce5 Print interface MAC address 2020-12-30 10:07:25 +01:00
Alfredo Cardigliano
5ac6b93338 Show MAC configuration only with Mirror enabled. Code optimizations. 2020-12-29 19:24:45 +01:00
Alfredo Cardigliano
4d47a2cc6d Show gw mac configuration in packet mode only 2020-12-29 09:38:59 +01:00
Alfredo Cardigliano
33415ad2dd Add support for traffic direction based on the MAC address (implement #4852) 2020-12-29 09:36:51 +01:00
gabryon99
e35100f25c removed table responsive wrapper (#4798) 2020-12-28 18:41:21 +01:00
Luca Deri
5a455386cb Fixes #4750 2020-12-24 15:46:30 +01:00
gabryon99
29f697ec46 add periodicity map entry 2020-12-23 22:12:01 +01:00
gabryon99
213262f58d add maps menu inside the sidebar 2020-12-23 22:12:01 +01:00
gabryon99
5f801c53fb add periodicity link inside ifstats menu 2020-12-23 18:26:27 +01:00
Matteo Biscosi
f13e7157fc Removed ifname from redis prefs keys 2020-12-18 12:27:59 +01:00
gabryon99
65a5d4658c add new service map page under host menu 2020-12-16 21:05:58 +01:00
Luca
e1158fb855 Removed Logstats implementation that was suboptinal
Replaced sys syslog that is more generic and that can also be used with Logstash
Fixes #4796
2020-12-14 13:52:12 +01:00
Simone Mainardi
204026d9c9 Fixes too-many-export-drops alerts
Fixes #4742
2020-11-27 11:37:43 +01:00
gabryon99
1c73df18db add table-responsive class (#4692) 2020-11-09 17:05:36 +01:00
gabryon99
4eaedf5c75 add responsive div wrapper for necessary tables (#4681) 2020-11-06 10:50:09 +01:00
Alfredo Cardigliano
3a05d777bc Improve dynamic disaggregation manu 2020-11-03 14:46:07 +01:00
Luca Deri
9d232d614c Various cosmetic fixes in host and flow pages
Service map is not reported when there are no services listed
2020-11-01 13:54:24 +01:00
Simone Mainardi
be3c882a7c Fixes reverted trends in if_stats.lua 2020-10-23 15:02:12 +02:00
Simone Mainardi
504148e0ab Standardizes probe-size drops
Fixes #4619
2020-10-23 14:46:41 +02:00
gabryon99
d9bba4b4b2 add to pool shortcut for interface and local network (#4093) 2020-10-16 18:02:22 +02:00
gabryon99
6fe28145e0 hide text in interface config page (#4599) 2020-10-15 19:54:01 +02:00
Luca Deri
3af2b10a9f Reworked service and periodic map 2020-10-11 14:47:31 +02:00