Written application for itself, intercepting stdout miner and analyzes of his message.
Download:
kayfolom.ru/genoil_zec_miner_monitor.zipYou can perform different actions depending on the message:
{
"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 :-)