openwrt / openwrt/packages

collectd-mod-wireless: "Configuration definition file for wireless not found"

Open
#20,950 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Maintainer: @jow- @hnyman
Environment: Generic x86/64, OpenWrt 22.03.5 r20134-5f15225c1e

Description:

The wireless plugin installed by package collectd-mod-wireless fails to start, with this error appearing in logread:

Sun May  7 22:04:10 2023 user.notice collectd[21597]: Configuration definition file for wireless not found

I was able to solve this by creating /usr/share/collectd/plugin/wireless.json (which was missing) with an empty JSON object inside, but I don't know if there are actually any configuration options available for this package:

{
}

For what it's worth: I actually noticed that collectd-mod-iwinfo returns similar information for me, so I uninstalled this plugin.

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 by reproducing the collectd-mod-wireless startup failure on OpenWrt 22.03.5 and inspect whether /usr/share/collectd/plugin/wireless.json is packaged or generated. Check the package's available configuration options and verify in logread that the wireless plugin starts without the missing-definition error.

Written by the indexing model from the issue text.

Assessment

Domain
observability
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.