kmulvey / cyberpower_exporter

Monitor and store CyberPower UPS stats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cyberpower_exporter

Build Release Go Report Card Go Reference

Monitor and store CyberPower 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:

  • sudo cp cyberpower_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 cyberpower_exporter.service /etc/systemd/system/
  • sudo systemctl daemon-reload
  • sudo systemctl enable cyberpower_exporter
  • sudo systemctl restart cyberpower_exporter
  • Import grafana-config.json to your grafana instance
  • enjoy!

Screenshot

About

Monitor and store CyberPower UPS stats

License:MIT License


Languages

Language:Go 99.4%Language:Shell 0.6%