Select Supported Platforms

Select Supported Architectures

Select Tier

Github Name

This asset is forked from an upstream project at that does not yet exist as a Bonsai asset.

v1.0.0-bonsai · public · Published almost 4 years ago

Asset Definition
Release Notes
Release Assets


Build Status
Gem Version
Code Climate
Test Coverage
Dependency Status


Plugin to collect metrics from your NVIDIA GPU.


Collects metrics by calling nvidia-smi internally.


  • -s, --scheme: The scheme to concatenate the metrics with (default: HOSTNAME.nvidia)


Multiple GPUs are supported and labeled by BusID in Hex (e.g. nvidia.bus0x02.temperature.gpu). For each PCI bus you will get the following metrics:

  • Speed of the card's fan (RPM)
  • Unused memory available to the card (MiB, mebibyte)
  • Total amount of memory available to the card (MiB, mebibyte)
  • nvidia.busBUS_IN_HEX.memory.used: Memory used by the card (MiB, mebibyte)
  • nvidia.busBUS_IN_HEX.power.draw: Power draw of the card (Watt)
  • nvidia.busBUS_IN_HEX.temperature.gpu: Temperature of the card (Degree Celsius)
  • nvidia.busBUS_IN_HEX.utilization.gpu: GPU utilization of the card (percent)
  • nvidia.busBUS_IN_HEX.utilization.memory: memory utilization of the card (percent)

If you do not get all of the listed values, you GPU probably does not support the feature. To check, you can query it yourself by running nvidia-smi --query-gpu=METRIC --format=csv.
(e.g. nvidia-smi --query-gpu=power.draw --format=csv)


To collect metrics with the scheme of your choice:

metrics-nvidia.rb --scheme YOUR_SCHEME_HERE


sensu-install --plugin sensu-plugins-nvidia

In order to use this plugin you will need the official NVIDIA command line interface nvidia-smi which is distributed with their drivers.

For more help see Installation and Setup.

Are you sure you want to report this asset?

Please describe the reason for reporting this asset. Our moderators will be notified and will disable the asset if it is found to be inappropriate.


You must be signed in to report this asset.

Sign In with Github



Either download the source code:

Download Source

Or download the asset definition: