Commit graph

50 commits

Author SHA1 Message Date
Vasilis Tako
497b59a729 Fixes close button not working for active monitoring modals (#5791) 2021-08-24 19:05:52 +02:00
Simone Mainardi
ddad633b3a Fixes checks and addition of host pools
Addresses #5677
2021-07-15 10:52:10 +02:00
Alfredo Cardigliano
064c20db29 Implement support for alert filters using a dialog (WIP) 2021-05-13 19:02:28 +02:00
gabryon99
16f25fe474 fixes for delete alerts modal 2021-05-06 09:26: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
gabryon99
a352941b8c set maximum threshold value to 10 second for https(s) measurement (#4759) 2020-11-23 16:23:14 +01:00
gabryon99
f2037d45f8 moved infrastructure dashboard to system interface view 2020-11-18 16:57:05 +01:00
gabryon99
24d1cb727a fixed missing error label 2020-11-05 19:07:40 +01:00
gabryon99
631d58fe59 removed console.log from modal utils 2020-10-12 15:54:50 +02:00
gabryon99
a039d50fe9 improvement for host pool members modal 2020-10-08 17:03:29 +02:00
gabryon99
ca0be5f478 replaced email regex to support hyphen 2020-10-08 13:18:00 +02:00
gabryon99
829649bd2f improved validity check for modal form (#4507) 2020-10-07 23:19:10 +02:00
gabryon99
0ee77cd6da added cross pages buttons (#4537) 2020-10-07 16:19:04 +02:00
gabryon99
89f23846c8 handled IPv6 (#4520) 2020-10-05 18:53:57 +02:00
gabryon99
93bafa569d improved table filtering and fixed #4507 2020-10-05 18:39:07 +02:00
gabryon99
4c6d067205 add severity and categories for recipients 2020-09-16 16:13:04 +02:00
gabryon99
b580346453 improved modal utils 2020-09-10 12:42:14 +02:00
gabryon99
146e0f7945 rewrok gui for new recipients api 2020-09-08 14:08:44 +02:00
gabryon99
c59133ef72 fixed modal filling on close 2020-09-07 09:22:48 +02:00
Simone Mainardi
f493a9f70d Implements static const REGEXES in JS class NtopUtils 2020-08-18 16:46:29 +02:00
gabryon99
d746ba5f31 removed is-valid class from DNS resolve input 2020-08-18 16:25:50 +02:00
gabryon99
847138190b add localization to DNS resolve inside endpoint email type 2020-08-18 16:25:15 +02:00
gabryon99
5797c7c8fd add hostname resolve for email endpoint 2020-08-18 16:24:18 +02:00
gabryon99
2acdffc462 fixed filtering for address containingg CIDR in host pool member page 2020-08-18 16:22:19 +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
036b22229e improved form validation feedback 2020-08-12 11:44:41 +02:00
gabryon99
300abe8619 add validation messages to modalhandler 2020-08-12 09:31:51 +02:00
gabryon99
8684916788 added form validation that enables submit buttons 2020-08-06 12:01:34 +02:00
gabryon99
2c27297ed3 add host pool members page 2020-07-20 11:50:44 +02:00
gabryon99
48dc7e1a93 notification for geoip, contribution and alert notification api in js 2020-07-15 10:00:04 +02:00
gabryon99
95f10628ab changed header request for requests made with modal utils 2020-07-08 14:50:18 +02:00
gabryon99
e20f7d28a3 add gui for snmp v3 2020-06-22 16:28:18 +02:00
gabryon99
5af7adfdf0 removed console log for debugging 2020-06-22 09:32:32 +02:00
gabryon99
6bba71a8de clean form fix for snmp add modal 2020-06-22 09:16:11 +02:00
gabryon99
7a532c75aa add reset logic for modal handler 2020-06-20 09:54:23 +02:00
gabryon99
0c71e32abf add reload snmp table button and reset add form fields 2020-06-20 09:19:10 +02:00
gabryon99
2ea2b6459f snmp device add via ajax 2020-06-18 10:11:56 +02:00
gabryon99
10967c7a8c added support modal handler to handle sync requests 2020-06-17 10:41:59 +02:00
emanuele-f
e546c7d7ee Allow empty csrf (e.g. with -l1) 2020-05-19 12:34:35 +02:00
emanuele-f
94be495a6c Rename are-you-sure disable parameter 2020-05-19 11:15:07 +02:00
emanuele-f
bc9821278c Migrate scripts-list-utils.js to modal-utils.js
Addresses #3861
2020-05-19 11:11:52 +02:00
emanuele-f
6e51fbb84d Only initialize the modals once
This prevents multiple events rebindings
2020-05-18 19:19:16 +02:00
emanuele-f
445ebe8ed4 Add are-you-sure logic to modal-utils 2020-05-18 19:19:16 +02:00
gabryon99
584f015328 form cleaned after submission endpoint notification
fix #3897
2020-05-06 18:02:56 +02:00
gabryon99
9973d63847 add endpoint_notifications_list 2020-05-05 22:28:28 +02:00
gabryon99
aa8c039c3f commented modal utils 2020-05-04 11:11:28 +02:00
gabryon99
d8f47fb191 improved modal-utils 2020-05-03 23:18:19 +02:00
gabryon99
a61a517c3c add timeseries sources in datasources 2020-05-02 23:35:02 +02:00
gabryon99
9876caf1c2 added modal-utils.js 2020-05-01 16:04:24 +02:00