https://github.com/orange-cloudfoundry/nsxt_exporter
Prometheus exporter for vmware nsxt
https://github.com/orange-cloudfoundry/nsxt_exporter
Last synced: 7 months ago
JSON representation
Prometheus exporter for vmware nsxt
- Host: GitHub
- URL: https://github.com/orange-cloudfoundry/nsxt_exporter
- Owner: orange-cloudfoundry
- License: apache-2.0
- Created: 2023-05-04T08:11:10.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2025-04-09T03:44:23.000Z (about 1 year ago)
- Last Synced: 2025-04-09T04:27:32.449Z (about 1 year ago)
- Language: Go
- Size: 6.24 MB
- Stars: 1
- Watchers: 8
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Introduction
This project implements an [prometheus] exporter for vmware [NSX-T]. It provides
metrics for `Cluster`, `LBService`, `LBPool`, `LBVirtualServer`, `Tier0` and `Tier1` objects.
This exporter is not suitable for NSX-T admins that want to achieve a full monitoring their
infrastructure but can be handy for NSX-T users that need to implement a lightweight monitoring
of their hosting environment.
[prometheus]: https://prometheus.io/docs/instrumenting/exporters/
[NSX-T]: https://developer.vmware.com/apis/1248/nsx-t
# NSX Version
This current implementation has been designed and tested for NSX-T API `3.2.1`.
# Metrics
The document [METRICS.md](./METRICS.md) describe all generated metrics.
# Install
* from release assets
* download assets for your architecture from [latest release]
* extract tarball: `tar xzf nsxt_exporter_$version_linux_amd64.tar.gz`
* from go install: `go install gihub.com/orange-cloudfoundry/nsxt_exporter`
* from source: `CGO_ENABLED=0 go build -o nsxt_exporter -ldflags='-s -w' .`
[latest release]: https://github.com/orange-cloudfoundry/nsxt_exporter/releases
# Usage
```
usage: nsxt_exporter []
Flags:
-h, --[no-]help Show context-sensitive help (also try --help-long and --help-man).
--config=config.yml Configuration file path
--[no-]version Show application version.
```
# Configuration
See [config.yml.sample](./config.yml.sample)
# Development
- static check analysis:
- install: https://golangci-lint.run/usage/install/#local-installation
- run: `golangci-lint run --config .golangci.yml`