collectd: Plugin write_http can't be loaded
@hnyman is already working on this.
Since Nov 8, 2025.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Package Name
collectd
Maintainer
Jo-Philipp Wich jo@mein.io, Hannu Nyman hannu.nyman@iki.fi
OpenWrt Version
24.10.4
OpenWrt Target/Subtarget
ipq40xx/mikrotik
Steps to Reproduce
- Configure the write_http plugin:
config plugin write_http
option enable '1'
config write_http_node
option name "collectd_exporter"
option URL "https://collectd.example.com"
option Format "JSON"
option User 'COLLECTD_USER'
option Password 'COLLECTD_PASSWORD'
- Restart the collectd service
- In the logs, the message
Configuration definition file for write_http not foundappears - The plugin
write_httpisn't loaded
Actual Behaviour
There seems to be a typo in the collectd plugin write-http. The collectd service looks for the file /usr/share/collectd/plugin/write_http.json (because in the config file the plugin is named write_http with an underscore), but this file doesn't exist. There is a file named write-http.json (with a dash) though.
I could fix the issue by renaming that file to /usr/share/collectd/plugin/write_http.json
I don't know why this file was renamed, but from what I can see it was done in commit https://github.com/openwrt/packages/commit/beb0de663c112ecb439fa30c4bd4aad73add2b6a (maybe @hnyman knows better?)
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.
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.
Assessment
This issue has not been assessed yet.