Author

Topic: Monitoring hash rates through console window scraping? (Read 170 times)

hero member
Activity: 1218
Merit: 534
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..
full member
Activity: 675
Merit: 100
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.
Jump to: