mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
parent
1f24dec3e3
commit
b117e8a23a
178 changed files with 6639 additions and 124 deletions
12
scripts/lua/rest/v2/get/active_monitoring/pools.lua
Normal file
12
scripts/lua/rest/v2/get/active_monitoring/pools.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
--
|
||||
-- (C) 2013-21 - ntop.org
|
||||
--
|
||||
|
||||
local dirs = ntop.getDirs()
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/pools/?.lua;" .. package.path
|
||||
|
||||
local active_monitoring_pools = require "active_monitoring_pools"
|
||||
local pools_rest_utils = require "pools_rest_utils"
|
||||
|
||||
pools_rest_utils.get_pools(active_monitoring_pools)
|
||||
Loading…
Add table
Add a link
Reference in a new issue