With NSX APIs, you can monitor both point-in-time values and real-time values of host transport node statistics.
The system uses the esx-obsrv-stats-monitor
to monitor the health of ESXi host transport nodes.
Statistics are collected per host transport node. The values of the statistics are not aggregated at the level of each host cluster.
Point-in-time values of the host transport node statistics are collected from each host transport node periodically (default is every 300 seconds) and cached by the system. The last updated cached values are fetched from the host and returned by the API.
For debugging purposes, NSX users can monitor the real-time values of the host transport node statistics. System fetches the statistics on a real-time basis from the data path kernel modules that are running on the host transport nodes.
- Packet statistics (packet_stats)
- Fast path system statistics (fast_path_sys_stats)
- Platform packet statistics (platform_packet_stats)
- Platform CPU usage statistics (platform_cpu_usage_stats)
- Fast path lcore usage statistics (fast_path_lcore_usage_stats)
In the API response, the statistics are organized based on the datapath modules that are collecting the statistics from the host transport nodes. For a description of the statistics, see NSX Host Transport Node Statistics.
The procedure in this documentation explains the API workflow for monitoring the point-in-time values and real-time values of the host transport node statistics. The steps in the procedure mention only the API URIs. For a detailed information about the API schema, parameters, and sample API response or request payload, refer to the NSX API Guide.
To learn about using the NSX Central CLI or the ESXi host CLI for viewing the transport node statistics, refer to the NSX Command-Line Interface Reference.