mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Added Flows and Drops ts to exporters
This commit is contained in:
parent
503766901c
commit
1635df72aa
4 changed files with 48 additions and 13 deletions
|
|
@ -1,7 +1,6 @@
|
|||
--
|
||||
-- (C) 2019-24 - ntop.org
|
||||
--
|
||||
|
||||
local dirs = ntop.getDirs()
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/timeseries/?.lua;" .. package.path
|
||||
|
||||
|
|
@ -387,6 +386,26 @@ schema:addMetric("bytes_rcvd")
|
|||
|
||||
-- ##############################################
|
||||
|
||||
schema = ts_utils.newSchema("flowdev:drops", {
|
||||
step = 300,
|
||||
rrd_fname = "drops"
|
||||
})
|
||||
schema:addTag("ifid")
|
||||
schema:addTag("device")
|
||||
schema:addMetric("drops")
|
||||
|
||||
-- ##############################################
|
||||
|
||||
schema = ts_utils.newSchema("flowdev:flows", {
|
||||
step = 300,
|
||||
rrd_fname = "flows"
|
||||
})
|
||||
schema:addTag("ifid")
|
||||
schema:addTag("device")
|
||||
schema:addMetric("flows")
|
||||
|
||||
-- ##############################################
|
||||
|
||||
schema = ts_utils.newSchema("flowdev_port:traffic", {
|
||||
step = 300,
|
||||
rrd_fname = "bytes"
|
||||
|
|
@ -480,7 +499,7 @@ schema = ts_utils.newSchema("snmp_if:cbqos", {
|
|||
rrd_heartbeat = 3000,
|
||||
rrd_fname = "qos",
|
||||
is_system_schema = true,
|
||||
metrics_type = ts_utils.metrics.gauge,
|
||||
metrics_type = ts_utils.metrics.gauge
|
||||
})
|
||||
schema:addTag("ifid")
|
||||
schema:addTag("device")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue