Author

Topic: Monitor for Genoil's ZEC miner (Read 1047 times)

newbie
Activity: 11
Merit: 0
January 20, 2017, 11:52:47 PM
#2
I have a doubt
member
Activity: 68
Merit: 10
November 02, 2016, 06: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 :-)


Jump to: