<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export><version>5.0</version><date>2021-11-21T21:26:29Z</date><groups><group><name>Templates</name></group></groups><templates><template><template>NVidia Sensors</template><name>NVidia Sensors</name><description>## Overview

This template integrates NVidia SMI for a single graphics card with Zabbix.


The template adds monitoring of:


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


The following agent parameters can be used to add the metrics into Zabbix.


 


 


UserParameter=gpu.temp,nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader,nounits -i 0  
UserParameter=gpu.memtotal,nvidia-smi --query-gpu=memory.total --format=csv,noheader,nounits -i 0  
UserParameter=gpu.used,nvidia-smi --query-gpu=memory.used --format=csv,noheader,nounits -i 0   
 UserParameter=gpu.free,nvidia-smi --query-gpu=memory.free --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



## Author

Richard Kavanagh

</description><groups><group><name>Templates</name></group></groups><applications><application><name>Nvidia</name></application></applications><items><item><name>GPU Fan Speed</name><key>gpu.fanspeed</key><delay>30</delay><value_type>FLOAT</value_type><units>%</units><applications><application><name>Nvidia</name></application></applications></item><item><name>GPU Free Memory</name><key>gpu.free</key><delay>30</delay><value_type>FLOAT</value_type><units>B</units><applications><application><name>Nvidia</name></application></applications><preprocessing><step><type>MULTIPLIER</type><params>1048576</params></step></preprocessing></item><item><name>GPU Total Memory</name><key>gpu.memtotal</key><delay>30</delay><value_type>FLOAT</value_type><units>B</units><applications><application><name>Nvidia</name></application></applications><preprocessing><step><type>MULTIPLIER</type><params>1048576</params></step></preprocessing></item><item><name>GPU Power</name><key>gpu.power</key><delay>30</delay><value_type>FLOAT</value_type><units>W</units><applications><application><name>Nvidia</name></application></applications></item><item><name>GPU Temperature</name><key>gpu.temp</key><delay>30</delay><value_type>FLOAT</value_type><units>C</units><applications><application><name>Nvidia</name></application></applications><triggers><trigger><expression>{prev(0)}&gt;95</expression><name>GPU Temperature over 95c {HOSTNAME}</name><priority>AVERAGE</priority></trigger></triggers></item><item><name>GPU Used Memory</name><key>gpu.used</key><delay>30</delay><value_type>FLOAT</value_type><units>B</units><applications><application><name>Nvidia</name></application></applications><preprocessing><step><type>MULTIPLIER</type><params>1048576</params></step></preprocessing></item><item><name>GPU Utilisation</name><key>gpu.utilisation</key><delay>30</delay><value_type>FLOAT</value_type><units>%</units><applications><application><name>Nvidia</name></application></applications></item></items></template></templates><graphs><graph><name>GPU Memory</name><graph_items><graph_item><color>C80000</color><item><host>NVidia Sensors</host><key>gpu.free</key></item></graph_item><graph_item><sortorder>1</sortorder><color>00C800</color><item><host>NVidia Sensors</host><key>gpu.memtotal</key></item></graph_item><graph_item><sortorder>2</sortorder><color>0000C8</color><item><host>NVidia Sensors</host><key>gpu.used</key></item></graph_item></graph_items></graph><graph><name>GPU Power</name><graph_items><graph_item><color>C80000</color><item><host>NVidia Sensors</host><key>gpu.power</key></item></graph_item></graph_items></graph><graph><name>GPU Temperature</name><graph_items><graph_item><color>C80000</color><item><host>NVidia Sensors</host><key>gpu.temp</key></item></graph_item><graph_item><sortorder>1</sortorder><color>0000EE</color><yaxisside>RIGHT</yaxisside><item><host>NVidia Sensors</host><key>gpu.fanspeed</key></item></graph_item></graph_items></graph><graph><name>GPU Utilisation</name><graph_items><graph_item><color>C80000</color><item><host>NVidia Sensors</host><key>gpu.utilisation</key></item></graph_item><graph_item><sortorder>1</sortorder><color>33FF33</color><yaxisside>RIGHT</yaxisside><item><host>NVidia Sensors</host><key>gpu.power</key></item></graph_item></graph_items></graph></graphs></zabbix_export>
