diff --git a/scripts/lua/modules/timeseries/schemas/ts_5min.lua b/scripts/lua/modules/timeseries/schemas/ts_5min.lua index 444f5c6ee73a..b9b8d6837792 100644 --- a/scripts/lua/modules/timeseries/schemas/ts_5min.lua +++ b/scripts/lua/modules/timeseries/schemas/ts_5min.lua @@ -447,13 +447,13 @@ schema:addMetric("bytes_rcvd") schema = ts_utils.newSchema("snmp_device:poll_duration", { step = 300, rrd_heartbeat = 3000, - rrd_fname = "duration", + rrd_fname = "poll_duration", metrics_type = ts_utils.metrics.gauge, is_system_schema = true }) schema:addTag("ifid") schema:addTag("device") -schema:addMetric("duration") +schema:addMetric("poll_duration") schema = ts_utils.newSchema("snmp_if:traffic", { step = 300, diff --git a/scripts/lua/modules/timeseries/ts_utils_core.lua b/scripts/lua/modules/timeseries/ts_utils_core.lua index 2aef486cbe34..21db898e60ac 100644 --- a/scripts/lua/modules/timeseries/ts_utils_core.lua +++ b/scripts/lua/modules/timeseries/ts_utils_core.lua @@ -860,7 +860,7 @@ function ts_utils.getPossiblyChangedSchemas() "mac:arp_rqst_sent_rcvd_rpls", -- Active Monitoring "am_host:http_stats_min", "am_host:https_stats_min", "am_host:val_min", "am_host:http_stats_5mins", "am_host:https_stats_5mins", "am_host:val_5mins", "am_host:http_stats_hour", "am_host:https_stats_hour", - "am_host:val_hour", "snmp_if:cbqos" } + "am_host:val_hour", "snmp_if:cbqos", "snmp_device:poll_duration" } end -- ##############################################