Skip to content

thetinkeringtypist/verium-cli-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Verium CLI Monitoring

Monitor your Verium miners in real-time with this CLI monitor! Great for a small to moderate number of miners, like SBC setups!

Preview of the CLI Monitor with Pool Mining Enabled

Supported cpuminers

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.

Configure, Install, and Run

  1. Make sure each cpuminer is configured with the correct api-bind address:
cpuminer [options] --api-bind "0.0.0.0:<port-number>"
  1. Copy monitor.py to a computer on your network that can reach all of your miners. For me, this was my LAN controller.

  2. 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
  1. Install python3:
sudo apt-get install python3
  1. 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
  1. Run ./monitor.py and you should see statistics coming from each of your mining machines

Monitor Controls

  • Arrow Up, Arrow Down - Up and down
  • Home, End - First worker, last worker
  • q, ESC - Quit

Monitor Options

  • -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

Example Network Diagram

An example network diagram can be found here.

License & Donations

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

About

A CLI interface for monitoring verium miners on a LAN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages