mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
parent
1f24dec3e3
commit
b117e8a23a
178 changed files with 6639 additions and 124 deletions
12
scripts/lua/rest/v2/edit/active_monitoring/pool.lua
Normal file
12
scripts/lua/rest/v2/edit/active_monitoring/pool.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.edit_pool(active_monitoring_pools)
|
||||
12
scripts/lua/rest/v2/edit/check/filter.lua
Normal file
12
scripts/lua/rest/v2/edit/check/filter.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
|
||||
|
||||
local alert_rest_utils = require "alert_rest_utils"
|
||||
|
||||
if isAdministratorOrPrintErr(true) then
|
||||
alert_rest_utils.exclude_alert()
|
||||
end
|
||||
12
scripts/lua/rest/v2/edit/flow/pool.lua
Normal file
12
scripts/lua/rest/v2/edit/flow/pool.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 flow_pools = require "flow_pools"
|
||||
local pools_rest_utils = require "pools_rest_utils"
|
||||
|
||||
pools_rest_utils.edit_pool(flow_pools)
|
||||
12
scripts/lua/rest/v2/edit/host/pool.lua
Normal file
12
scripts/lua/rest/v2/edit/host/pool.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 host_pools = require "host_pools"
|
||||
local pools_rest_utils = require "pools_rest_utils"
|
||||
|
||||
pools_rest_utils.edit_pool(host_pools)
|
||||
12
scripts/lua/rest/v2/edit/host_pool/pool.lua
Normal file
12
scripts/lua/rest/v2/edit/host_pool/pool.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 host_pool_pools = require "host_pool_pools"
|
||||
local pools_rest_utils = require "pools_rest_utils"
|
||||
|
||||
pools_rest_utils.edit_pool(host_pool_pools)
|
||||
12
scripts/lua/rest/v2/edit/interface/pool.lua
Normal file
12
scripts/lua/rest/v2/edit/interface/pool.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 interface_pools = require "interface_pools"
|
||||
local pools_rest_utils = require "pools_rest_utils"
|
||||
|
||||
pools_rest_utils.edit_pool(interface_pools)
|
||||
12
scripts/lua/rest/v2/edit/mac/pool.lua
Normal file
12
scripts/lua/rest/v2/edit/mac/pool.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 mac_pools = require "mac_pools"
|
||||
local pools_rest_utils = require "pools_rest_utils"
|
||||
|
||||
pools_rest_utils.edit_pool(mac_pools)
|
||||
12
scripts/lua/rest/v2/edit/network/pool.lua
Normal file
12
scripts/lua/rest/v2/edit/network/pool.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 local_network_pools = require "local_network_pools"
|
||||
local pools_rest_utils = require "pools_rest_utils"
|
||||
|
||||
pools_rest_utils.edit_pool(local_network_pools)
|
||||
12
scripts/lua/rest/v2/edit/system/pool.lua
Normal file
12
scripts/lua/rest/v2/edit/system/pool.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 system_pools = require "system_pools"
|
||||
local pools_rest_utils = require "pools_rest_utils"
|
||||
|
||||
pools_rest_utils.edit_pool(system_pools)
|
||||
Loading…
Add table
Add a link
Reference in a new issue