nut-forwarder-influxdb

command module
v0.0.0-...-2eff1f3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2019 License: AGPL-3.0 Imports: 7 Imported by: 0

README

NUT Forwarder for InfluxDB

albinodrought/nut-forwarder-influxdb Docker Pulls AGPL-3.0 License

Forward some of your Network UPS Tools (NUT) data to InfluxDB. I built this for home use with my CyberPower CP1500AVRLCD, YMMV

Running

INFLUX_SERVER=http://localhost:8086 \
NUT_HOST=localhost \
./nut-forwarder-influxdb
  • INFLUX_SERVER: URL to InfluxDB server including scheme and port, defaults to http://localhost:8086

  • INFLUX_DATABASE: Database to save data to, defaults to ups

  • INFLUX_USERNAME: InfluxDB username, defaults to empty (no auth)

  • INFLUX_PASSWORD: InfluxDB password, defaults to empty (no auth)

  • NUT_HOST: hostname or IP address of your NUT server, defaults to localhost

  • NUT_USERNAME: NUT username, defaults to empty (no auth)

  • NUT_PASSWORD: NUT password, defaults to empty (no auth)

Building

Without Docker
go get -d -v
go build
With Docker

docker build -t albinodrought/nut-forwarder-influxdb .

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL