ytx1991 / chiamonitor Goto Github PK
View Code? Open in Web Editor NEWAn approach for monitoring multiple Chia harvester in one web app based dashboard
An approach for monitoring multiple Chia harvester in one web app based dashboard
"pluginVersion": "7.5.4",
"targets": [
{
"exemplar": true,
"expr": "max(last_farm_height)",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "上次收割高度",
"type": "stat"
},
I'm not sure if there are major problems here, or issues with the instructions, or if I'm just missing something?
I've got Prometheus and Grafana up, no problem, was already running Grafana, just had to spin up a Prometheus instance.
It looks like it is expecting a debug.log and a farmer_summary.log? But neither of these exist with a default setup. The only logging config I see in the Chia configuration pertains to running a full node, but I'm deploying this on my harvesters... so... not sure how to get them making a debug.log. Also not sure about this farmer_summary.log at all ... I tried firing up the first command from the run script in a separate screen session and redirecting it out to that file as someone mentioned in another issue here, then running mtail by itself, as, the way the start script is written, it just hangs up on the first command and never runs mtail ... that got mtail listening on on 3903 at least, but still no data on my dashboard.
You say Prometheus and Grafana need to be running on the full node? I'm, not sure why, at all? I see nothing in the config or setup instructions for them to pull any information from the full node ...
Totally lost here, and shocked to see comments in other issues saying "Got it working" as that almost looks impossible from the pieces here.
Any advice? Or plans to add a little more to the instructions and clean up big obvious issues like the fact that the startup script is fundamentally broken?
Thanks!
Hi,
I've finally get it working partial, i am missing expect xch per day and earned and expected time to win and netspace.
Anyone know how to fix that been trying for 16 hours straight (going a bit nut now)
Thanks
farmer_summary.log 已获取内容:
Farming status: Farming
Total chia farmed: 22.00000008
User transaction fees: 8e-08
Block rewards: 22.0
Last height farmed: 444177
Plot count: 3554
Total size of plots: 351.794 TiB
Estimated network space: 25344.576 PiB
Expected time to win: 2 weeks and 2 days
Note: log into your key using 'chia wallet show' to see rewards for each key
只有全网算力,获取不到其他数据 是什么问题?哪里没设置好?
Not sure if ti is a bug or just a confusing stat but i have over 800 plots so i have multiple plots match a challenge. The issue is that the total challengers is less than the passed filter eg 199 total and 320 passed because multiple plots can meet a challenge giving a passed filter rate of over 160%. I find this misleading and would prefer to have 2 seperate stats.
Also it would be great to be able to get the check duration etc per harvester or to have min/avg/max in a bar form per harvester so i can find my slow ones
$ mtail --progs chialog.mtail --logs ~/.chia/mainnet/log/debug.log -compile_only
E0429 09:50:23.689628 1064409 main.go:151] Compile encountered errors:
compile failed for chialog.mtail:
chialog.mtail:8:11-24: syntax error: unexpected ID, expecting NL
I did a global find and replace on grafana_dashboard_en.json in vscode and it's working properly now.
Find: "datasource": null
Replace: "datasource": "Chia"
Make sure to create the datasource in Grafana before you import the dashboard.
Would it be possible to create a docker-compose file with everythign that is configured and just works and then all users need to do is set up the Mtail's to send the logs to it? It could greatly simplify setup and make it less error prone
安装在ubuntu20.04
run_mtail.sh 中farmsummary.log 数据获取 命令目录不正确,修改路径后,命令正常执行,farmsummary.log 中数据正常。
Figured it out after coming across this (wants \r at end of regex): google/mtail#518
...Total (?P<total_plots>\d+) plots\r$/ {
Hi,
I dont know if its possible, but it would be nice to see the new plots on each harvester that you make every day.
Followed instructions for installation.
Am running harvester and full node / dashboard on same host to test.
I used SCREEN to keep run_mtail.sh in the background.
Have imported JSON but all the graphs show "No data".
Apologies - first time with Grafana / Prometheus.
Suspect mtail is not running. Have reviewed run_mtail.sh and I note that when I try to execute at the prompt ./mtail I receive a "command not found" response.
一直无法拿到数据,是否能给个比较详细的配置步骤?
Hi, just thinking this would be useful for some of us who have a harvester reading from NAS and other slow storage vs other harvesters just reading from internal or USB HDDs
People might feel safer downloading the mtail binary from the original source.
Farm 高度为0,其他数据正常……不知道修改哪里。。。。ORZ...
Usage: chia.exe wallet show [OPTIONS]
Try 'chia.exe wallet show -h' for help.
Error: Invalid value for '-f' / '--fingerprint': Your_Wallet_Fingerprint is not a valid integer
Usage: chia.exe plotnft show [OPTIONS]
Try 'chia.exe plotnft show -h' for help.
Error: Invalid value for '-f' / '--fingerprint': Your_Wallet_Fingerprint is not a valid integer
"Fetching farmer summary ... Don't close this window"
chia 1.2版本升级后,爆块统计出现很大偏差,请帮忙解决。升级之前显示一切正常!
Hi,
The dash board works beautifully but I found that the the disk usage displayed includes all harddrives which is not what we need. Ideally we only need total usage on HDD only as a total count on SSD is meaningless. Is there a way we could change that - I'm sure it's just a change of the data in the data source and the respectively dash board grid. Could you please point me in the right direction?
Many thanks!
Cheers,
Chao
Hi,
Anyone noticed when you open the dashboard that the average challenges go down?
https://www.mobilrent.be/dash.png
Do you guys run the dash on a farmer or on a diffrent pc?
Connection error. Check if wallet is running at 9256
Connection error. Check if harvester is running at 8560
Connection error. Check if full node is running at 8555
Connection error. Check if farmer is running at 8559
Farming status: Not available
Total chia farmed: Unknown
User transaction fees: Unknown
Block rewards: Unknown
Last height farmed: Unknown
Plot count: Unknown
Total size of plots: Unknown
Estimated network space: Unknown
Expected time to win: Unknown
Note: log into your key using 'chia wallet show' to see rewards for each key
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.