Bitcoin Forum
May 26, 2024, 06:30:02 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Monitor for Genoil's ZEC miner  (Read 1029 times)
Kayfolom (OP)
Member
**
Offline Offline

Activity: 68
Merit: 10


View Profile
November 02, 2016, 11:04:47 AM
 #1

Written application for itself, intercepting stdout miner and analyzes of his message.

Download: kayfolom.ru/genoil_zec_miner_monitor.zip

You can perform different actions depending on the message:
Code:
{
    "MinerAndParams": "genoil.exe -k zec -c equihash.eu.nicehash.com:3357 -u 1PJQRnBRZosgjGKMSLbpKJ5UNbB7Er5SHE.node08 -p x -i 20 -w 64 -P 0",
    "StartMinerAtStartup": true,
    "ShutdownMinerCommand": "TASKKILL /F /IM \"genoil.exe\"",
    "Logs": {
        "MinerLogFile": "genoil_zec_miner.log",
        "ApplicationLogFile": "genoil_zec_miner_monitor.log"
    },
    "Actions": [
        {
            "Name": "ZERO_SPEED",
            "Pattern": " 0.0S/s",
            "SkipFirstLinesCount": 15,
            "Action": "TASKKILL /F /IM \"genoil.exe\""
        },
        {
            "Name": "NOT_ACCEPTED",
            "Pattern": "zconn not accepted: null",
            "Action": "TASKKILL /F /IM \"genoil.exe\""
        },
        {
            "Name": "all gpu crashed",
            "Pattern": "all gpu crashed",
            "Action": "shutdown /r /f"
        },
        {
            "Name": "FALLOUT4",
            "Pattern": "a good time for games",
            "Action": "D:\\Steam\\steamapps\\common\\Fallout 4\\Fallout4Launcher.exe"
        }
    ]
}

Simply unzip the archive to a folder miner, edit the file genoil_zec_miner_monitor.conf and run the application genoil_zec_miner_monitor.exe.

Hopefully the app will come in handy.

P.S. Fallout in the config file is just a joke :-)


yalviert
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
January 21, 2017, 04:52:47 AM
 #2

I have a doubt
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!