Bitcoin Forum
May 26, 2024, 01:16:49 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Monitoring hash rates through console window scraping?  (Read 170 times)
tf2addict (OP)
Full Member
***
Offline Offline

Activity: 675
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.
BitBustah
Hero Member
*****
Offline Offline

Activity: 1218
Merit: 534



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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!