rodneymo / rig-monitor

monitoring solution for mining rigs
https://randomcryptostuff.blogspot.nl/2017/08/monitoring-ethereum-mining-farm-using.html
GNU General Public License v3.0
30 stars 12 forks source link

consistent metrics mapping to influx miner_system and miner_gpu fields #52

Open rodneymo opened 6 years ago

rodneymo commented 6 years ago

Metrics can have different meanings across different miners. Harmonizing them into a common influx schema has the benefit of allowing dashboards to be reused.

I have captured the mapping for sgminer and claymore here. @wishbone1138 , could you take a look?

Specific to claymore I don't understand the different between rejected and incorrect. I have never seen a rejected share, only incorrect shares (due to excessive GPU OC). Also claymore doesn't seem to capture stale shares, which sgminer does

rodneymo commented 6 years ago

I have updated the miner scripts to reflect this filed consistency. Apparently in claymore both rejected and incorrect are invalid licenses. The former is rejected by the pool whereas the latter is detected by the miner.

wishbone1138 commented 6 years ago

Gotcha! I always wondered what those two meant, since claymore seems to report a lot more of that than other miners. I noticed you closed this, so I'm assuming we don't still need to discuss it.

rodneymo commented 6 years ago

I am planning to do the same for the pool scripts. Could you take a look at the wiki and check if I have missed something?

BTW, we still need to add the valid, invalid shares to the nano pool script.

wishbone1138 commented 6 years ago

Nanopool does not support invalid share unfortunately.. Unless I'm missing something/ https://eth.nanopool.org/api

I'll try to walk through the wiki soon. I need to match it up to what I'm graphing as well.