GithubHelp home page GithubHelp logo

congto / cgminer-monitor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from romdr/cgminer-monitor

0.0 2.0 0.0 116 KB

Simple monitor script for cgminer in python. Console display, http server, email alerts. No additional modules required.

License: ISC License

Python 100.00%

cgminer-monitor's Introduction

cgminer-monitor

Simple monitor script for cgminer in python. Console display, http server, email alerts. No additional modules required.

Tested with python 2.7.2 and cgminer 3.2.0.

usage: cgminer-monitor.py [command] [parameter]

Monitor mode

cgminer-monitor.py

  • Monitors cgminer by checking a few critical values
  • Emails if something is wrong
  • Restarts cgminer if the GPU is sick or dead
  • Runs a dead simple http server that only serves a page with the results of the monitor (identical to the console output with a nice display)
  • Monitors MMFCE pools and display the current balance in their currencies
  • Could support multi-gpus very easily (see comment in the code)
  • CTRL+C to stop everything

cgminer-monitor

cgminer-monitor-iphone

cgminer-monitor-email

Command mode

cgminer-monitor.py somecommand someoptionalparameter

  • Ouputs the results returned by cgminer miner and exits
  • Examples:
    • cgminer-monitor.py summary
    • cgminer-monitor.py gpu 0
    • See cgminer's API-README for all available commands

Credits

CGMinerClient class based on WyseNynja's gist https://gist.github.com/WyseNynja/1500780

Official forum thread

https://bitcointalk.org/index.php?topic=232232

ISC License

https://github.com/shazbits/cgminer-monitor/blob/master/LICENSE.txt

Romain Dura http://www.shazbits.com

BTC 1Kcn1Hs76pbnBpBQHwdsDmr3CZYcoCAwjj

myviewcounter

cgminer-monitor's People

Contributors

romdr avatar

Watchers

James Cloos avatar Tô Thành Công 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.