Prometheus exporter that exposes metrics from apcupsd's NIS. MIT Licensed.
Go to file
Rolf Schäuble 290f3ea806 New metrics: XOnBattery, XOffBattery, LastSelfTest, NominalPower (#2)
* Produce metrics for XOnBattery, XOffBattery and LastSelftest.

* Produce metrics for nominal output power.

* Fix cosmetic issues: order of imports and dots at end of sentences.
2017-04-14 13:48:42 -04:00
cmd/apcupsd_exporter *: initial commit 2016-09-07 17:12:08 -04:00
.travis.yml *: initial commit 2016-09-07 17:12:08 -04:00
LICENSE.md *: initial commit 2016-09-07 17:12:08 -04:00
README.md README: add sample dashboard 2016-09-07 17:56:20 -04:00
apcupsdexporter.go *: initial commit 2016-09-07 17:12:08 -04:00
apcupsdexporter_test.go *: initial commit 2016-09-07 17:12:08 -04:00
upscollector.go New metrics: XOnBattery, XOffBattery, LastSelfTest, NominalPower (#2) 2017-04-14 13:48:42 -04:00
upscollector_test.go New metrics: XOnBattery, XOffBattery, LastSelfTest, NominalPower (#2) 2017-04-14 13:48:42 -04:00

README.md

apcupsd_exporter Build Status GoDoc

Command apcupsd_exporter provides a Prometheus exporter for the apcupsd Network Information Server (NIS). MIT Licensed.

Usage

Available flags for apcupsd_exporter include:

$ ./apcupsd_exporter -h
Usage of ./apcupsd_exporter:
  -apcupsd.addr string
        address of apcupsd Network Information Server (NIS) (default ":3551")
  -apcupsd.network string
        network of apcupsd Network Information Server (NIS): typically "tcp", "tcp4", or "tcp6" (default "tcp")
  -telemetry.addr string
        address for apcupsd exporter (default ":9162")
  -telemetry.path string
        URL path for surfacing collected metrics (default "/metrics")

Sample

Here is a screenshot of an example grafana dashboard using metrics from apcupsd_exporter.

sample