-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Telegraf - NVidia SMI plugin not working on Windows client #6573
Comments
Can you run these commands and attach the output:
|
Yes of course...
From the help, selective queries (using format) must have one of
Finally the unit
I hope it helps. |
It seems like one solution could be to refactor the nvidia-smi plugin to parse the xml output and query |
No, you're right it's not in the list generated by I imagined at some point that having a white/black list of the metrics in the plugin config could do it but obviously your solution will probably be the more flexible and broadly supported ! |
@dbu748 the following build should work for you. You can try it out and verify that it collects all the data you expect.
|
@glinton: Thank you Greg, it seems to work great! |
Hi,
I'm trying to monitor NVidia GPU on Windows client machines but it prevents Telegraf from running.
When I run it manually using the plugin troubleshooting command (adapted for powershell)
.\nvidia-smi.exe --format="noheader,nounits,csv" --query-gpu="fan.speed,memory.total,memory.used,memory.free,pstate,temperature.gpu,name,uuid,compute_mode,utilization.gpu,utilization.memory,index,power.draw,pcie.link.gen.current,pcie.link.width.current,encoder.stats.sessionCount,encoder.stats.averageFps,encoder.stats.averageLatency,clocks.current.graphics,clocks.current.sm,clocks.current.memory,clocks.current.video"
I get the error
All three encoder stats (sessionCount, averageFps, averageLatency) are in fact "not valid". Once they are removed, the command output a result.
OS: Windows 7
Telegraf: 1.12.3
nvidia-smi: 376.33
GPU: Quadro 4000
The text was updated successfully, but these errors were encountered: