Giter VIP home page Giter VIP logo

gminer-status-api's Introduction

gminer-status

A GMiner API stats page aggregator for monitoring multiple GMiner instances.

Setup

  1. You should be running GMiner (https://github.com/develsoftware/GMinerRelease) with --api [port] enabled.
  2. This requires a webserver with PHP support to aggregate the data.
  3. Place this code in a place accessible to your webserver.
  4. Copy the file "config.inc.example.php" to "config.inc.php" and configure your hosts.
    • Add your hosts to the variable, replacing host with their ip address, or usually local machine name will work (it depends on your router).
    • The port should be whatever number you put in --api [port] in your gminer arguments.
    • For example: --api 9000 would be http://your-machine-name:9000/stat

Usage

Just navigate to the location you placed the code. It should refresh the data from your miners every second if they are all online. If there are any online it times out after the period specified in the config, so that will be your refresh rate.

page example screenshot

Acknowledgements

Thank you to the GMiner team for providing your mining software, API, and a starting point for this little project.

gminer-status-api's People

Contributors

nhorvath avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.