Commit graph

67 commits

Author SHA1 Message Date
Simone Mainardi
b7f12727e2 Implements spillover description column for flow alerts 2021-05-12 18:43:12 +02:00
Alfredo Cardigliano
6c9b546383 Improve alert description for some families 2021-05-11 18:11:10 +02:00
Alfredo Cardigliano
41b72c1125 Cleanup alert description (move configset link as additional field). Add ellipsis to long descriptions, with tooltips. 2021-05-11 17:18:13 +02:00
Alfredo Cardigliano
fc85cc20ef Add alert name to the description. Add support for filtering on alert type (wip) 2021-05-11 12:33:51 +02:00
Simone Mainardi
74603b8fe6 Implements alerts summary page for engaged alerts 2021-05-10 12:20:27 +02:00
Matteo Biscosi
6171d8cd29 Fixes flow filters not working 2021-05-07 10:58:15 +02:00
Alfredo Cardigliano
9ab16ef788 Fix total alerts columns 2021-05-06 18:51:49 +02:00
Alfredo Cardigliano
1b58740579 Add colors to alertt dashboard. Cleanup duplicated css. 2021-05-06 18:47:29 +02:00
Simone Mainardi
c0a3b4c288 Implements alert report global page
Implements #5291
2021-05-06 16:44:06 +02:00
Alfredo Cardigliano
9c3c1fa3a9 Improve alert table look 2021-05-05 17:24:45 +02:00
Alfredo Cardigliano
cdcd1c800a Render severirty color (poc) 2021-05-05 15:41:31 +02:00
Alfredo Cardigliano
d8080ef14c Add score field to rest for all alert types. Set score color from severity. 2021-05-05 12:24:15 +02:00
gabryon99
ab0b442608 fixes on alert stats and nindex query 2021-05-03 17:42:54 +02:00
gabryon99
ab289aec69 fixes on alert stats layout 2021-05-03 17:42:54 +02:00
gabryon99
ae384d8a34 new alerts page layout (#5230) 2021-05-03 12:00:54 +02:00
gabryon99
ab3cadd6b5 removes italic fro tags link 2021-04-30 10:38:17 +02:00
gabryon99
e7bd4a2eaa italic hyperlinks (#5207) 2021-04-29 10:09:13 +02:00
gabryon99
34269c8b43 various fixes on alert page (#5230, #5231) 2021-04-28 12:22:37 +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
gabryon99
4b794a8d6b add visible_columns paramater and removed columns from get request 2021-04-02 14:21:58 +02:00
gabryon99
9e01ba70ee added new tags 2021-03-26 18:14:18 +01:00
gabryon99
7fe316a568 add save/load functions for the table view 2021-03-19 13:34:31 +01:00
gabryon99
a948cbea0f add toggle columns dropdown for the new datatables 2021-03-18 12:24:01 +01:00
gabryon99
59725e0355 add a test page containing datetimepicker range 2021-03-09 13:50:15 +01:00
gabryon99
dd9ed3958e unified action buttons for service map (#5050) 2021-03-04 11:53:32 +01:00
gabryon99
6efd1a65ff add range datatable filter 2021-01-25 16:17:34 +01:00
Matteo Biscosi
e1627733fe Reviewed top sites table graphic 2021-01-11 10:41:36 +01:00
gabryon99
07e747e538 improvements for pages layout (#4798) 2021-01-04 16:17:11 +01:00
gabryon99
f489710fa8 extended datatable utils 2020-12-23 18:26:27 +01:00
gabryon99
5d30509428 fixed misaligned button on scripts list 2020-12-03 11:25:06 +01:00
gabryon99
8aed231bf7 Reworked widget and datasources pages 2020-12-02 16:57:01 +01:00
gabryon99
f3d921a159 add external attribute for datatable buttons 2020-11-17 09:53:30 +01:00
gabryon99
19ec0736bc improved flow exporters page (#4598) 2020-10-22 22:15:04 +02:00
gabryon99
8d142ca688 rework exporters page (#4598) 2020-10-21 21:28:27 +02:00
gabryon99
38f6435982 removed exception thrown in alert-notification (#4532) 2020-10-06 11:09:53 +02:00
gabryon99
93bafa569d improved table filtering and fixed #4507 2020-10-05 18:39:07 +02:00
gabryon99
409b3868c3 min width for actions button (#4498)
fix #4498
2020-09-30 15:35:23 +02:00
gabryon99
41da59e54c improved datatable filtering 2020-09-24 23:02:47 +02:00
gabryon99
7fab77bf4a separated am_stats view from control 2020-09-23 23:22:19 +02:00
gabryon99
d64c1b5c2f fixing style for action buttons in user scripts page (#4479, #4456, #4464( 2020-09-23 16:16:03 +02:00
gabryon99
3d1f2c8bef fixed enabled button on scripts list 2020-09-23 08:23:56 +02:00
gabryon99
38d9d74d06 fixed action button style in datatable for SNMP
addresses #4473
2020-09-23 08:23:56 +02:00
gabryon99
e201fe69f2 improved SNMP edit pool 2020-09-17 15:36:24 +02:00
gabryon99
4c6d067205 add severity and categories for recipients 2020-09-16 16:13:04 +02:00
gabryon99
331d8644ef fixed time since last use 2020-09-15 18:57:27 +02:00
gabryon99
6d2af8dec7 add time since last use column and periodically refresh for recipients table 2020-09-15 18:26:51 +02:00
gabryon99
2048db187f made recipients builtin non-editable and non-deletable 2020-09-10 12:43:09 +02:00
Simone Mainardi
1ae2b2d932 Refactors NtopngUtils into NtopUtils 2020-08-18 15:10:04 +02:00
Simone Mainardi
e61f9ffe68 Refactor JS code into class NtopngUtils
Implements #3735
2020-08-18 14:13:48 +02:00
gabryon99
83d16879df fixed show filter 2020-08-14 11:16:09 +02:00