Bitcoin Forum
December 18, 2017, 05:46:28 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Monitoring hash rates through console window scraping?  (Read 73 times)
tf2addict
Full Member
***
Offline Offline

Activity: 168


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.
1513575988
Hero Member
*
Offline Offline

Posts: 1513575988

View Profile Personal Message (Offline)

Ignore
1513575988
Reply with quote  #2

1513575988
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
*****
Online Online

Activity: 616


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..
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!