mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 03:45:26 +00:00
Fixes rrd not correctly updated
This commit is contained in:
parent
ebc514d62d
commit
76ade4cd23
1 changed files with 3 additions and 7 deletions
|
|
@ -3,13 +3,9 @@
|
|||
--
|
||||
-- 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
|
||||
local callback_utils = require "callback_utils"
|
||||
callback_utils.uploadTSdata()
|
||||
-- This is not only for InfluxDB but for RRD too
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue