FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(go.d/snmp): fix retries serialization and bulk walk disable by ilyam8 · Pull Request #22179 · netdata/netdata · GitHub

fix(go.d/snmp): fix retries serialization and bulk walk disable - #22179

Merged
ilyam8 merged 1 commit into
netdata:masterfrom
ilyam8:go.d/snmp-bulk-walk-and-retries-fix
Apr 10, 2026
Merged

fix(go.d/snmp): fix retries serialization and bulk walk disable#22179
ilyam8 merged 1 commit into
netdata:masterfrom
ilyam8:go.d/snmp-bulk-walk-and-retries-fix

Conversation

ilyam8 commented Apr 10, 2026
edited by cubic-dev-ai Bot
Loading

Copy link
Copy Markdown
Member
  • Remove omitempty from OptionsConfig.Retries so zero value is serialized
  • Skip bulk walk detection when MaxRepetitions is 0, treating it as disabled bulk walk
Summary
Test Plan
Additional Information
For users: How does this change affect me?

Summary by cubic

Fixes go.d/snmp config handling: serializes retries when set to 0 and disables bulk walk when MaxRepetitions is 0. This respects explicit user settings and avoids unintended bulk-walk detection.

  • Bug Fixes
    • Removed omitempty from OptionsConfig.Retries so 0 is serialized.
    • If MaxRepetitions is 0, mark bulk walk as disabled and skip detection.

Written for commit dbac9d1. Summary will update on new commits.

- Remove omitempty from OptionsConfig.Retries so zero value is serialized
- Skip bulk walk detection when MaxRepetitions is 0, treating it as
  disabled bulk walk
github-actions Bot added area/collectors Everything related to data collection collectors/go.d area/go labels Apr 10, 2026

cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

No issues found across 2 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

ilyam8 merged commit e6bd1fd into netdata:master Apr 10, 2026
149 checks passed
ilyam8 deleted the go.d/snmp-bulk-walk-and-retries-fix branch April 10, 2026 11:09
stelfrag mentioned this pull request Apr 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/collectors Everything related to data collection area/go collectors/go.d

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL