Comments (8)
Hey! There some errors in run_mtail
, watch
command doesn't allow to run mtail in a single sh file.
I made some scripts for my own harvesters - you can check it here https://github.com/iwex/chiascripts/blob/main/monitoring/init.sh
You can copy it, but change paths to your own values.
from chiamonitor.
If you are using ssh, make sure run the command with nohup.
e.g.
nohup ./run_mtail.sh &
Also make sure the mtail binary file has right permission to execute. It requires 3.0.0 rc45 version.
from chiamonitor.
You can check your farmer host 9090 port first. It should show the Prometheus portal and you should be able to query the data like total_plots
from chiamonitor.
Also, you can check http://ptometheus_ip:9090/metrics and find your chia services
from chiamonitor.
I have pretty much the same issue, probably some kind of configuration is missing.
http://chiafarmer:9090/targets can be reached, and shows two targets up (chia and prometheus endpoints up).
Second thing is the run_mtail.sh script:
The first line watch -n 30 ~/chia-blockchain/venv/bin/chia farm summary
prevents executing the second line ./mtail --progs ./ --logs .chia/mainnet/log/debug.log --logs .chia/mainnet/log/farmer_summary.log --poll_interval 3000ms
In addition, I see mtail needs to look at ~/.chia/mainnet/log/farmer_summary.log but this file does not exists.
So I opened two screen session and executed on the first one watch -n 30 ~/chia-blockchain/venv/bin/chia farm summary > .chia/mainnet/log/farmer_summary.log
and on the second ./mtail --progs ./ --logs .chia/mainnet/log/debug.log --logs .chia/mainnet/log/farmer_summary.log --poll_interval 3000ms
In that way I have the grafana dashboard partially working: I have total plots, challenges per harvester, etc but missing earned xch, expected xch, netspace, etc
So I think we need to change something on the config.yaml of chia to generate ~/.chia/mainnet/log/farmer_summary.log
That could be the logging option under full_node.
from chiamonitor.
Hey! There some errors in
run_mtail
,watch
command doesn't allow to run mtail in a single sh file.
I made some scripts for my own harvesters - you can check it here https://github.com/iwex/chiascripts/blob/main/monitoring/init.sh
You can copy it, but change paths to your own values.
This helped a lot. For anyone else, you need to change paths in EVERY script in the repository AND change the user in watch-farmer.service too!
from chiamonitor.
I have pretty much the same issue, probably some kind of configuration is missing.
http://chiafarmer:9090/targets can be reached, and shows two targets up (chia and prometheus endpoints up).Second thing is the run_mtail.sh script:
The first linewatch -n 30 ~/chia-blockchain/venv/bin/chia farm summary
prevents executing the second line./mtail --progs ./ --logs .chia/mainnet/log/debug.log --logs .chia/mainnet/log/farmer_summary.log --poll_interval 3000ms
In addition, I see mtail needs to look at ~/.chia/mainnet/log/farmer_summary.log but this file does not exists.
So I opened two screen session and executed on the first onewatch -n 30 ~/chia-blockchain/venv/bin/chia farm summary > .chia/mainnet/log/farmer_summary.log
and on the second./mtail --progs ./ --logs .chia/mainnet/log/debug.log --logs .chia/mainnet/log/farmer_summary.log --poll_interval 3000ms
In that way I have the grafana dashboard partially working: I have total plots, challenges per harvester, etc but missing earned xch, expected xch, netspace, etc
So I think we need to change something on the config.yaml of chia to generate ~/.chia/mainnet/log/farmer_summary.log
That could be the logging option under full_node.
I have the same problem did you managed to fix it?
from chiamonitor.
Hey! There some errors in
run_mtail
,watch
command doesn't allow to run mtail in a single sh file.
I made some scripts for my own harvesters - you can check it here https://github.com/iwex/chiascripts/blob/main/monitoring/init.sh
You can copy it, but change paths to your own values.This helped a lot. For anyone else, you need to change paths in EVERY script in the repository AND change the user in watch-farmer.service too!
Hi,
Did you fix the missing data like earned xch, expected xch, netspace, etc
I can't get that part running
from chiamonitor.
Related Issues (20)
- Possible to see how many new plots are made per day on each harvester
- Regex match for mtail on Windows needs fixing HOT 1
- Problem with connection through Prometheus (No data) HOT 2
- Average check/95th percentile check breakdown by individual hosts/harvesters? HOT 1
- DockerCompose or docker image
- linux系统获取farmer_summary Log报错 HOT 1
- PassFilter and Challenge counts
- null
- 提交一个翻译错误
- 无法显示farm summary数据
- 无法获取数据 HOT 1
- Farm 高度为0 HOT 1
- 只有全网算力,获取不到其他数据 是什么问题? HOT 2
- 大部分数据无法显示
- chia 1.2升级后数据显示不正常
- 第一步就无法拿到数据
- 第一步就出错,无法抓取数据,奇亚是最新版,1.27 HOT 1
- Duration 95th Percentile 大于0.5s正常吗 HOT 2
- Please include download instructions for mtail HOT 1
- When i open my dash the average challenges go down
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chiamonitor.