openwrt / openwrt/packages

collectd-snmp6-plugin: interfaces that are down have no snmp6

Open
#15,030 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stale
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.