-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Open
Labels
Description
Package Name
collectd
Maintainer
Jo-Philipp Wich [email protected], Hannu Nyman [email protected]
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 beb0de6 (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.