Bitcoin Forum
November 21, 2018, 03:00:24 PM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Monitoring hash rates through console window scraping?  (Read 86 times)
tf2addict
Full Member
***
Offline Offline

Activity: 476
Merit: 100


View Profile
November 14, 2017, 07:06:08 PM
 #1

So I'm trying to put together a plan for monitoring and alarming for all of my rigs.  I tend to run different mining software depending on profitability so I haven't one found management solution that covers everything.  For example, I'm currently using Cast XMR but it doesn't have an API.

My thought is to put together a screen-scraping application to extract hash rates and then make them available via a JSON API which I can then use remotely from a web server or app.  The app would be configurable so that it could extract the information from any miner app that outputs status information in a console (which is pretty much every miner).  Before I embark on that project is there anything existing that would accomplish that?

Ultimately it could also extract temperatures, fan speeds, and anything else that the miner displays in the console.  I would like to build a web dashboard that displays all of the info for the entire farm.
1542812424
Hero Member
*
Offline Offline

Posts: 1542812424

View Profile Personal Message (Offline)

Ignore
1542812424
Reply with quote  #2

1542812424
Report to moderator
1542812424
Hero Member
*
Offline Offline

Posts: 1542812424

View Profile Personal Message (Offline)

Ignore
1542812424
Reply with quote  #2

1542812424
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
BitBustah
Hero Member
*****
Offline Offline

Activity: 924
Merit: 508


View Profile
November 14, 2017, 07:41:16 PM
 #2

So I'm trying to put together a plan for monitoring and alarming for all of my rigs.  I tend to run different mining software depending on profitability so I haven't one found management solution that covers everything.  For example, I'm currently using Cast XMR but it doesn't have an API.

My thought is to put together a screen-scraping application to extract hash rates and then make them available via a JSON API which I can then use remotely from a web server or app.  The app would be configurable so that it could extract the information from any miner app that outputs status information in a console (which is pretty much every miner).  Before I embark on that project is there anything existing that would accomplish that?

Ultimately it could also extract temperatures, fan speeds, and anything else that the miner displays in the console.  I would like to build a web dashboard that displays all of the info for the entire farm.


Fetching the output of the console window isnt that hard. I've done it before with Delphi. Just Google something like "capturing output from command window". You will need to decide which programming language/app to use..

███ Bitsgap - Cryptocurrency Multi-Exchange Trading Platform ███
[Sign up for Free]

Portfolio  |  Trading  |  Arbitrage  |  25+ Exchanges  |  10,000+ Cryptopairs
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!