Skip to content
Switch branches/tags


This repository has a Zabbix template for monitoring Nvidia graphics cards in particular the:

  • GPU Utilisation
  • GPU Power Consumption
  • GPU Memory (Used, Free, Total)
  • GPU Temperature
  • GPU Fan Speed

The information on how to configure the Zabbix agent is below. The template should be added to the server and Nvidia-SMI should be installed on the node that is to be monitored.

The following parameters need adding to the configuration file for the agent /etc/zabbix/zabbix_agentd.conf:

UserParameter=gpu.temp,nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader,nounits -i 0 UserParameter=gpu.memtotal,nvidia-smi --format=csv,noheader,nounits -i 0 UserParameter=gpu.used,nvidia-smi --query-gpu=memory.used --format=csv,noheader,nounits -i 0,nvidia-smi --format=csv,noheader,nounits -i 0 UserParameter=gpu.fanspeed,nvidia-smi --query-gpu=fan.speed --format=csv,noheader,nounits -i 0 UserParameter=gpu.utilisation,nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits -i 0 UserParameter=gpu.power,nvidia-smi --query-gpu=power.draw --format=csv,noheader,nounits -i 0

The following code was developed from and further refined to avoid the need to directly parse output from nvidia smi with grep and cut.

Alongside the template is an alternative monitoring script that outputs nvidia-smi information to disk. This is not needed for the Zabbix template but it remains useful for monitoring NVidia GPUs.

It is possible to use this Zabbix template within a Docker container, please see the following repository for how this can be accomplished.


No releases published


No packages published