mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
Enable am toggle. (#8225)
This commit is contained in:
parent
29a28ea203
commit
5842b14247
3 changed files with 18 additions and 1 deletions
|
|
@ -5,6 +5,12 @@
|
|||
local dirs = ntop.getDirs()
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
|
||||
local do_am = ntop.getPrefs().active_monitoring
|
||||
if (not do_am) then
|
||||
-- exit if am is disabled
|
||||
return
|
||||
end
|
||||
|
||||
local ts_dump = require "ts_5min_dump_utils"
|
||||
local am_utils = require "am_utils"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue