Categorygithub.com/wangzewang/nfs_exporter
modulepackage
0.0.0-20200601103251-f047daf8fb8e
Repository: https://github.com/wangzewang/nfs_exporter.git
Documentation: pkg.go.dev

# 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

OptionDefaultDescription
-h, --help-Displays usage.
--web.listen-address:9102The address to listen on for HTTP requests.
--web.metrics-path/metricsURL Endpoint for metrics
--nfs.address127.0.0.1:/xxxxx, 127.0.0.2:/xxxThe nfs server IP Path address
--version-Prints version information

Reference

https://github.com/aixeshunter/nfs_exporter

# Functions

NewExporter initialises exporter.

# Structs

Exporter holds name, path and volumes to be monitored.
No description provided by the author
No description provided by the author
No description provided by the author