Very simple python script for monitoring Claymore's Dual Ethereum miner running on Windows machine. Sure it's not the best solution to control a huge amount of rigs, but if you have a few and don't need complicated event analyzing and autorecover features - feel free to use it.
The script will notify you via email if:
- Average hashrate during 5 minutes is less than a configured limit
- GPU temperature is higher than a configured limit
- GPU fan speed is less than a configured limit (possibly fan is broken)
- Number of invalid shares increasing
- Number of active cards(GPUs) is less than a configured limit
- Miner was restarted
- System was rebooted
- Pool is unreachable
The script will:
- Start miner if there's no such process
- Restart miner if there's more then 1 miner running
- Restart miner if it's unreachable via API
- Restart miner if invalid shares increasing
- Restart miner if number of active cards (GPUs) is less than a configured limit
- Restart system if average hashrate during 5 mins is less than a limit two times in a row
Python uptime package. Installation:
pip install uptime
Just set all necessary parameters at config section & add miner to Windows startup
All comments and additions are welcome.