All Projects → ytx1991 → ChiaMonitor

ytx1991 / ChiaMonitor

Licence: other
An approach for monitoring multiple Chia harvester in one web app based dashboard

Programming Languages

Batchfile
5799 projects
shell
77523 projects

Projects that are alternatives of or similar to ChiaMonitor

chiavdf
Chia VDF utilities
Stars: ✭ 51 (-66.45%)
Mutual labels:  chia-blockchain
dive-into-chia
chia深入研究以及一些工具(WIP)
Stars: ✭ 73 (-51.97%)
Mutual labels:  chia-blockchain
chia-monitor
🍃 A comprehensive monitoring and alerting solution for the status of your Chia farmer and harvesters.
Stars: ✭ 131 (-13.82%)
Mutual labels:  chia-blockchain
chiapos
Chia Proof of Space library
Stars: ✭ 265 (+74.34%)
Mutual labels:  chia-blockchain
chialisp-web
A docusaurus Chialisp website
Stars: ✭ 54 (-64.47%)
Mutual labels:  chia-blockchain
chia-client
TypeScript client for Chia RPC interfaces.
Stars: ✭ 84 (-44.74%)
Mutual labels:  chia-blockchain
chia-log-analysis
Parses existing Chia plotter log files and builds a .csv file containing all the important details
Stars: ✭ 45 (-70.39%)
Mutual labels:  chia-blockchain
chia-blockchain-gui
Chia blockchain GUI in electron/react
Stars: ✭ 312 (+105.26%)
Mutual labels:  chia-blockchain
farmr
A web dashboard for monitoring Chia farms. Also supports discord and email notifications.
Stars: ✭ 259 (+70.39%)
Mutual labels:  chia-blockchain
pool-reference
Reference python implementation of Chia pool operations for pool operators
Stars: ✭ 452 (+197.37%)
Mutual labels:  chia-blockchain
chia-bls-go
chia-bls-signature in go, chia bls 签名工具go实现
Stars: ✭ 32 (-78.95%)
Mutual labels:  chia-blockchain
prometheus-chia-exporter
Prometheus exporter for several chia node statistics
Stars: ✭ 30 (-80.26%)
Mutual labels:  chia-blockchain

ChiaMonitor

This is a Chia monitoring solution for people who need to run multiple harvesters on different hosts. It is based on Grafana (Data Visualization), Prometheus (Data Persistence & Query), and Mtail (Data Collector).

All these components support most popular OS such as Linux/Windows/MacOS.

中文用户可以参考视频:https://www.bilibili.com/video/BV1sQ4y1R741/

Features

Check the following screenshot. It provides many useful numbers, and you can set your plot size (K32 by default) and Netspace Unit (It is increasing so fast!) Screenshot of the dashboard

How to Setup

First, checkout this repo from the Github. In short, you need to install Grafana & Prometheus on your full node farmer host and install/copy mtail on all the hosts running harvesters. Overall

Install Mtail on all the harvesters hosts (include main host if you run harvester on it)

  1. Add Mtail default port 3903 to your inbound firewall rule

  2. Go to https://github.com/google/mtail/releases download and unzip latest version (not earlier than 3.0.0 rc45)

  3. Copy the mtail (.exe) binary file to the data_collect folder in the repo folder you checked out

  4. Copy the the data_collect folder to your Chia install folder. This is because of the script is using relative path. For Linux, it should be /your/path/to/chia-blockchain For Windows, the default path looks like: C:\Users\YOUR_USER_NAME\AppData\Local\chia-blockchain\app-1.1.5

  5. Modify the wallet fingerprint in the run_mtail.sh / farmer_summary.bat !!!

  6. Run ./run_mtail.sh (Linux) / ./run_mtail.bat IN the data_collect folder (Windows needs to keep the two pop-up windows open).

  7. Open http://localhost:3903 you should see a primitive mtail website.

Note:

  • This requires you enabled Chia INFO level log.
  • Mtail needs some time to read through your log. If you want to speed up, try to delete the current debug.log.

Install Prometheus on the main host

  1. Add Prometheus default port 9090 to your inbound firewall rule

  2. Go to https://prometheus.io/download/ download right version based on your OS.

  3. Unzip the file and open the folder

  4. Copy and override the prometheus.yml by the one provided by this repo.

  5. Replace the harvester host ip by yours.

  6. Run Prometheus. (You need to run this at the backend in the Linux)

  7. Check the http://localhost:9090. You should see the Prometheus portal.

Install Grafana on the main host

  1. Add Grafana default port 3000 to your inbound firewall rule

  2. Go to https://grafana.com/docs/grafana/latest/installation/ install right version based on your OS.

  3. Follow the instruction on the Grafana website to run the service.

  4. Use web browser open http://localhost:3000, you will see the Grafana portal

  5. Create a new password for the admin (default username/password = admin/admin)

  6. Create a new data source named as Chia, check the screenshot. Screenshot of the datasource

  7. Import the dashboard json based on the language you like. Screenshot of the import

You are all set! Enjoy and give a star if you like this! Donate xch1adq8a7r5e2qkeyxgw0pml735efnsqaqk4uyyj926e4h0zg28faqsufq0k4

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].