Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.
/ nscd_exporter Public archive

Exports statistics from NSCD (Name service caching daemon) and publishes them for scraping by Prometheus.

License

Notifications You must be signed in to change notification settings

lovoo/nscd_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NSCD Exporter for Prometheus

GoDoc Build Status

Exports statistics from NSCD (Name service caching daemon) and publishes them for scraping by Prometheus.

Requirements

  • ncsd

Docker Usage

docker run --privileged -d --name nscd_exporter -p 9289:9289 lovoo/nscd_exporter:latest

Building

make build

The resulting binary file will be placed under build/nscd_exporter.

Running options

Usage of build/nscd_exporter:
  -log.format value
    	If set use a syslog logger or JSON logging. Example: logger:syslog?appname=bob&local=7 or logger:stdout?json=true. Defaults to stderr.
  -log.level value
    	Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal].
  -nscd.path string
    	Path to nscd. (default "nscd")
  -web.listen string
    	Address on which to expose metrics and web interface. (default ":9119")