Skip to content

Add agent host tag configuration option#8082

Merged
ssoroka merged 2 commits intoinfluxdata:masterfrom
tallexer:snmp-agent-host-tag
Oct 8, 2020
Merged

Add agent host tag configuration option#8082
ssoroka merged 2 commits intoinfluxdata:masterfrom
tallexer:snmp-agent-host-tag

Conversation

@tallexer
Copy link
Copy Markdown
Contributor

@tallexer tallexer commented Sep 4, 2020

The agent hostname is hardcoded in agent_host tag. Expose this as a variable and make it configurable in order to avoid extra processing later on.

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

In reply to feature request #8060

The host of the device being monitored is hardcoded and it is stored under "agent_host" tag. Make this
variable configurable in order to avoid post processing.
Copy link
Copy Markdown
Contributor

@ssoroka ssoroka left a comment

Choose a reason for hiding this comment

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

Looks pretty good. You've got some build failures though. Looks like you need to run gofmt on the files changed.

@ssoroka ssoroka merged commit 01eaa20 into influxdata:master Oct 8, 2020
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants