]> ###2023.07.23 - Bumped version to latest master branch from 2023.07.23 to be compatible with new Nvidia driver versions 535.xx ###2021.09.21 - Bumped version to latest master branch from 2021.09.21 - Various fixes, thanks to Michaƫl Ferrand ###2021.07.03 - Initial release rm -f $(ls /boot/config/plugins/&name;/&name;*.txz 2>/dev/null|grep -v '&version;') &gitURL;/packages/&name;-&version;.tgz &md5; **Prometheus nvidia-smi Exporter** Is a slim plugin, that takes informations gathered from nvidia-smi and provides it to a Prometheus database. Usage is not limited to Prometheus only. Data can be formated and displayed to any database or graphical node. Export URL: The URL for the exportet metrics is: 'http://YOURunRAIDIP:9202/metrics' (to use it in Prometheus add the target: 'YOURunRAIDIP:9202' to your Prometheus yaml). This Plugin is based on: https://github.com/e7d/docker-prometheus-nvidiasmi echo if [ -z "$(pidof prometheus_nvidia_smi_exporter)" ]; then echo "----Staring prometheus_nvidia_smi_exporter on default port: 9202----" echo echo "/usr/bin/prometheus_nvidia_smi_exporter 2>/dev/null" | at now else echo "---Nothing to do, prometheus_nvidia_smi_exporter already started!---" echo fi echo "-------------------------------------------------" echo "---Uninstalling prometheus_nvidia_smi_exporter---" echo "-------------------------------------------------" # Remove plugin related files kill $(pidof prometheus_nvidia_smi_exporter) 2>/dev/null removepkg &name;-&version; rm -rf /usr/local/emhttp/plugins/&name; rm -rf &plugin; echo echo "----------------------------------------------------------------" echo "---Uninstallation of prometheus_nvidia_smi_exporter complete!---" echo "----------------------------------------------------------------" echo