influxdata / influxdata/influxdata-docker

snmp tools aren't needed anymore for telegraf

Open
#573 2 comments 0 reactions 0 assignees View on GitHub
telegraf waiting for reply
Dominant language
Shell
Stars
364
Forks
255
Avg merge
3h 18m
Merged PRs (30d)
7

Description

Since telegraf 1.21 is switched to gosnmp library for its SNMP calls and gosmi library for OID translation, the package doesn't need to be installed anymore.

If wanted, we could still install `libsnmp-base` (`net-snmp-libs` for Alpine), which adds a few basic MIBs. But I don't think that would be required?

Blocked by https://github.com/influxdata/telegraf/issues/9927 since `inputs.leofs` still uses net-snmp tools and hasn't been marked as deprecated yet.

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect the Docker image definitions and package-install steps for the SNMP tools. Confirm that Telegraf 1.21 uses gosnmp and gosmi, then check the linked inputs.leofs blocker before changing anything. Done means removing the unnecessary package, or documenting the decision to retain libsnmp-base and its Alpine equivalent once the blocker is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
dockerfile, shell
Domain
build-system, devops
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.