Changed refresh interval for SNMP table to 1 minute (#8433)

* added guide for GUI development functioning

* Changed table refresh to 1 minut

* updated en.lua path

* Added lua navbar documentation

* Fixed SNMP menu entry highlight

---------

Co-authored-by: DGabri <gabriele.deri@gmail.com>
This commit is contained in:
GabrieleDeri 2024-06-05 15:58:10 +02:00 committed by GitHub
parent 778bd5dbd6
commit 995948ad32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 27 additions and 4 deletions

View file

@ -254,11 +254,12 @@ else
-- The Monitoring entry are used to go to the System interface pages
-- without using the Interface dropdown. The section is hidden
-- in system interface.
-- Interface is not system
page_utils.add_menubar_section({
section = page_utils.menu_sections.monitoring,
hidden = is_system_interface or not is_admin,
entries = {{
entry = page_utils.menu_entries.snmp,
entry = page_utils.menu_entries.snmp_monitoring,
hidden = (not ntop.isEnterpriseM() and not ntop.isnEdgeEnterprise()),
url = "/lua/pro/enterprise/snmpdevices_stats.lua"
}, {
@ -492,6 +493,7 @@ page_utils.add_menubar_section({
-- ##############################################
-- Pollers (e.g., SNMP, active monitoring)
-- System interface menu
local poller_entries = {{
entry = page_utils.menu_entries.infrastructure_dashboard,