Reworked host page to vuejs

This commit is contained in:
Matteo Biscosi 2024-03-08 12:54:46 -05:00
parent a07fbb9bc5
commit 7792bf4fb6
15 changed files with 1114 additions and 18 deletions

View file

@ -101,6 +101,7 @@ function getProbeName(exporter_ip, show_vlan, shorten_len)
-- No alias set, let's try with the SNMP
if ntop.isPro() then
local dirs = ntop.getDirs()
package.path = dirs.installdir .. "/pro/scripts/lua/modules/?.lua;" .. package.path
snmp_cached_dev = require "snmp_cached_dev"
end