Prometheus exporter that exposes metrics from apcupsd's NIS. MIT Licensed.
Go to file
Matt Layher 3f531e59fc
apcupsd_exporter: add UPS status label to info metric
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-03-14 12:09:25 -04:00
.github/workflows apcupsd_exporter: updates for 2022 2022-03-14 11:48:41 -04:00
cmd/apcupsd_exporter apcupsd_exporter: modernize and tidy 2020-06-08 09:41:16 -04:00
LICENSE.md apcupsd_exporter: updates for 2022 2022-03-14 11:48:41 -04:00
README.md apcupsd_exporter: modernize and tidy 2020-06-08 09:41:16 -04:00
apcupsdexporter.go apcupsd_exporter: report error when apcupsd cannot be reached 2020-06-08 09:55:28 -04:00
apcupsdexporter_test.go apcupsd_exporter: modernize and tidy 2020-06-08 09:41:16 -04:00
go.mod apcupsd_exporter: updates for 2022 2022-03-14 11:48:41 -04:00
go.sum apcupsd_exporter: updates for 2022 2022-03-14 11:48:41 -04:00
upscollector.go apcupsd_exporter: add UPS status label to info metric 2022-03-14 12:09:25 -04:00
upscollector_test.go apcupsd_exporter: add UPS status label to info metric 2022-03-14 12:09:25 -04:00

README.md

apcupsd_exporter Linux Test 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")