github HON95/prometheus-nut-exporter v1.2.0
Prometheus NUT Exporter v1.2.0

latest release: v1.2.1
2 years ago

Added

  • Added metrics (@uncleBorsch):
    • nut_temperature_celsius (ups.temperature)
    • nut_delay_shutdown_seconds (ups.delay.shutdown)
    • nut_delay_start_seconds (ups.delay.start)
    • nut_battery_voltage_high_volts (battery.voltage.high)
    • nut_battery_voltage_low_volts (battery.voltage.low)
  • Added more UPS metadata (@uncleBorsch).
  • Added support for binding to a specific IP address through the HTTP_ADDRESS environment variable (@nsapa).
  • Added metric nut_ups_status as a state set with support for many UPS statuses (OL, OB, LB, CHRG etc.).
  • Added labels driver_version, driver_version_internal, driver_version_data and manufacturing_date to the nut_ups_info metric.
  • Added proper signal handling to shutdown gracefully and not hang.
  • Added multi-architecture support (Docker images for different architectures will get published to Docker Hub).

Changed

  • Changed default log level to info.
  • Made the target port default to 3493 instead of requiring one to be provided.
  • Made the Prometheus/OpenMetrics output (more) OpenMetrics 1.0.0-compliant.

Deprecated

  • Deprecated nut_info and added nut_server_info as an identical but better named replacement.
  • Deprecated nut_status as it has very limited support for UPS statuses and doesn't always work as intended. See nut_ups_status for the replacement.
  • Deprecated the type and nut_version labels from the nut_ups_info metric. Use device_type and driver_version instead.
  • Deprecated nut_battery_volts, nut_input_volts and nut_output_volts. Replacements were added in v1.1.0.

Removed

  • Removed the tini init system from the Docker image, since signals are handled properly now.

Fixed

  • Fixed typo in the device.mfr variable (@nsapa).

Don't miss a new prometheus-nut-exporter release

NewReleases is sending notifications on new releases.