Skip to content

Releases: DRuggeri/nut_exporter

v3.1.1

30 Nov 00:39
Compare
Choose a tag to compare

FIX

  • The newly added nutserverport argument was also trying to parse NUT_EXPORTER_SERVER env variable - this was fixed to be NUT_EXPORTER_SERVERPORT. Thanks for the bug report in #43, @LXGaming!

v3.1.0

29 Nov 14:16
Compare
Choose a tag to compare

New

  • Add support for setting a port for the NUT server - see updated usage in README. Thanks for the idea in #39, @mpeter!

Misc

  • Fix local Dockerfile build process to avoid crashes due to libc differences. Thanks for the PR #41, @mpeter!

v3.0.0

26 Mar 18:24
Compare
Choose a tag to compare

Breaking

  • The following command line parameters are no longer available, but can stil be configured in the new web.config.file parameter (with many others):
    • web.tls.cert_file
    • web.tls.key_file
    • web.auth.username

New

  • TLS and web setup is now using the Prometheus exporter-toolkit. This enables many new options and parameters to control the listening endpoint. Thanks, @SuperQ for the PR in #13!
  • The exporter should now build for riskv64 architectures now. Thanks for the suggestion in #31, @clausecker! Note: releases are not yet provided for this architecture

Misc

  • The sample dashboard now allows you to select the datasource. Thanks for #30, @paulfantom

v2.5.3

31 Jan 13:01
Compare
Choose a tag to compare

Fixed

  • Document the NUT_EXPORTER_WEB_AUTH_PASSWORD environment variable in help message. Thanks, @v4rakh!

v2.5.2

31 Dec 17:12
Compare
Choose a tag to compare

Fixed

  • To improve performance, the previous release cached handlers/collectors based on UPS name. Instead, it should cache by server/upsName. Thanks for the report in #28, @JonyEpsilon!

v2.5.1

29 Dec 17:00
Compare
Choose a tag to compare

New

  • Add an error condition if the requested UPS name is not found in the NUT server on first scrape
  • Debug logging will now log the names of valid UPSs found in the NUT server - search for "UPS name detection"

Fixed

  • Reolve a problem introduced in the previous release if the same UPS is scraped concurrently - thanks for the report in #27, @tsull360!

Misc

  • Efficiency: If no UPS name is provided in the scrape, but one is found when listing UPSs, save the name so future scrapes don't have to list UPSs again
  • Cleanup: Make the code a bit more readable

v2.5.0

17 Dec 18:48
Compare
Choose a tag to compare

New

  • Add a new flag to disable the meta-metric network_ups_tools_device_info - thanks for the suggestion in #26, @kondas!

Fixed

  • Fix the broken promhttp_metric_handler_requests_total metric due to how the registry/prom handler was built. Thanks for the report in #25, @kondas!

Misc

  • Correct a few go lint warnings
  • Add an example Grafana dashboard and screenshot to the dashboard directory

v2.4.2

04 Jul 12:55
Compare
Choose a tag to compare

Fixed

  • Sometimes the underlying NUT library provides the wrong type of the variable. Don't rely on this and instead always rely on Go types

v2.4.1

25 Jun 18:08
Compare
Choose a tag to compare

New

  • Move to golang 1.18 for build and test suites

v2.3.5

12 Mar 16:43
Compare
Choose a tag to compare

Fixed

  • Version output was not properly being set in go releaser. Thanks for the report in #19, @ymettier!