Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dbsqp authored Apr 11, 2021
1 parent 6382484 commit 19b2a92
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# nut-influxdbv2

This is a docker container that pulls data from a NUT server and pushed to InfluxDB. Based on work of mihai-cindea [https://github.com/mihai-cindea/nut-influxdb-exporter)

## Changes
Updated for InfluxDBv2. Changed outputted values. Poll multiple NUT servers.


## Roadmap

## NUT Servers Accessories
## NUT Servers
- Get IP address of NUT servers
- Create list of IPs: ['IP1','IP2', ...]
- Create list of hostnames (mapped to hosts in Influx): ['Host1','Host2', ...]
Expand All @@ -20,17 +18,17 @@ Setup InfluxDBv2, create bucket and create a token with write permissions for bu
```
$ docker run -d \
-e NUT_IP_LIST="['IP1','IP2',...]" \
-e NUT_HOST_LIST="['<Host1>','<Host2>',...]" \
-e NUT_HOST_LIST="['Host1','Host2',...]" \
-e NUT_PORT="3493" \
-e NUT_PASSWORD="<NUT password>" \
-e NUT_USERNAME="<NUT username>" \
-e NUT_PASSWORD="secret" \
-e NUT_USERNAME="monuser" \
-e NUT_UPSNAME="ups" \
-e INFLUXDB2_HOST="<INFLUXDBv2 SERVER>" \
-e INFLUXDB2_PORT="8086" \
-e INFLUXDB2_ORG="" \
-e INFLUXDB2_ORG="Home" \
-e INFLUXDB2_TOKEN="" \
-e INFLUXDB2_BUCKET="" \
--name "nut-influxdbv2" \
-e INFLUXDB2_BUCKET="DEV" \
--name "Nut-InfluxDBv2" \
dbsqp/nut-influxdbv2:dev
```

Expand Down

0 comments on commit 19b2a92

Please sign in to comment.