mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 09:20:10 +00:00
19 lines
586 B
Lua
19 lines
586 B
Lua
--
|
|
-- (C) 2019-20 - ntop.org
|
|
--
|
|
|
|
local ts_utils = require("ts_utils_core")
|
|
|
|
schema = ts_utils.newSchema("process:resident_memory", {step=60, metrics_type=ts_utils.metrics.gauge, is_critical_ts=true})
|
|
schema:addTag("ifid")
|
|
schema:addMetric("resident_bytes")
|
|
|
|
-------------------------------------------------------
|
|
-- ntopng process alerts
|
|
-------------------------------------------------------
|
|
|
|
schema = ts_utils.newSchema("process:num_alerts", {step = 60})
|
|
schema:addTag("ifid")
|
|
schema:addMetric("written_alerts")
|
|
schema:addMetric("alerts_queries")
|
|
schema:addMetric("dropped_alerts")
|