mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Changed behavior counter dump period
This commit is contained in:
parent
3e679135fd
commit
131888ecfc
7 changed files with 232 additions and 210 deletions
|
|
@ -357,92 +357,4 @@ schema = ts_utils.newSchema("pod:rtt_variance", {step=60, metrics_type=ts_utils.
|
|||
schema:addTag("ifid")
|
||||
schema:addTag("pod")
|
||||
schema:addMetric("as_client")
|
||||
schema:addMetric("as_server")
|
||||
|
||||
-------------------------------------------------------
|
||||
-- PRO VERSION SCHEMAS
|
||||
-------------------------------------------------------
|
||||
|
||||
-- ##############################################
|
||||
|
||||
if ntop.isPro() then
|
||||
-------------------------------------------------------
|
||||
-- INTERFACE SCHEMAS
|
||||
-------------------------------------------------------
|
||||
schema = ts_utils.newSchema("iface:traffic_anomalies", {step=60, metrics_type=ts_utils.metrics.gauge})
|
||||
schema:addTag("ifid")
|
||||
schema:addMetric("anomaly")
|
||||
|
||||
-- ##############################################
|
||||
|
||||
schema = ts_utils.newSchema("iface:traffic_tx_behavior", {step=60})
|
||||
schema:addTag("ifid")
|
||||
schema:addMetric("value")
|
||||
schema:addMetric("lower_bound")
|
||||
schema:addMetric("upper_bound")
|
||||
|
||||
-- ##############################################
|
||||
|
||||
schema = ts_utils.newSchema("iface:traffic_rx_behavior", {step=60})
|
||||
schema:addTag("ifid")
|
||||
schema:addMetric("value")
|
||||
schema:addMetric("lower_bound")
|
||||
schema:addMetric("upper_bound")
|
||||
|
||||
-- ##############################################
|
||||
|
||||
schema = ts_utils.newSchema("iface:score_anomalies", {step=60, metrics_type=ts_utils.metrics.gauge})
|
||||
schema:addTag("ifid")
|
||||
schema:addMetric("anomaly")
|
||||
|
||||
-- ##############################################
|
||||
|
||||
schema = ts_utils.newSchema("iface:score_behavior", {step=60, metrics_type=ts_utils.metrics.gauge})
|
||||
schema:addTag("ifid")
|
||||
schema:addMetric("value")
|
||||
schema:addMetric("lower_bound")
|
||||
schema:addMetric("upper_bound")
|
||||
|
||||
-------------------------------------------------------
|
||||
-- SUBNET SCHEMAS
|
||||
-------------------------------------------------------
|
||||
|
||||
schema = ts_utils.newSchema("subnet:traffic_anomalies", {step=60, metrics_type=ts_utils.metrics.gauge})
|
||||
schema:addTag("ifid")
|
||||
schema:addTag("subnet")
|
||||
schema:addMetric("anomaly")
|
||||
|
||||
-- ##############################################
|
||||
|
||||
schema = ts_utils.newSchema("subnet:traffic_tx_behavior", {step=60})
|
||||
schema:addTag("ifid")
|
||||
schema:addTag("subnet")
|
||||
schema:addMetric("value")
|
||||
schema:addMetric("lower_bound")
|
||||
schema:addMetric("upper_bound")
|
||||
|
||||
-- ##############################################
|
||||
|
||||
schema = ts_utils.newSchema("subnet:traffic_rx_behavior", {step=60})
|
||||
schema:addTag("ifid")
|
||||
schema:addTag("subnet")
|
||||
schema:addMetric("value")
|
||||
schema:addMetric("lower_bound")
|
||||
schema:addMetric("upper_bound")
|
||||
|
||||
-- ##############################################
|
||||
|
||||
schema = ts_utils.newSchema("subnet:score_anomalies", {step=60, metrics_type=ts_utils.metrics.gauge})
|
||||
schema:addTag("ifid")
|
||||
schema:addTag("subnet")
|
||||
schema:addMetric("anomaly")
|
||||
|
||||
-- ##############################################
|
||||
|
||||
schema = ts_utils.newSchema("subnet:score_behavior", {step=60, metrics_type=ts_utils.metrics.gauge})
|
||||
schema:addTag("ifid")
|
||||
schema:addTag("subnet")
|
||||
schema:addMetric("value")
|
||||
schema:addMetric("lower_bound")
|
||||
schema:addMetric("upper_bound")
|
||||
end
|
||||
schema:addMetric("as_server")
|
||||
Loading…
Add table
Add a link
Reference in a new issue