Monitor your Verium miners in real-time with this CLI monitor! Great for a small to moderate number of miners, like SBC setups!
This monitor was developed to monitor Verium miners, but also works for other
cryptocurrency miners so long as the cpuminer
instance is running API version
1.1. The following CPU miners are known to support this API version:
Be aware, not all cpuminer implementations report accurate information about themselves.
- Make sure each
cpuminer
is configured with the correctapi-bind
address:
cpuminer [options] --api-bind "0.0.0.0:<port-number>"
-
Copy
monitor.py
to a computer on your network that can reach all of your miners. For me, this was my LAN controller. -
Change the lines in
monitor.py
to include any port in use by a miner on your network and if you are pool mining or solo mining:
#! monitor.py
ports = [4048, 4049] #! NOTE: Change port numbers to those in use by your miners
pool_mining = True #! NOTE: Change to False if solo mining
- Install
python3
:
sudo apt-get install python3
- The monitor creates a file called
.chosts
in your home directory. On each line of that file, place the IP address of a worker on your network (hostnames can be used if you are using DNS or have them enumerated in/etc/hosts
):
cat /home/<username>/.chosts
miner1
miner2
cat /etc/hosts
192.168.1.2 miner1
192.168.1.3 miner2
- Run
./monitor.py
and you should see statistics coming from each of your mining machines
- Arrow Up, Arrow Down - Up and down
- Home, End - First worker, last worker
- q, ESC - Quit
-p
,--pool
Display information as if you were pool mining (default)-s
,--solo
Display information as if you were solo mining-h
,--help
Print the help and exit
An example network diagram can be found here.
Credit to rbthomp for demonstrating that ZMQ is not necessary for this tool.
Free to use, just give credit where it's due. If this software helped you out, consider a small donation.
VRC/VRM: VBwPRc7gmmqgJTsiB6LqsStVk2nxgRoyjh