apcupsd_exporter/README.md
Matt Layher a4a2b2f150
apcupsd_exporter: modernize and tidy
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-08 09:41:16 -04:00

23 lines
993 B
Markdown

# apcupsd_exporter [![Linux Test Status](https://github.com/mdlayher/apcupsd_exporter/workflows/Linux%20Test/badge.svg)](https://github.com/mdlayher/apcupsd_exporter/actions) [![GoDoc](http://godoc.org/github.com/mdlayher/apcupsd_exporter?status.svg)](http://godoc.org/github.com/mdlayher/apcupsd_exporter)
Command `apcupsd_exporter` provides a Prometheus exporter for the
[apcupsd](http://www.apcupsd.org/) 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")
```