Implement engaged alerts and flow alerts timeseries

This commit is contained in:
emanuele-f 2019-08-21 16:57:14 +02:00
parent f6056a9d12
commit 69cd896a9f
17 changed files with 58 additions and 4 deletions

View file

@ -346,6 +346,20 @@ schema:addTag("ifid")
schema:addTag("host")
schema:addMetric("alerts")
--##############################################
schema = ts_utils.newSchema("host:total_flow_alerts", {step = 300, rrd_fname = "total_flow_alerts"})
schema:addTag("ifid")
schema:addTag("host")
schema:addMetric("alerts")
--##############################################
schema = ts_utils.newSchema("host:engaged_alerts", {step = 300, metrics_type=ts_utils.metrics.gauge})
schema:addTag("ifid")
schema:addTag("host")
schema:addMetric("alerts")
-- ##############################################
schema = ts_utils.newSchema("host:contacts", {step=300, metrics_type=ts_utils.metrics.gauge})

View file

@ -194,6 +194,12 @@ schema:addMetric("num_nfq_pct")
-- ##############################################
schema = ts_utils.newSchema("iface:engaged_alerts", {step=60, metrics_type=ts_utils.metrics.gauge})
schema:addTag("ifid")
schema:addMetric("alerts")
-- ##############################################
-------------------------------------------------------
-- CONTAINERS SCHEMAS
-------------------------------------------------------