docs: Document SNMP discovery config_template mass customization - #23384
Draft
nedi-app[bot] wants to merge 2 commits into
Draft
docs: Document SNMP discovery config_template mass customization#23384nedi-app[bot] wants to merge 2 commits into
nedi-app[bot] wants to merge 2 commits into
Conversation
…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.
…, note additional available fields
|
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. |
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



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_templatethat auto-generates the job for every device, so a single edit ingo.d/sd/snmp.confapplies to all switches. Adds a variable reference (default template fields and other available options) and updates bothsnmp_devices.mdandmetadata.yamlto stay in sync.Written for commit ec962b7. Summary will update on new commits.