syncrepl_exporter

command module
v0.0.0-...-e3e1956 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

README

syncrepl_exporter

Prometheus exporter for OpenLDAP sync replication stats.

Getting

$ go get github.com/ThoreKr/syncrepl_exporter

Building

$ cd $GOPATH/github.com/ThoreKr/syncrepl_exporter
$ make

Configuration

See config.example.yam, an illustrative example of the configuration file in YAML format.

Running

$ ./syncrepl_exporter <flags>
$ ./syncrepl_exporter -h
usage: syncrepl_exporter [<flags>]

Flags:
  -h, --help              Show context-sensitive help (also try --help-long and --help-man).
      --web.listen-address=":9328"
                          Address on which to expose metrics and web interface.
      --web.telemetry-path="/metrics"
                          Path under which to expose metrics.
      --path.config="config.yaml"
                          Configuration YAML file path.
      --log.level="info"  Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal]
      --log.format="logger:stderr"
                          Set the log target and format. Example: "logger:syslog?appname=bob&local=7" or "logger:stdout?json=true"
      --version           Show application version.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL