Sign inSign up

struthio/pwrstat

By struthio

•Updated over 4 years ago

CyberPower UPS Statistics to InfluxDB Forwarder

Image
0

87

struthio/pwrstat repository overview

CyberPower UPS Statistics Upload to InfluxDB

Docker starts pwrstatd daemon and periodically calls pwrstat to retrieve UPS status. In order to start daemon YOu have to define following Environment Variables: API_TOKEN - InlfuxDB Access Token API_URL - Url of InfluxDB API_DATABASE - InfluxDB Database name

Example: docker run -it --device /dev/usb/hiddev0
--hostname $(hostname)
--env API_TOKEN=
--env API_URL=
--env API_DATABASE=
struthio/pwrstat

/dev/usb/hiddev0 - Is device of UPS Forwarded data is compatible with Grafana Dashboard - https://grafana.com/grafana/dashboards/9184⁠

Tag summary

Content type

Image

Digest

Size

46.8 MB

Last updated

over 4 years ago

docker pull struthio/pwrstat:1653514636