APC UPS data influxDB Publisher
1.6K
Available on dockerhub: tnwhitwell/apcups-influx
This container will get metrics from apcupsd (via TCP) and publish them to an influxdb server at a specified interval
This is a list of Environmental variables, and some sample values:
APCUPSD_URL=upshost:3551
INFLUXDB_DB=UPSData
INFLUXDB_URL=http://influxdb:8086
INFLUXDB_USER= # Leave blank / omit for no username
INFLUXDB_PASS= # Leave blank / omit for no password
READING_INTERVAL=60
docker rundocker run -e APCUPSD_URL=upshost:3551 -e INFLUXDB_DB=UPSData -e INFLUXDB_URL=http://influxdb:8086 -e READING_INTERVAL=60 tnwhitwell/apcups-influx:latest
docker-composeversion: '3'
services:
influxdb:
image: influxdb:latest
restart: always
volumes:
- ${CONFIG}/influxdb:/var/lib/influxdb
apcups-sender:
image: tnwhitwell/apcups-influx:latest
restart: always
environment:
APCUPSD_URL: upshost:3551
READING_INTERVAL: 60
INFLUXDB_DB: UPSData
INFLUXDB_URL: http://influxdb:8086
docker-compose up
Content type
Image
Digest
Size
2.3 MB
Last updated
over 7 years ago
docker pull tnwhitwell/apcups-influx