From 12dcd87eeddac9e49e156e718fddbe866c063d31 Mon Sep 17 00:00:00 2001 From: Simone Mainardi Date: Tue, 18 May 2021 10:57:37 +0200 Subject: [PATCH] Show interface alerts also for the system interface Fixes #5349 --- include/ntop_defines.h | 2 +- scripts/lua/alert_stats.lua | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/ntop_defines.h b/include/ntop_defines.h index 720db54211..6d75f833af 100644 --- a/include/ntop_defines.h +++ b/include/ntop_defines.h @@ -878,7 +878,7 @@ #define STATS_MANAGER_STORE_NAME "top_talkers.db" #define ALERTS_STORE_SCHEMA_FILE_NAME "alert_store_schema.sql" -#define ALERTS_STORE_DB_FILE_NAME "alert_store_v04.db" +#define ALERTS_STORE_DB_FILE_NAME "alert_store_v05.db" #define NTOPNG_DATASOURCE_KEY "ntopng.datasources" #define NTOPNG_DATASOURCE_URL "/datasources/" diff --git a/scripts/lua/alert_stats.lua b/scripts/lua/alert_stats.lua index d0e62511a1..0738b6ea27 100644 --- a/scripts/lua/alert_stats.lua +++ b/scripts/lua/alert_stats.lua @@ -98,7 +98,6 @@ local pages = { label = i18n(alert_entities.interface.i18n_label), endpoint_list = "/lua/rest/v1/get/interface/alert/list.lua", endpoint_ts = "/lua/rest/v1/get/interface/alert/ts.lua", - hidden = is_system_interface, badge_num = num_alerts_engaged_by_entity[tostring(alert_entities.interface.entity_id)] }, {