Removed half of the monitor plugins (#6224)

This commit is contained in:
Matteo Biscosi 2022-01-21 19:21:39 +01:00
parent 0ea16ccd7d
commit da8609727f
41 changed files with 508 additions and 678 deletions

View file

@ -0,0 +1,13 @@
--
-- (C) 2019-22 - ntop.org
--
local dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
local redis_api = require "redis_api"
local rest_utils = require("rest_utils")
local stats = redis_api.getStats()
rest_utils.answer(rest_utils.consts.success.ok, stats)