mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-14 16:12:10 +00:00
15 lines
463 B
Lua
15 lines
463 B
Lua
--
|
|
-- (C) 2013-24 - ntop.org
|
|
--
|
|
-- This script is used to timeseries-related periodic activities
|
|
-- for example to send data to a remote timeseries collector
|
|
|
|
local dirs = ntop.getDirs()
|
|
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
|
|
|
local influxdb_export_api = require "influxdb_export_api"
|
|
|
|
if influxdb_export_api.isInfluxdbEnabled() then
|
|
local callback_utils = require "callback_utils"
|
|
callback_utils.uploadTSdata()
|
|
end
|