Commit graph

290 commits

Author SHA1 Message Date
MatteoBiscosi
477dfcf29c Fixes copy button not correctly working 2022-03-23 13:47:18 +01:00
MatteoBiscosi
34360bd0e9 Fixes disaggregate interface chart not working 2022-03-17 13:16:28 +01:00
MatteoBiscosi
db4c79de1c Fixes css navbar proportions 2022-03-10 13:36:47 +01:00
uccidibuti
c1c6fc5ded Fix footer refresh 2022-03-09 15:15:20 +01:00
MatteoBiscosi
8061a918b3 Updated data.lua periodic rest 2022-03-07 19:12:41 +01:00
MatteoBiscosi
51ef60ead5 Fronted refactoring 2022-03-04 11:01:24 +01:00
MatteoBiscosi
45934a1680 Lowered interfaces data reload rate 2022-03-03 17:24:20 +01:00
Matteo Biscosi
da8609727f Removed half of the monitor plugins (#6224) 2022-01-21 19:21:58 +01:00
Matteo Biscosi
7f40147cf5 Added network discovery icon to the main page (#6218) 2022-01-19 11:17:54 +01:00
Alfredo Cardigliano
257ece18c0 Copyright update (Lua) 2022-01-03 09:42:33 +01:00
MatteoBiscosi
be9d3b5560 Added semi-permanent thpt stats to interface 2021-12-21 22:38:16 +01:00
MatteoBiscosi
b9e1b76a9f Fixes js warning about popper and selectpicker 2021-12-14 21:04:39 +01:00
Simone Mainardi
e9c26b79f8 Implements UI badges color-coded using engaged alert severities
Addresses #5881
2021-09-24 17:25:34 +02:00
Vasilis Tako
72cd143267 White Mode UI Fixes 2021-09-08 17:32:23 +02:00
Vasilis Tako
c6e9e753dd Fixed Restart Modal 2021-09-08 16:38:43 +02:00
Alfredo Cardigliano
bd7f390d02 Move updates js to the footer to reduce noise 2021-09-07 15:44:44 +02:00
Simone Mainardi
507070526f Uses jQuery selectors to open external link modals
Fixes #5789
Fixes #5785
2021-08-23 14:32:35 +02:00
Vasilis Tako
036ac73dc9 Added possibility to open redirect modal by clicking on the <a> tag (Issue #5789) 2021-08-23 12:16:24 +02:00
Simone Mainardi
0f8fe3aeea Improves update of top network load charts
Addresses #5768
2021-08-16 14:51:09 +02:00
Simone Mainardi
c1cabfff41 Reworks throughput refresh and unifies refresh rates
Addresses #5768
2021-08-16 14:11:38 +02:00
Alfredo Cardigliano
9e74c09dbd Improve navbar responsivenes 2021-08-13 17:28:41 +02:00
Alfredo Cardigliano
4ed9b03b20 Improve number format in badges. Add NtopUtils.formatValue (add decimal). 2021-08-13 13:13:32 +02:00
Alfredo Cardigliano
74b2beb829 Improve navbar look 2021-08-13 10:12:44 +02:00
Vasilis Tako
af6fe32ddf removed print 2021-08-04 15:22:41 +02:00
Vasilis Tako
4da05360f8 Changed back url from title to href attribute on anchor tags (Issue #5618) 2021-08-04 15:20:04 +02:00
Vasilis Tako
0b0107ab34 Added confirm modal when try to open all external links (Issue #5618) 2021-08-03 19:12:30 +02:00
Alfredo Cardigliano
968fb5f752 Improve top navbar look&feel 2021-08-03 14:58:37 +02:00
Alfredo Cardigliano
fe43a0876a Avoid wrapping badges as page looks broken 2021-08-03 12:10:39 +02:00
Alfredo Cardigliano
b8dcca7fdb Add offline flag. Add plane icon in the header. Footer JS code cleanup. 2021-07-09 12:48:42 +02:00
Simone Mainardi
b117e8a23a Adds new REST API v2/
Addresses #5269
2021-07-08 09:57:46 +02:00
Simone Mainardi
fcdadda622 Removes invalid RRD to InfluxDB messages 2021-07-07 15:02:44 +02:00
Simone Mainardi
2b58ed6708 Improve invalid host behavior - add flow alerts anchor
Implements #5603
2021-07-01 13:01:22 +02:00
Simone Mainardi
4a526c3cdf Decouples checks from alerts (removes unnecessary flag is_alert) 2021-06-17 11:43:12 +02:00
gabryon99
338e7be9c0 fixed interface switch on mobile devices (#5407) 2021-05-31 15:40:55 +02:00
gabryon99
24f054f009 add missing username for blog notifications (#5422)
The notifications backend it worked fine, but the frontend was missing the username variable to be in able to display the 'New' badge correctly
2021-05-31 10:25:54 +02:00
gabryon99
78c3984f7c fix for sidebar (#5407) 2021-05-28 12:50:18 +02:00
gabryon99
ebc76da1b6 fixes for dark mode and removed of minified files. (#5391) 2021-05-28 12:13:23 +02:00
Simone Mainardi
066ce1dc4f Header alerts badge hyperlink now points to the engaged alerts 2021-05-26 17:32:05 +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
Simone Mainardi
33495e0188 Fixes system interface selection mixed between Lua and C++ 2021-05-11 12:51:34 +02:00
Simone Mainardi
721fa2680f Reworks and simplifies engaged alert counters 2021-05-07 12:04:44 +02:00
Simone Mainardi
ec06e6568f Simplifies and keeps per-family alert counters 2021-05-07 10:21:32 +02:00
Matteo Biscosi
8d99a8d571 Fixed wrong href 2021-05-06 16:55:22 +02:00
gabryon99
f99e7d4830 gui improvments 2021-04-30 10:38:17 +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
Simone Mainardi
aea9138bfb Implements flow callbacks and alerts in C++ 2021-03-22 09:51:36 +01:00
Simone Mainardi
c8dc97bbb2 Fixes interface toggle for non-admin users
Fixes #5033
2021-02-11 12:27:01 +01:00
gabryon99
e9062d7a73 add ntop.getStaticFileEpoch() to all js files (#4965) 2021-01-27 09:30:18 +01:00
Simone Mainardi
f582504b32 Unifies functions to print info and version 2021-01-12 12:40:10 +01:00
Simone Mainardi
e9a7111313 Changes top-bar flow icon 2021-01-11 12:21:19 +01:00