diff --git a/collector/collector.go b/collector/collector.go index 04c6b5ad..1a7b6f13 100644 --- a/collector/collector.go +++ b/collector/collector.go @@ -125,6 +125,7 @@ func ScrapeTarget(ctx context.Context, target string, snmp_context string, confi snmp.Timeout = config.WalkParams.Timeout snmp.UseUnconnectedUDPSocket = config.WalkParams.UseUnconnectedUDPSocket snmp.LocalAddr = *srcAddress + // Allow a set of OIDs that aren't in a strictly increasing order if config.WalkParams.AllowNonIncreasingOIDs { snmp.AppOpts = make(map[string]interface{})