nfs_exporter

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

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

Go to latest
Published: Jun 1, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

README

nfs_exporter

NFS exporter for Prometheus

Installation

git clone https://github.com/wangzewang/nfs_exporter.git $GOPATH/src/github.com/wangzewang/nfs_exporter

cd $GOPATH/src/github.com/wangzewang/nfs_exporter/

go mod vendor

CGO_ENABLED=0 go build .

docker build  --network=host .

# Push the docker image to your registry and change config in yaml folder
# then deploy nfs exporter to kubernetes

kubectl apply -f ./yaml

Usage of nfs_exporter

Option Default Description
-h, --help - Displays usage.
--web.listen-address :9102 The address to listen on for HTTP requests.
--web.metrics-path /metrics URL Endpoint for metrics
--nfs.address 127.0.0.1:/xxxxx, 127.0.0.2:/xxx The nfs server IP Path address
--version - Prints version information

Reference

https://github.com/aixeshunter/nfs_exporter

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