in_node_exporter_metrics: add nfs/nfsd collectors
- Dominant language
- C
- Stars
- 8.1k
- Forks
- 2k
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 71
Description
**Is your feature request related to a problem? Please describe.**
Looking to monitor NFS exports and mounts in our environment for both health checks (nagios via Centreon) and monitoring (grafana via Percona monitoring).
**Describe the solution you'd like**
We're already using fluent-bit on hosts and would like to avoid installing yet another agent to report stats on NFS health. Prometheus' node_exporter has [nfs and nfsd enabled by default](https://github.com/prometheus/node_exporter#enabled-by-default), but these are [unfortunately missing](https://docs.fluentbit.io/manual/pipeline/inputs/node-exporter-metrics#collectors-available) at the moment from fluent-bit.
**Describe alternatives you've considered**
Alternatives would be setting up prometheus/node_exporter as a separate install/config from fluent-bit or fetching relevant data through another agent (ssh, nrpe, etc.).
**Additional context**
As we're already using fluent-bit and have it automated through Ansible, having this option would help us better leverage it and keep us from installing less light-weight tools.
Contributor guide
Research direction
Start with Fluent Bit's node-exporter metrics input and its documented collector list, then compare the requested nfs and nfsd collectors with Prometheus node_exporter's behavior. Done means both collectors expose the relevant NFS export, mount, and server statistics and are covered by the input's tests and documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, prometheus
- Domain
- observability-sre
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100