mirror of
https://github.com/mdlayher/apcupsd_exporter.git
synced 2024-11-22 10:55:35 +01:00
33 lines
1.2 KiB
Markdown
33 lines
1.2 KiB
Markdown
apcupsd_exporter [![Build Status](https://travis-ci.org/mdlayher/apcupsd_exporter.svg?branch=master)](https://travis-ci.org/mdlayher/apcupsd_exporter) [![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")
|
|
```
|
|
|
|
Sample
|
|
------
|
|
|
|
Here is a screenshot of an example grafana dashboard using metrics from
|
|
`apcupsd_exporter`.
|
|
|
|
![sample](https://cloud.githubusercontent.com/assets/1926905/18330011/55c49eca-7524-11e6-8152-717bf4bc75c0.png)
|