Categorygithub.com/kmulvey/apc_exporter
modulepackage
0.1.4
Repository: https://github.com/kmulvey/apc_exporter.git
Documentation: pkg.go.dev

# README

apc_exporter

Build Release Go Report Card Go Reference

Monitor and store APC UPS statistics.

Installation and Usage

Several linux package formats are available in the releases. Becasue pwrstat needs to be run as root, this tool needs to be run as root as well.

Manual linux install:

  • install apcupsd
    • sudo dnf install apcupsd
    • sudo apt-get install apcupsd
  • sudo cp apc_exporter /usr/bin/ (this path can be changed if you like, just be sure to change the path in the service file as well)
  • sudo cp apc_exporter.service /etc/systemd/system/
  • sudo systemctl daemon-reload
  • sudo systemctl enable apc_exporter
  • sudo systemctl restart apc_exporter
  • Import grafana-config.json to your grafana instance
  • enjoy!

Screenshot

# Structs

No description provided by the author