bossm8 / apcupsd_exporter

Prometheus exporter that exposes metrics from apcupsd's NIS. MIT Licensed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

apcupsd_exporter Linux Test Status GoDoc

Notes

This is a fork of the original repository from mdlayher with an added docker built.

Docker Usage

Per default the docker container runs --help start the apcupsd_exporter like this (e.g.)

docker run \
      -it --rm -p 9162:9162 \
      --add-host host.docker.internal:host-gateway \
      ghcr.io/bossm8/apcupsd-exporter:latest -apcupsd.addr host.docker.internal:3551 

Original README

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")

About

Prometheus exporter that exposes metrics from apcupsd's NIS. MIT Licensed.

License:MIT License


Languages

Language:Go 97.8%Language:Dockerfile 2.2%