plambe / zabbix-nvidia-smi-multi-gpu

A zabbix template using nvidia-smi. Works with multiple GPUs on Windows and Linux.
Other
99 stars 54 forks source link

Cannot collect info of GPU resource on VM #24

Open ryupim opened 2 years ago

ryupim commented 2 years ago

I want to monitor GPU resource on VM using zabbix. I followed the instructions in the README, but the VM outputs the error shown below. On bare metal, it worked. If you know a solution, please let me know.

■ Environment Host OS: vSphere ESXi 7.0U3 GPU: A40 Guest OS: Windows 10 Pro GPU profile (Guest OS): NVIDIA GRID vGPU nvidia_a40-8q GPU driver (Guest OS & Host OS): 510.47.03

スクリーンショット 2022-09-26 13 14 39
plambe commented 2 years ago

Hi,

At first glance, it looks like the .bat file does not work correctly.

Did you make it work?

ryupim commented 2 years ago

Thank you for reply. Because PATH of VM wasn't included nvidia-smi, I added it. But, Zabbix Server shows below error. "Invalid discovery rule value: cannot parse as a valid JSON object: invalid JSON object value starting character at: ''nvidia-smi.exe' is not recognized as an internal or external command, operable program or batch file."

I'll continue to look into it.

RichardKav commented 2 years ago

Have you been able to run the nvidia-smi command manually on it's own without zabbix or any bat scripts being involved?

It might be that you could use a fully qualified path to refer to the nvidia-smi command.