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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址