1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-24 07:01:45 +00:00
Files
geek-cookbook/manuscript/recipies/cryptominer/monitor.md
2018-01-30 22:09:18 +13:00

1.6 KiB

Monitor

Monitor Screenshot

Monitor your GPUs

Your mining rig is working hard to make you money. Time is money, and any downtime delays your ROI. Non-working GPUs are therefore costing you money. It's important therefor to monitor and chart your GPUs performance.

I wrote a script, which I use with Icinga/Nagios, to alert me if any of my GPUs are misbehaving.

!!! tip I share (with my patreon patrons) a private "premix" git repository, which includes up-to-date copies of all supporting scripts and tools I produce, meaning patrons just run a "git pull" and they're ready to go! 👍

I use NRPE to execute the GPU-testing script, from my Icinga host (hopefully a future recipe will cover Icinga), with a config something like this:

# monitor_gpu
dont_blame_nrpe=1
command[check_gpu]=/usr/bin/sudo /opt/minerhotel/scripts/monitor-gpu.sh $ARG1$ $ARG2$

And the following to sudoers:

nrpe ALL= NOPASSWD: /opt/minerhotel/scripts/monitor-gpu.sh *

Monitor your empire

So you're mining coins. How do you know how much profit you're making? How do you track your portfolio?

Here are some (affiliate) links:

Stashed changes