Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: Kayfolom on November 02, 2016, 11:04:47 AM



Title: Monitor for Genoil's ZEC miner
Post by: Kayfolom on November 02, 2016, 11:04:47 AM
Written application for itself, intercepting stdout miner and analyzes of his message.

Download: kayfolom.ru/genoil_zec_miner_monitor.zip (http://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 :-)

http://kayfolom.ru/screenshot001.png


Title: Re: Monitor for Genoil's ZEC miner
Post by: yalviert on January 21, 2017, 04:52:47 AM
I have a doubt