Skip to content
Prometheus exporter for NFS-Ganesha
Branch: master
Clone or download
Latest commit 9f825c3 May 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dbus Fix clients Collector May 20, 2019
vendor
.gitignore
README.md README: add info about default collector May 22, 2019
clientsCollector.go Use absolute import May 21, 2019
exportsCollector.go
ganesha_exporter.go Use absolute import May 21, 2019
go.mod Make it a module May 21, 2019
go.sum Add vendor May 22, 2019

README.md

NFS-Ganesha Exporter

Prometheus exporter for NFS-Ganesha

This exporter uses Dbus interface to get the metrics.

Installation

You can build the latest version using Go v1.11+ via go get:

go get -u github.com/Gandi/ganesha_exporter

Usage

usage: ganesha_exporter [<flags>]

Flags:
  -h, --help                     Show context-sensitive help (also try --help-long and --help-man).
      --web.listen-address=":9587"
                                 Address on which to expose metrics and web interface.
      --web.telemetry-path="/metrics"
                                 Path under which to expose metrics.
      --gandi                    Activate Gandi specific fields
      --collector.exports        Activate exports collector
      --collector.exports.nfsv3  Activate NFSv3 stats
      --collector.exports.nfsv40
                                 Activate NFSv4.0 stats
      --collector.exports.nfsv41
                                 Activate NFSv4.1 stats
      --collector.exports.pnfsv41
                                 Activate pNFSv4.1 stats
      --collector.clients        Activate clients collector
      --collector.clients.nfsv3  Activate NFSv3 stats
      --collector.clients.nfsv40
                                 Activate NFSv4.0 stats
      --collector.clients.nfsv41
                                 Activate NFSv4.1 stats
      --collector.clients.pnfsv41
                                 Activate pNFSv4.1 stats
      --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.

All collectors are activated by default, they can be de-activated using --no-collector.XXX

The additional statistics retrieved by the --gandi flag are part of an internal WIP to get more comprehensive statistics and will be proposed upstream as soon as they are fully done.

You can’t perform that action at this time.