Bitcoin Forum
January 21, 2017, 03:48:56 PM *
News: Latest stable version of Bitcoin Core: 0.13.2  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Monitor for Genoil's ZEC miner  (Read 462 times)
Kayfolom
Newbie
*
Offline Offline

Activity: 5


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 :-)

http://kayfolom.ru/screenshot001.png
1485013736
Hero Member
*
Offline Offline

Posts: 1485013736

View Profile Personal Message (Offline)

Ignore
1485013736
Reply with quote  #2

1485013736
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1485013736
Hero Member
*
Offline Offline

Posts: 1485013736

View Profile Personal Message (Offline)

Ignore
1485013736
Reply with quote  #2

1485013736
Report to moderator
1485013736
Hero Member
*
Offline Offline

Posts: 1485013736

View Profile Personal Message (Offline)

Ignore
1485013736
Reply with quote  #2

1485013736
Report to moderator
1485013736
Hero Member
*
Offline Offline

Posts: 1485013736

View Profile Personal Message (Offline)

Ignore
1485013736
Reply with quote  #2

1485013736
Report to moderator
yalviert
Newbie
*
Offline Offline

Activity: 1


View Profile
Today at 04:52:47 AM
 #2

I have a doubt
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!