Configuration

How can I launch rig management applications like SSH or TeamViewer from a Grafana dashboard?

Take a look at the “Configure SSH or Team Viewer Launch from Grafana Dashboard” section on the Advanced Configuration page.

 

How can I power off, power on rigs via triggers?

Take a look at the “Configure Rig Reset Triggers” on the Advanced Configuration page.

How can I set Telegram alerts?

Take a look at the “Configure Grafana Alerts via Telegram” section on the Advanced Configuration page.

Installation

Where can I find the installation instructions for version 1.x?

Installation instructions for version 1.2 can be found on this old post.

Where can I find the installation instructions for version 2.x?

Installation instructions for version 2.x can be found on this old post.

Troubleshooting

How to create a trace?

Bug submission via github or bitcointalk thread should be accompanied by a trace. Here are the basics.

The rig-monitor (grm) command accepts the following flags:

        • -t enables tracing
        • -r <n>, can take the following values
          • -1 (disable rig monitoring)
          • 0 (run monitor for all configured rigs, default)
          • 1,2,3…. (monitor specified rig; index of rig configuration entry in config file, starting from 1)
        • -p <n>, can take the following values
          • -1 (disable pool monitoring)
          • 0 (run monitor for all configured pools, default)
          • 1,2,3…. (monitor specified pool; index of pool configuration entry in config file, starting from 1)
        • -m <n>, can take the following values
          • -1 (disable market data monitoring)
          • 0 (run monitor for all currencies defined in the pool configuration, default)
          • 1,2,3…. same as 0
        • -nw disables database writting

For instance, if you want to get a trace for the 1st rig, while disabling both the market and pool,  then you you’d launch grm with the following command:

./grm -p -1 -m -1 -r 1 -t

Market data chart is empty, not showing any data.

rig-monitor fetches market data from a 3rd party website, in this case coinmarketcap.com. If the mined crypto data is not published then rig-monitor will fail to display the respective coin, market data.

Monitoring power usage with TP-Link smart plugs is not working on Windows.

Basically the problem stems from the fact there’s no `inet_pton` method in Python’s 2.7 Socket library on Windows. You can can read the details here.

The following instructions should help you fix it:

  1. Install win inet pton using terminal or cmd
  2. Run pip install win-inet-pton
  3. Add import win_inet_pton to the tplink.py script. It should look like this:
import socket
import win_inet_pton
import argparse
from struct import pack
....
Profitability charts are empty, not showing any data.

Blockchain params and price info is fetched from whattomine.com and coinmarketcap.com. If the mined crypto data is not published on those sites then the profitability calculations will fail.

If your coin data in available on both sites and you have just started rig-monitor for the first time then you need to wait until enough data is available in the database: a couple of hours for past profitability and up to 24 hours for future profitability.

rig-monitor crashes immediately after starting

Please make sure that

  1. Config file is in conf dir
  2. If you renamed the config.toml to something else then you should use the -config <file_name.toml> flag
  3. InfluxDB is up and running