minerstat mining tutorial #20: Antminer monitoring

In previous tutorials, we have shown you how to set up your ASICs, how to make the profit switch work on them, and how to monitor the mining activity. In this tutorial, we will focus only on Bitmain’s Antminer and show you the best way to set up Antminer monitoring. First, you will see how can you set up Antminer monitoring for one ASIC and later how to use minerstat’s tools to bulk install it on your ASIC farm.

At the beginning of our tutorials series, we have offered only ASIC node that connected your ASIC with your computer (Windows, Mac, Linux, or Raspberry Pi) and it was required for it to run on the computer within the same local network. A few weeks ago, we have introduced a new software - ASIC Hub - that is installed directly to the ASIC and doesn’t require any additional software. Monitoring and management are then available through your minerstat dashboard. ASIC Hub is supported on the following hardware:

  • Antminer S1-S9, S9i, S9j (all firmware) for mining SHA-256
  • Antminer T9 / T9+ for mining SHA-256
  • Antminer E3 for mining Ethash
  • Antminer L3+ / L3++ for mining Scrypt
  • Antminer D3 / D3 Blissz for mining X11
  • Antminer Z9 / Z9-Mini for mining Equihash
  • Antminer X3 for mining CryptoNight
  • Antminer A3 for mining Blake (2b)
  • Antminer B3 for mining Tensority

If you are using any other hardware, we suggest you check ASIC node or you can get in touch (info@minerstat.com) and work with us to add support for it.

Before you start

Before you start, you will have to register a new account on minerstat and add a new worker with type ASIC and system Antminer. You will also need to know your ASIC’s IP and secure shell (SSH) username and password, which are not the same as the username and password for the web login. Default SSH username/password for Antminer are usually root/admin.

ASIC Hub setup

To set up the ASIC Hub you will need to have a secure shell (SSH) access to your ASIC. Like mentioned above, the SSH access is not the same as web access and also doesn’t use the same default username/password. To establish a SSH access you will need a special software that allows it - one such free software for Windows is PuTTY.

  1. Download PuTTY and run it.
  2. Enter your ASIC’s IP address, leave the port on 22, and click Open.
  3. Enter your SSH username (usually it is root on Antminers).
  4. Enter your SSH password (usually it is admin on Antminers).
  5. If your SSH username and password are not correct, you will somehow need to find what are the correct credentials for your Antminer. Try Googling your Antminer’s type along with “SSH login” (for example “Antminer Z9 SSH login”). Also, don’t forget that you need to use the same SSH username/password for the worker you have added at minerstat.
  6. When you are successfully logged in through the SSH, you need to enter the following command to install ASIC Hub on your ASIC.
cd /tmp && wget -O install.sh http://static.minerstat.farm/github/install.sh && chmod 777 *.sh && sh install.sh ACCESS_KEY WORKER_NAME

ACCESS_KEY needs to be replaced with your minerstat’s access key. You can find it by hovering your mouse over your avatar in the top right corner on your minerstat dashboard.

WORKER_NAME needs to be replaced with your worker’s name.

Please make sure to double check everything as the access key and worker’s name are both case-sensitive.

When you press enter the script for loading ASIC Hub to your ASIC will be run and after it has successfully finished you will see the output DONE. Within a few minutes, you should see your ASIC online, the configuration will be loaded from the ASIC to the minerstat dashboard and your worker will be successfully mining. If this is not the case, we suggest you check your firmware and make sure that you are using official Antminer’s firmware on your ASIC. After you have upgraded the firmware, you will need to repeat the procedure.

Bulk ASIC Hub setup

If you own multiple Antminer, we suggest you take advantage of the tools we are providing that will help you establish your Antminer monitoring faster. You will need a computer with Linux (the procedure will also work on a rig that uses msOS).


The first tool is Locator which will scan your local network and return JSON file with all of your Antminers listed in it. You can follow our tutorial or simply visit the website, download the software, and run it.

Bulk import of your workers

The next step is to bulk import your workers. First, make sure that you have enough available space on your account - if you want to import 100 workers, you need to buy Tier plan that will allow you to hold at least 100 workers.

Click on the Add new worker button and select Bulk import.

On the bulk import page, click on the button Import workers (JSON) and select the file that was generated with Locator.

Re-check the gathered information and import the workers. If you want to organize your ASICs regarding the locations, we suggest you enter a group that will let you distinguish between different locations.

Install ASIC Hub

Open the computer you will use to install the ASIC Hub. The command to run the bulk install of ASIC Hub:

cd /tmp && wget -O bulk.sh https://raw.githubusercontent.com/minerstat/minerstat-asic-hub/master/bulk-install.sh && chmod 777 *.sh && sh bulk.sh

You will be asked to enter your access key and location/group - both are case sensitive so type in exact values. For location/group either enter asic if you want to include all of your ASICs or enter the name of the group that you put your ASIC workers into in the previous step.

The rest of the process is automatic and you should soon see your ASICs online on your minerstat dashboard.

If you want to re-install the ASIC Hub, run the following code:

cd /tmp && wget -O bulk.sh https://raw.githubusercontent.com/minerstat/minerstat-asic-hub/master/bulk-install.sh && chmod 777 *.sh && sh bulk.sh force

If you have any additional questions, you can find us on Discord or join us on your minerstat dashboard for the live chat.

Happy mining!

More from this series: