-
Notifications
You must be signed in to change notification settings - Fork 644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
os-node_exporter collector failed for zfs with err="couldn't get sysctl: no such file or directory" #1930
Comments
I just updated to the latest version OPNsense 20.1.9-amd64, the messages are still in the logs. |
Looks like an issue updating node_exporter from 0.18.1 (20.1.7) to 1.0.1 (20.1.8 and up). Your best bet is to poke the authors of the software... |
I could mitigate the issue by adding the following line to the command line argumentes of
The release notes for node_exporter 1.0.0 state, that ZFS support was added for FreeBSD, (cf. prometheus/node_exporter#1714 and prometheus/node_exporter#1394) As that was not available during 0.18.1, it could be an option to disable the ZFS collector per default in the OPNsense package or add a configuration option in the UI. What do you think? |
I think this would be a good thing to add to the OPNSense package. Either disable by default or make an option to enable it but still default to off. |
This change also fixes toggles for collectors that are enabled by default: cpu, exec, filesystem, loadavg, meminfo, netdev, time.
This issue has been automatically timed-out (after 180 days of inactivity). For more information about the policies for this repository, If someone wants to step up and work on this issue, |
Someone already did, just nobody bothered to review it yet. #2071 So labelling it as "help wanted" doesn't make any sense, because apparently help is not wanted, otherwise someone from the team would've already looked at #2071 |
@DasSkelett our bot labels automatically, rules around plugins are quite simple. Every one has a maintainer, if he/she don't have time or spirit to do the work, they risk being expired in time (when not useable anymore for instance). If someone else want to step up for a specific plugin, first try to ping the current maintainer and if that doesn't work you can always ask the core team to triage. |
@AdSchellevis Maybe the bot could be tuned to automatically request a review from the plugin maintainer when a PR is submitted? This would be useful. (I'd assume that otherwise PRs just get unnoticed because not everyone watched the plugins project.) |
@AdSchellevis the rules for plugins make sense. For PR review, would it help if interested people test them and leave comments if it doesn't work/approve it if it works fine? For the bot, you might want to skip issues with pending PRs, since the inactivity is pretty much explained by a solution being available but not merged yet. |
@fraenki I think that's a good idea indeed, not sure if we can always track the maintainer automatically, but it's something to take under consideration when extending the bot's functionality in the future. |
* NodeExporter: Added ZFS toggle (defaults to off), fixes #1930 This change also fixes toggles for collectors that are enabled by default: cpu, exec, filesystem, loadavg, meminfo, netdev, time. * Update sysutils/node_exporter/Makefile * Update sysutils/node_exporter/src/opnsense/mvc/app/models/OPNsense/NodeExporter/General.xml * NodeExporter: Self-assigned plugin maintainer Co-authored-by: Franco Fichtner <[email protected]>
After updating my OPNsense installation to version 20.1.8_1-amd64 I constantly get the following error message in system.log:
Software versions are as follows:
OPNsense 20.1.8_1-amd64
FreeBSD 11.2-RELEASE-p20-HBSD
OpenSSL 1.1.1g 21 Apr 2020
node_exporter version=1.0.1, branch=release-1.0, revision=0
The startup log of node_exporter is
The text was updated successfully, but these errors were encountered: