Closed fz883 closed 6 years ago
The grepping is a remnant of an early work in progress. I don't even remember why I did it, all I remember is that at some point I thought it's not worth removing it.
Feel free to create a pull request and I'll merge it.
Thanks for the commit!
This part in the linux config file:
UserParameter=gpu.number,/usr/bin/nvidia-smi -L | /bin/grep GeForce | /usr/bin/wc -l
makes Zabbix only detect GeForce cards, whereas Tesla's are ignored for example.Why grep anyway?
It should be possible to grep for "GPU" and count those lines.
FYI: