Simple server that scrapes NSX-T stats and exports them via HTTP for Prometheus consumption.
To run it:
./nsxt_exporter [flags]Help on flags:
./nsxt_exporter --helpFor more information check the source code documentation.
Specify host URI for the NSX API using the --nsxt.host flag.
Add the credentials as well by using --nsxt.username and --nsxt.password flags:
./nsxt_exporter --nsxt.host localhost --nsxt.username user --nsxt.password passwordCertificate validation is disabled by default, but
you can enable it using the --nsxt.insecure=false flag:
./nsxt_exporter --nsxt.host localhost --nsxt.username user --nsxt.password password --nsxt.insecure=falseTo run the nsx-t exporter as a Docker container, run:
docker run -p 9744:9744 cloudnativeid/nsxt-exporter-linux-amd64:latest --nsxt.host localhost --nsxt.username user --nsxt.password passwordmake buildmake testApache License 2.0, see LICENSE.