Skip to content

Commit

Permalink
Changed snmp polling duration data name
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoBiscosi committed Oct 30, 2024
1 parent e845c19 commit e887ad6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/lua/modules/timeseries/schemas/ts_5min.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion scripts/lua/modules/timeseries/ts_utils_core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

-- ##############################################
Expand Down

0 comments on commit e887ad6

Please sign in to comment.