Skip to main content

Nsxt Receiver

Status Available in: contrib Maintainers: @dashpole, @schmikei Source: opentelemetry-collector-contrib

Supported Telemetry

Metrics

Overview

:construction: This receiver is in ALPHA. Configuration fields and metric data model are subject to change.

Purpose

The purpose of this receiver is to allow users to monitor metrics from NSX-T environments.

Prerequisites

Needs at least an β€œAuditor” user for NSX Manager Resources in the vSphere Client (can be created via Web UI or CLI) The collector must be able to reach the NSX Manager with port 443 open. This receiver supports NSX-T Datacenter versions:
  • 3.2.0
  • 3.1.2

Configuration

  • endpoint: Endpoint of the NSX Manager. Must be formatted as {scheme}://{host}:{port}. Schemes supported are http and https
  • username: Username of the Auditor user
  • password: Password of the Auditor user
  • collection_interval: (default = 1m): This receiver collects metrics on an interval. This value must be a string readable by Golang’s time.ParseDuration. Valid time units are ns, us (or Β΅s), ms, s, m, h.
  • initial_delay (default = 1s): defines how long this receiver waits before starting.
  • timeout: (default = 1m) The timeout of running commands against the NSX REST API.
  • metrics (default: see DefaultMetricsSettings [here])(./internal/metadata/generated_metrics.go): Allows enabling and disabling specific metrics from being collected in this receiver.

Example Configuration

receivers:
  nsxt:
    endpoint: https://nsx-manager
    username: admin
    password: password
    timeout: 60s
    metrics:
      nsxt.node.cpu.utilization:
        enabled: false

exporters:
  file:
    path: "./content.json"

service:
  pipelines:
    metrics:
      receivers: [nsxt]
      exporters: [file]
The full list of settings exposed for this receiver are documented in config.go with detailed sample configurations in testdata/config.yaml.

Metrics

Details about the metrics produced by this receiver can be found in metadata.yaml

Metrics

Metric NameDescriptionUnitTypeAttributes
βœ… nsxt.node.cpu.utilizationThe average amount of CPU being used by the node.%Gaugeclass
βœ… nsxt.node.filesystem.usageThe amount of storage space used by the node.ByUpDownCounterdisk_state
βœ… nsxt.node.filesystem.utilizationThe percentage of storage space utilized.%Gauge
βœ… nsxt.node.memory.cache.usageThe size of the node’s memory cache.KByUpDownCounter
βœ… nsxt.node.memory.usageThe memory usage of the node.KByUpDownCounter
βœ… nsxt.node.network.ioThe number of bytes which have flowed through the network interface.ByCounterdirection
βœ… nsxt.node.network.packet.countThe number of packets which have flowed through the network interface on the node.{packets}Counterdirection, packet.type

Attributes

Attribute NameDescriptionTypeValues
classThe CPU usage of the architecture allocated for either DPDK (datapath) or non-DPDK (services) processes.stringdatapath, services
directionThe direction of network flow.stringreceived, transmitted
stateThe state of storage space.stringused, available
typeThe type of packet counter.stringdropped, errored, success

Resource Attributes

Attribute NameDescriptionTypeEnabled
device.idThe name of the network interface.stringβœ…
nsxt.node.idThe ID of the NSX Node.stringβœ…
nsxt.node.nameThe name of the NSX Node.stringβœ…
nsxt.node.typeThe type of NSX Node.stringβœ…

Configuration

Example Configuration

nsxt:
  collection_interval: 1m
  endpoint: https://nsx-manager-endpoint
  username: admin
  password: ${env:NSXT_PASSWORD}
  tls:
    insecure: true

Last generated: 2026-04-13