collectd-snmp6-plugin: interfaces that are down have no snmp6
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Maintainer: (my plugin)
Environment: OpenWrt Trunk
If u have an interface that is not enabled, you will receive a lot of
collectd[2753]: snmp6 plugin: try opening /proc/net/dev_snmp6/gre0 : fopen: No such file or directory
Here, I have to check for the status:
https://github.com/openwrt/packages/blob/master/utils/collectd/patches/931-snmp6-add-ipv6-statistics.patch#L214-L217
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with utils/collectd/patches/931-snmp6-add-ipv6-statistics.patch at lines 214-217, where the issue identifies the relevant status check. Reproduce or inspect the /proc/net/dev_snmp6/gre0 fopen error for a disabled interface; done means the snmp6 plugin handles that interface status without emitting the reported missing-file errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- observability-sre
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100