Skip to content

docs: Document SNMP discovery config_template mass customization - #23384

Draft
nedi-app[bot] wants to merge 2 commits into
masterfrom
docs/netdata-snmp-default-template-mass-customization
Draft

docs: Document SNMP discovery config_template mass customization#23384
nedi-app[bot] wants to merge 2 commits into
masterfrom
docs/netdata-snmp-default-template-mass-customization

Conversation

@nedi-app

@nedi-app nedi-app Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Document SNMP discovery config_template mass customization. Files changed: src/go/plugin/go.d/collector/snmp/integrations/snmp_devices.md, src/go/plugin/go.d/collector/snmp/metadata.yaml.

User Request

Can we mass customize the default template that is automatically created for each switch?

Prompt (English)

Mass-customize the default SNMP profile template auto-applied to each switch

Reason for Change

This change applies the specific user request using repository-truth evidence from the audit execution workspace.


Summary by cubic

Document how to mass-customize the SNMP discovery config_template that auto-generates the job for every device, so a single edit in go.d/sd/snmp.conf applies to all switches. Adds a variable reference (default template fields and other available options) and updates both snmp_devices.md and metadata.yaml to stay in sync.

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

Review in cubic

nedi-app Bot added 2 commits August 3, 2026 15:34
…n mechanism. Added a focused subsection to the Auto-Detection section explaining that go.d/sd/snmp.conf's services.config_template is a single Go template generating the job configuration for every discovered device, that editing it mass-customizes all auto-discovered devices at once, and listing all verified template variables. Edited both metadata.yaml (the authoritative source) and the generated integrations/snmp_devices.md (which README.md symlinks to) to keep them in sync.
@nedi-app nedi-app Bot added the nedi-audit PRs created by the nedi-audit pipeline label Aug 3, 2026
@github-actions github-actions Bot added area/docs area/collectors Everything related to data collection collectors/go.d area/metadata Integrations metadata area/go labels Aug 3, 2026
@sonarqubecloud

sonarqubecloud Bot commented Aug 3, 2026

Copy link
Copy Markdown

@ilyam8

ilyam8 commented Aug 3, 2026

Copy link
Copy Markdown
Member

These are incorrect instructions. The term "mass-customizing " is also used, which is quite weird. We have SNMP service discovery page. The "Auto-Detection" section should just have a link to it.

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/docs area/go area/metadata Integrations metadata collectors/go.d nedi-audit PRs created by the nedi-audit pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant