Author

Topic: Akbash 1.0.12: Open Source cgminer watchdog (remote monitoring, emails, HTTP) (Read 31070 times)

legendary
Activity: 2688
Merit: 1468
looks like a bug.  I'll take a look and send you debug binary.

Thanks for reporting this potential bug.
af_newbie
legendary
Activity: 1218
Merit: 1000
Please give me an option to change the smtp port!
This is because outgoing port 25 requests are blocked on my isp (and many others),
but allowing for me to send smtp requests on port 587, or other ports, will work fine for me.
newbie
Activity: 19
Merit: 0
This looks very nice, thank you!  I've got one card that cgminer just seems to keep declaring dead, and occasionally cgminer crashes which stops everything.  I'm hoping that this will help with that!

Is there a way to change the scale for us lowly non-massive-farm scrypt farmers?

Right now the status page shows GH/s and MH/s but we're just doing MH/s and KH/s.

Thanks!

Just use 0.3 in the threshold.  Here is a sample of my config file for litecoin rig:


Thanks!  But... I already have that, and it still reports the total in GH, and the individual cards in MH. 

I took a look at the source code, and it appears that it's hardcoded to always display that way.

Can I fork&pull to add a switch to allow toggling this between GH/MH and MH/KH?  If so, any particular option name I should use?
newbie
Activity: 2
Merit: 0
Great work! Is there any way to configure a password for web access?
newbie
Activity: 19
Merit: 0
This looks very nice, thank you!  I've got one card that cgminer just seems to keep declaring dead, and occasionally cgminer crashes which stops everything.  I'm hoping that this will help with that!

Is there a way to change the scale for us lowly non-massive-farm scrypt farmers?

Right now the status page shows GH/s and MH/s but we're just doing MH/s and KH/s.

Thanks!
newbie
Activity: 2
Merit: 0
I can't seem to get akbash to connect to gmail's smtp server to send me email. I've tried a different domain, but as it's simply an alias to gmail.com it also fails. I tried setting my address to @smtp.gmail.com and that doesn't work either.

Here's the log file:

Code:
12/16/13 11:31:07 0x0c08 DBG net_reQueryMxRecord(): querying mx records for email domain: 'gmail.com'
12/16/13 11:31:07 0x0c08 DBG net_reQueryMxRecord(): email domain: 'gmail.com', mail server: 'alt3.gmail-smtp-in.l.google.com'
12/16/13 11:31:07 0x0c08 DBG net_reQueryMxRecord(): looking up an IP for 'alt3.gmail-smtp-in.l.google.com'
12/16/13 11:31:07 0x0c08 DBG net_reQueryMxRecord(): mail exchanger: 'alt3.gmail-smtp-in.l.google.com', ip: 173.194.68.27
12/16/13 11:31:37 0x0ee4 INF restartMiner(): checking if miner is running...
12/16/13 11:31:37 0x0ee4 INF restartMiner(): new minerprocess ID: 1368
12/16/13 11:31:37 0x0ee4 SVR main(): waiting 30 seconds for miner to settle down...
12/16/13 11:32:07 0x0c08 SVR net_connectMX(): host '173.194.68.27' did not respond in 60 seconds
12/16/13 11:32:07 0x0c08 SVR sendEmailThread(): failed to connect to mail server for email domain: gmail.com
12/16/13 11:32:07 0x0c08 SVR sendEmailThread(): exiting thread: 0x0c08
12/16/13 11:32:07 0x0c08 INF sendEmailThread(): closing connection.
12/16/13 11:32:07 0x0c08 INF sendEmailThread(): exiting email thread: 0x0c08
newbie
Activity: 56
Merit: 0
I'm interested in using akbash to monitor cgminer while mining litecoins; it looks like a great program. However, I get the following every time I use it:

04/11/13 18:03:12 0x1558 INF main(): checking miner status...
04/11/13 18:03:12 0x1558 ERR net_recvBytes(): WSARecv failed with error: 10053
04/11/13 18:03:12 0x1558 ERR sendCommand(): net_recvBytes() failed: -11
04/11/13 18:03:12 0x1558 ERR net_recvBytes(): WSARecv failed with error: 10053
04/11/13 18:03:12 0x1558 ERR sendCommand(): net_recvBytes() failed: -11
04/11/13 18:03:12 0x1558 ERR net_recvBytes(): WSARecv failed with error: 10053
04/11/13 18:03:12 0x1558 ERR sendCommand(): net_recvBytes() failed: -11
04/11/13 18:03:12 0x1558 SVR main(): unable to retrieve number of devices (GPU/PGA), waiting 30 seconds for

Akbash starts properly, detects that cgminer isn't running, properly starts cgminer up, but then this happens - looks like it's unable to properly communicate with cgminer. Akbash then kills cgminer, starts up a new instance, and the whole thing repeats.

I have the following in my cgminer startup script:

--api-listen --api-allow -W:127.0.0.1 --api-network

Anyone have any ideas what might be causing the problem? Is it because I'm using the --scrypt option to mine litecoins? I know this was intended as a monitor for bitcoin mining, but the cgminer output is pretty much the same...

Thanks!
newbie
Activity: 18
Merit: 0
I can't tune akbash, cgminer and BFLSingle SC 60 Gh/s device to work together.

akbash permanently restarts cgminer after "0x0fe4 SVR main(): unable to retrieve number of devices (GPU/PGA), waiting 60 seconds for miner to initialize..." message.


How many devices you have?  Maybe it queries cgminer before it is done initializing.

Try to set

"miner-init-interval" : "60",

Also, could you post your akbash log file?

Please set

"wdog-log-level" : "3"

this will log DBG level diags.

I have only one BFLSingle SC 60 Gh/s device.

My akbash log file:

Code:
09/16/13 16:16:20 0x057c SVR main(): ----------- Starting -------------

09/16/13 16:16:20 0x057c SVR main(): akbash watchdog ver. 1.0.11 (D:\__GPU_ProgramFiles\__Links\_Miner-1\akbash-asic_conf_files\akbash_cgminer-asic_miner-1__SHA256.conf) - copyright (c) 2012 by Peter Moss

09/16/13 16:16:20 0x057c SVR main(): akbash started at: 09/16/2013 16:16:20

09/16/13 16:16:20 0x057c SVR main(): akbash exe name: akbash-asic.exe

09/16/13 16:16:20 0x057c DBG main(): ---------------------------------

09/16/13 16:16:20 0x057c DBG main(): watchdog specific config entries:

09/16/13 16:16:20 0x057c DBG main(): ---------------------------------

09/16/13 16:16:20 0x057c DBG main(): wdog-logFile: D:\__GPU_ProgramFiles\__Links\_Miner-1\akbash-asic_conf_files\Log\log.txt

09/16/13 16:16:20 0x057c DBG main(): wdog-log-file-size: 2097152 [bytes]

09/16/13 16:16:20 0x057c DBG main(): wdog-log-level: 3

09/16/13 16:16:20 0x057c DBG main(): miner-number-of-restarts: 100

09/16/13 16:16:20 0x057c DBG main(): miner-alive-timeout: 120 [seconds]

09/16/13 16:16:20 0x057c DBG main(): miner-not-connected-timeout: 120 [seconds]

09/16/13 16:16:20 0x057c DBG main(): wdog-listen-ip: 127.0.0.1

09/16/13 16:16:20 0x057c DBG main(): wdog-rig-name: BTC ASIC Miner #1

09/16/13 16:16:20 0x057c DBG main(): wdog-listen-port: 80

09/16/13 16:16:20 0x057c DBG main(): wdog-disable-remote-api: 0

09/16/13 16:16:20 0x057c DBG main(): wdog-disable-remote-help: 1

09/16/13 16:16:20 0x057c DBG main(): wdog-disable-remote-restart: 1

09/16/13 16:16:20 0x057c DBG main(): wdog-disable-remote-reboot: 1

09/16/13 16:16:20 0x057c DBG main(): wdog-disable-remote-getlog: 1

09/16/13 16:16:20 0x057c DBG main(): wdog-disable-remote-status: 0

09/16/13 16:16:20 0x057c DBG main(): wdog-disable-notification-emails: 1

09/16/13 16:16:20 0x057c DBG main(): wdog-disable-status-notifications: 0

09/16/13 16:16:20 0x057c DBG main(): wdog-notifications-email-address:

09/16/13 16:16:20 0x057c DBG main(): wdog-status-notification-frequency: 0 [minutes]

09/16/13 16:16:20 0x057c DBG main(): wdog-cutoff-temperature: 86 [deg. C]

09/16/13 16:16:20 0x057c DBG main(): wdog-cutoff-temperature-cooldown-period: 5 [minutes]

09/16/13 16:16:20 0x057c DBG main(): wdog-disable-hw-monitoring: 1

09/16/13 16:16:20 0x057c DBG main(): wdog-hw-monitoring-interval: 60 [seconds]

09/16/13 16:16:20 0x057c DBG main(): wdog-gpu-utilization-threshold: 10 [%]

09/16/13 16:16:20 0x057c DBG main(): wdog-gpu-utilization-timeout: 100 [seconds]

09/16/13 16:16:20 0x057c DBG main(): ------------------------------

09/16/13 16:16:20 0x057c DBG main(): miner specific config entries:

09/16/13 16:16:20 0x057c DBG main(): ------------------------------

09/16/13 16:16:20 0x057c DBG main(): miner-exe-full-path: D:\__GPU_ProgramFiles\__Links\_Miner-1\cgminer-asic\cgminer-asic_miner-1__SHA256.lnk

09/16/13 16:16:20 0x057c DBG main(): miner-exe-name: cgminer-nogpu.exe

09/16/13 16:16:20 0x057c DBG main(): miner-init-interval: 60 [seconds]

09/16/13 16:16:20 0x057c DBG main(): miner-gpu-avg-rate-threshold: 0.00 [Mh/s]

09/16/13 16:16:20 0x057c DBG main(): miner-pga-avg-rate-threshold: 2900.00 [Mh/s]

09/16/13 16:16:20 0x057c DBG main(): miner-working-set-threshold: 904 [MB]

09/16/13 16:16:20 0x057c DBG main(): miner-handle-count-threshold: 15000 [open handles]

09/16/13 16:16:20 0x057c DBG main(): miner-api-poll-interval: 60 [seconds]

09/16/13 16:16:20 0x057c DBG main(): miner-hw-errors-threshold: 10000000 [h/w errors]

09/16/13 16:16:20 0x057c DBG main(): miner-listen-ip: 127.0.0.1

09/16/13 16:16:20 0x057c DBG main(): miner-listen-port: 4028

09/16/13 16:16:20 0x057c DBG main(): miner-solo-mining: 0

09/16/13 16:16:20 0x057c DBG main(): miner-notify-when-block-found: 1

09/16/13 16:16:20 0x057c DBG main(): miner-target-difficulty-url: https://blockchain.info/q/getdifficulty

09/16/13 16:16:20 0x057c DBG main(): --------------------

09/16/13 16:16:20 0x057c DBG main(): pool config entries:

09/16/13 16:16:20 0x057c DBG main(): --------------------

09/16/13 16:16:20 0x057c DBG main(): pool-disable-info: 1

09/16/13 16:16:20 0x057c DBG main(): pool-refresh-interval: 0 [minutes]

09/16/13 16:16:20 0x057c DBG main(): pool-api-url:

09/16/13 16:16:20 0x057c DBG main(): pool-balance-label:

09/16/13 16:16:20 0x057c DBG main(): pool-hash-rate-label:

09/16/13 16:16:20 0x057c DBG main(): pool-valids-label:

09/16/13 16:16:20 0x057c DBG main(): pool-stales-label:

09/16/13 16:16:20 0x057c DBG main(): pool-invalids-label:

09/16/13 16:16:20 0x057c DBG main(): parsed pool host:

09/16/13 16:16:20 0x057c DBG main(): parsed pool port: 0

09/16/13 16:16:20 0x057c DBG main(): parsed pool uri:

09/16/13 16:16:20 0x057c DBG main(): ------------------

09/16/13 16:16:20 0x057c DBG main(): BTC quote entries:

09/16/13 16:16:20 0x057c DBG main(): ------------------

09/16/13 16:16:20 0x057c DBG main(): btc-disable-quotes: 1

09/16/13 16:16:20 0x057c DBG main(): btc-refresh-interval: 0 [minutes]

09/16/13 16:16:20 0x057c DBG main(): btc-quote-url:

09/16/13 16:16:20 0x057c DBG main(): btc-quote-last-label:

09/16/13 16:16:20 0x057c DBG main(): btc-quote-ask-label:

09/16/13 16:16:20 0x057c DBG main(): btc-quote-bid-label:

09/16/13 16:16:20 0x057c DBG main(): -----------------------

09/16/13 16:16:20 0x057c DBG main(): Smart Metering entries:

09/16/13 16:16:20 0x057c DBG main(): -----------------------

09/16/13 16:16:20 0x057c DBG main(): smart-metering-disable: 1

09/16/13 16:16:20 0x057c DBG main(): smart-metering-polling-interval: 0

09/16/13 16:16:20 0x057c DBG main(): smart-metering-on-peak-start-time: 00:00

09/16/13 16:16:20 0x057c DBG main(): smart-metering-off-peak-start-time: 00:00

09/16/13 16:16:20 0x057c DBG main(): smart-metering-on-peak-shutdown: 0

09/16/13 16:16:20 0x057c DBG main(): smart-metering-on-peak-disable-gpus: 0

09/16/13 16:16:20 0x057c DBG main(): ---------------------------------

09/16/13 16:16:20 0x057c SVR initSmtp(): sending of email notifications will be disabled. disableFlag: 1

09/16/13 16:16:20 0x057c DBG main(): re-setting miner status...

09/16/13 16:16:20 0x057c INF main(): checking if miner is running...

09/16/13 16:16:20 0x057c SVR getProcessInfo(): unable to find process: cgminer-nogpu.exe, processId: 0, werFault: 0

09/16/13 16:16:20 0x057c SVR main(): miner is not running...sleeping for 5 seconds and retrying...

09/16/13 16:16:25 0x057c SVR getProcessInfo(): unable to find process: cgminer-nogpu.exe, processId: 0, werFault: 0

09/16/13 16:16:25 0x057c SVR main(): miner is not running...restarting

09/16/13 16:16:25 0x057c SVR getProcessInfo(): unable to find process: cgminer-nogpu.exe, processId: 0, werFault: 0

09/16/13 16:16:25 0x057c SVR restartMiner(): sleeping for 15 seconds before restarting a new miner...

09/16/13 16:16:40 0x057c INF restartMiner(): ---------------------------------------------

09/16/13 16:16:40 0x057c INF restartMiner(): starting new instance...

09/16/13 16:16:40 0x057c INF restartMiner(): command line: start D:\__GPU_ProgramFiles\__Links\_Miner-1\cgminer-asic\cgminer-asic_miner-1__SHA256.lnk

09/16/13 16:16:40 0x057c SVR send_smtp_restarted_msg(): sending of email notifications is disabled.

09/16/13 16:16:40 0x057c INF restartMiner(): sleeping for 60 seconds...

09/16/13 16:17:40 0x057c INF restartMiner(): checking if miner is running...

09/16/13 16:17:40 0x057c INF restartMiner(): new minerprocess ID: 1888

09/16/13 16:17:40 0x057c SVR main(): waiting 60 seconds for miner to settle down...

09/16/13 16:18:40 0x057c INF main(): checking miner status...

09/16/13 16:18:40 0x057c DBG parseGPUSummary(): buf: {"STATUS":[{"STATUS":"S","When":1379337520,"Code":11,"Msg":"Summary","Description":"cgminer 3.4.3"}],"SUMMARY":[{"Elapsed":113,"MHS av":63609.14,"Found Blocks":0,"Getworks":17,"Accepted":52,"Rejected":0,"Hardware Errors":37,"Utility":27.67,"Discarded":10,"Stale":0,"Get Failures":0,"Local Work":1730,"Remote Failures":0,"Network Blocks":2,"Total MH":7172595.3843,"Work Utility":868.92,"Difficulty Accepted":1664.00000000,"Difficulty Rejected":0.00000000,"Difficulty Stale":0.00000000,"Best Share":6357,"Device Hardware%":2.2156,"Device Rejected%":0.0000,"Pool Rejected%":0.0000,"Pool Stale%":0.0000}],"id":1}

09/16/13 16:18:41 0x057c DBG fetchMinerInfo(): target difficulty: 112628548.666347 (112.63M)

09/16/13 16:18:41 0x057c SVR main(): unable to retrieve number of devices (GPU/PGA), waiting 60 seconds for miner to initialize...

09/16/13 16:19:41 0x057c DBG parseGPUSummary(): buf: {"STATUS":[{"STATUS":"S","When":1379337581,"Code":11,"Msg":"Summary","Description":"cgminer 3.4.3"}],"SUMMARY":[{"Elapsed":174,"MHS av":62537.44,"Found Blocks":0,"Getworks":19,"Accepted":78,"Rejected":0,"Hardware Errors":59,"Utility":26.83,"Discarded":14,"Stale":0,"Get Failures":0,"Local Work":2595,"Remote Failures":0,"Network Blocks":2,"Total MH":10909216.9318,"Work Utility":859.54,"Difficulty Accepted":2496.00000000,"Difficulty Rejected":0.00000000,"Difficulty Stale":0.00000000,"Best Share":12742,"Device Hardware%":2.3065,"Device Rejected%":0.0000,"Pool Rejected%":0.0000,"Pool Stale%":0.0000}],"id":1}

09/16/13 16:19:41 0x057c DBG fetchMinerInfo(): target difficulty: 112628548.666347 (112.63M)

09/16/13 16:19:41 0x057c SVR main(): unable to retrieve number of devices (GPU/PGA), attempting to restart miner...

09/16/13 16:19:41 0x057c SVR restartMiner(): killing miner process: 1888

09/16/13 16:19:41 0x057c SVR killProcessByID(1888): process handle: 480, TeminateProcess() returned rc: 1

09/16/13 16:19:41 0x057c SVR restartMiner(): sleeping for 15 seconds before restarting a new miner...

09/16/13 16:19:56 0x057c INF restartMiner(): ---------------------------------------------

09/16/13 16:19:56 0x057c INF restartMiner(): old process ID: 1888

09/16/13 16:19:56 0x057c INF restartMiner(): process name: cgminer-nogpu.exe

09/16/13 16:19:56 0x057c INF restartMiner(): starting new instance...

09/16/13 16:19:56 0x057c INF restartMiner(): command line: start D:\__GPU_ProgramFiles\__Links\_Miner-1\cgminer-asic\cgminer-asic_miner-1__SHA256.lnk

09/16/13 16:19:56 0x057c SVR send_smtp_restarted_msg(): sending of email notifications is disabled.

09/16/13 16:19:56 0x057c INF restartMiner(): sleeping for 60 seconds...

09/16/13 16:20:56 0x057c INF restartMiner(): checking if miner is running...

09/16/13 16:20:56 0x057c INF restartMiner(): new minerprocess ID: 2956

09/16/13 16:20:56 0x057c SVR main(): waiting 60 seconds for miner to settle down...

09/16/13 16:21:56 0x057c DBG parseGPUSummary(): buf: {"STATUS":[{"STATUS":"S","When":1379337716,"Code":11,"Msg":"Summary","Description":"cgminer 3.4.3"}],"SUMMARY":[{"Elapsed":113,"MHS av":59977.37,"Found Blocks":0,"Getworks":16,"Accepted":43,"Rejected":1,"Hardware Errors":47,"Utility":22.80,"Discarded":9,"Stale":0,"Get Failures":0,"Local Work":1634,"Remote Failures":0,"Network Blocks":2,"Total MH":6786048.3277,"Work Utility":823.03,"Difficulty Accepted":1376.00000000,"Difficulty Rejected":32.00000000,"Difficulty Stale":0.00000000,"Best Share":722,"Device Hardware%":2.9393,"Device Rejected%":2.0619,"Pool Rejected%":2.2727,"Pool Stale%":0.0000}],"id":1}

09/16/13 16:21:57 0x057c DBG fetchMinerInfo(): target difficulty: 112628548.666347 (112.63M)

09/16/13 16:21:57 0x057c SVR main(): no GPUs used by the miner, GPU H/W monitoring will be disabled...

09/16/13 16:21:57 0x057c DBG displayMinerInfoObject(): status: NOT CONNECTED, gpus: 0, pgas: 0, a: 43, gw: 16, avg: 59977.37, hw: 47, since: 09/16/2013 16:20:03, u: 22.80, ver: 3.4.3, days: 0, hrs: 0, min: 1, secs: 53, found blocks: 0

09/16/13 16:21:57 0x057c DBG displayMinerInfoObject(): pool 0, url: stratum+tcp://eu-stratum.btcguild.com:3333 status: ALIVE

09/16/13 16:21:57 0x057c DBG displayMinerInfoObject(): pool 1, url: stratum+tcp://stratum.btcguild.com:3333 status: ALIVE

09/16/13 16:21:57 0x057c DBG displayMinerInfoObject(): pool 2, url: stratum+tcp://mint.bitminter.com:3333 status: ALIVE

09/16/13 16:21:57 0x057c DBG displayMinerInfoObject(): pool 3, url: stratum+tcp://stratum2.bitparking.com:3333 status: ALIVE

09/16/13 16:21:57 0x057c DBG displayMinerInfoObject(): pool 4, url: stratum+tcp://mmpool.bitparking.com:3333 status: ALIVE

09/16/13 16:21:57 0x057c DBG displayMinerInfoObject(): pool 5, url: stratum+tcp://pool.50btc.com:3333 status: ALIVE

09/16/13 16:21:57 0x057c DBG displayMinerInfoObject(): pool 6, url: stratum+tcp://192.168.44.8:3333 status: ALIVE

09/16/13 16:21:57 0x057c DBG displayMinerInfoObject(): pool 7, url: stratum+tcp://eustratum.ozco.in:3333 status: ALIVE

09/16/13 16:21:57 0x057c DBG displayMinerInfoObject(): pool 8, url: stratum+tcp://stratum.bitcoin.cz:3333 status: ALIVE

09/16/13 16:21:57 0x057c DBG displayMinerInfoObject(): pool 9, url: stratum+tcp://pool1.us.multipool.us:3333 status: ALIVE

09/16/13 16:21:57 0x057c SVR main(): monitor thread created, handle: 644, threadId: 0x0a04

09/16/13 16:21:57 0x057c SVR main(): miner api thread created, handle: 844, threadId: 0x0fcc

09/16/13 16:21:57 0x057c SVR main(): listen thread created, handle: 824, threadId: 0x0630

09/16/13 16:21:57 0x0fcc SVR minerApiThread(): will poll miner (127.0.0.1@4028) status every 60 seconds

09/16/13 16:21:57 0x0630 INF listenForCommands(): listening on 127.0.0.1@80

09/16/13 16:21:57 0x0a04 INF monitorThread(): wdog is entering state: NOT RUNNNING -> NOT CONNECTED

09/16/13 16:22:57 0x0fcc DBG minerApiThread(): woke up; checking miner status...

09/16/13 16:22:57 0x0fcc DBG parseGPUSummary(): buf: {"STATUS":[{"STATUS":"S","When":1379337777,"Code":11,"Msg":"Summary","Description":"cgminer 3.4.3"}],"SUMMARY":[{"Elapsed":175,"MHS av":60143.63,"Found Blocks":0,"Getworks":20,"Accepted":73,"Rejected":3,"Hardware Errors":72,"Utility":25.03,"Discarded":15,"Stale":0,"Get Failures":0,"Local Work":2511,"Remote Failures":0,"Network Blocks":3,"Total MH":10522669.8752,"Work Utility":826.48,"Difficulty Accepted":2336.00000000,"Difficulty Rejected":96.00000000,"Difficulty Stale":0.00000000,"Best Share":2703,"Device Hardware%":2.9009,"Device Rejected%":3.9834,"Pool Rejected%":3.9474,"Pool Stale%":0.0000}],"id":1}

09/16/13 16:22:58 0x0fcc DBG fetchMinerInfo(): target difficulty: 112628548.666347 (112.63M)

09/16/13 16:22:58 0x0fcc DBG displayMinerInfoObject(): status: NOT CONNECTED, gpus: 0, pgas: 0, a: 73, gw: 20, avg: 60143.63, hw: 72, since: 09/16/2013 16:20:02, u: 25.03, ver: 3.4.3, days: 0, hrs: 0, min: 2, secs: 55, found blocks: 0

09/16/13 16:22:58 0x0fcc DBG displayMinerInfoObject(): pool 0, url: stratum+tcp://eu-stratum.btcguild.com:3333 status: ALIVE

09/16/13 16:22:58 0x0fcc DBG displayMinerInfoObject(): pool 1, url: stratum+tcp://stratum.btcguild.com:3333 status: ALIVE

09/16/13 16:22:58 0x0fcc DBG displayMinerInfoObject(): pool 2, url: stratum+tcp://mint.bitminter.com:3333 status: ALIVE

09/16/13 16:22:58 0x0fcc DBG displayMinerInfoObject(): pool 3, url: stratum+tcp://stratum2.bitparking.com:3333 status: ALIVE

09/16/13 16:22:58 0x0fcc DBG displayMinerInfoObject(): pool 4, url: stratum+tcp://mmpool.bitparking.com:3333 status: ALIVE

09/16/13 16:22:58 0x0fcc DBG displayMinerInfoObject(): pool 5, url: stratum+tcp://pool.50btc.com:3333 status: ALIVE

09/16/13 16:22:58 0x0fcc DBG displayMinerInfoObject(): pool 6, url: stratum+tcp://192.168.44.8:3333 status: ALIVE

09/16/13 16:22:58 0x0fcc DBG displayMinerInfoObject(): pool 7, url: stratum+tcp://eustratum.ozco.in:3333 status: ALIVE

09/16/13 16:22:58 0x0fcc DBG displayMinerInfoObject(): pool 8, url: stratum+tcp://stratum.bitcoin.cz:3333 status: ALIVE

09/16/13 16:22:58 0x0fcc DBG displayMinerInfoObject(): pool 9, url: stratum+tcp://pool1.us.multipool.us:3333 status: ALIVE

09/16/13 16:23:58 0x0fcc DBG minerApiThread(): woke up; checking miner status...

09/16/13 16:23:58 0x0fcc DBG parseGPUSummary(): buf: {"STATUS":[{"STATUS":"S","When":1379337838,"Code":11,"Msg":"Summary","Description":"cgminer 3.4.3"}],"SUMMARY":[{"Elapsed":237,"MHS av":60083.68,"Found Blocks":0,"Getworks":22,"Accepted":104,"Rejected":3,"Hardware Errors":100,"Utility":26.36,"Discarded":19,"Stale":0,"Get Failures":0,"Local Work":3386,"Remote Failures":0,"Network Blocks":3,"Total MH":14220636.7171,"Work Utility":832.51,"Difficulty Accepted":3328.00000000,"Difficulty Rejected":96.00000000,"Difficulty Stale":0.00000000,"Best Share":2703,"Device Hardware%":2.9551,"Device Rejected%":2.9233,"Pool Rejected%":2.8037,"Pool Stale%":0.0000}],"id":1}

09/16/13 16:23:58 0x0fcc DBG fetchMinerInfo(): target difficulty: 112628548.666347 (112.63M)

09/16/13 16:23:58 0x0fcc DBG displayMinerInfoObject(): status: NOT CONNECTED, gpus: 0, pgas: 0, a: 104, gw: 22, avg: 60083.68, hw: 100, since: 09/16/2013 16:20:01, u: 26.36, ver: 3.4.3, days: 0, hrs: 0, min: 3, secs: 57, found blocks: 0

09/16/13 16:23:58 0x0fcc DBG displayMinerInfoObject(): pool 0, url: stratum+tcp://eu-stratum.btcguild.com:3333 status: ALIVE

09/16/13 16:23:58 0x0fcc DBG displayMinerInfoObject(): pool 1, url: stratum+tcp://stratum.btcguild.com:3333 status: ALIVE

09/16/13 16:23:58 0x0fcc DBG displayMinerInfoObject(): pool 2, url: stratum+tcp://mint.bitminter.com:3333 status: ALIVE

09/16/13 16:23:58 0x0fcc DBG displayMinerInfoObject(): pool 3, url: stratum+tcp://stratum2.bitparking.com:3333 status: ALIVE

09/16/13 16:23:58 0x0fcc DBG displayMinerInfoObject(): pool 4, url: stratum+tcp://mmpool.bitparking.com:3333 status: ALIVE

09/16/13 16:23:58 0x0fcc DBG displayMinerInfoObject(): pool 5, url: stratum+tcp://pool.50btc.com:3333 status: ALIVE

09/16/13 16:23:58 0x0fcc DBG displayMinerInfoObject(): pool 6, url: stratum+tcp://192.168.44.8:3333 status: ALIVE

09/16/13 16:23:58 0x0fcc DBG displayMinerInfoObject(): pool 7, url: stratum+tcp://eustratum.ozco.in:3333 status: ALIVE

09/16/13 16:23:58 0x0fcc DBG displayMinerInfoObject(): pool 8, url: stratum+tcp://stratum.bitcoin.cz:3333 status: ALIVE

09/16/13 16:23:58 0x0fcc DBG displayMinerInfoObject(): pool 9, url: stratum+tcp://pool1.us.multipool.us:3333 status: ALIVE

09/16/13 16:24:27 0x0a04 SVR monitorThread(): wdog has been in NOT CONNECTED state for longer than 2 minutes, restarting miner...timePeriod: 150.000000

09/16/13 16:24:27 0x0a04 SVR restartMiner(): killing miner process: 2956

09/16/13 16:24:27 0x0a04 SVR killProcessByID(2956): process handle: 808, TeminateProcess() returned rc: 1

09/16/13 16:24:27 0x0a04 SVR restartMiner(): sleeping for 15 seconds before restarting a new miner...

09/16/13 16:24:42 0x0a04 INF restartMiner(): ---------------------------------------------

09/16/13 16:24:42 0x0a04 INF restartMiner(): old process ID: 2956

09/16/13 16:24:42 0x0a04 INF restartMiner(): process name: cgminer-nogpu.exe

09/16/13 16:24:42 0x0a04 INF restartMiner(): starting new instance...

09/16/13 16:24:42 0x0a04 INF restartMiner(): command line: start D:\__GPU_ProgramFiles\__Links\_Miner-1\cgminer-asic\cgminer-asic_miner-1__SHA256.lnk

09/16/13 16:24:42 0x0a04 SVR send_smtp_restarted_msg(): sending of email notifications is disabled.

09/16/13 16:24:42 0x0a04 INF restartMiner(): sleeping for 60 seconds...

09/16/13 16:24:53 0x0b3c SVR received 2 signal, exiting...

09/16/13 16:24:53 0x0b3c SVR signalShutdown(): set shutdown event semaphore...

09/16/13 16:24:53 0x0b3c SVR signalShutdown(): waiting for miner api thread to finish...

09/16/13 16:24:53 0x0fcc SVR minerApiThread(): exiting thread: 0x0fcc

09/16/13 16:24:53 0x0b3c SVR signalShutdown(): monitor api thread is no longer running.

09/16/13 16:24:53 0x0b3c SVR signalShutdown(): waiting for miner monitor thread to finish...

09/16/13 16:24:57 0x0630 SVR listenForCommands(): exiting thread: 0x0630

09/16/13 16:24:57 0x0a04 INF restartMiner(): checking if miner is running...

09/16/13 16:24:57 0x0a04 INF restartMiner(): new minerprocess ID: 3760

09/16/13 16:24:57 0x0a04 SVR monitorThread(): exiting thread: 0x0a04

09/16/13 16:24:57 0x0b3c SVR signalShutdown(): monitor thread is no longer running.

09/16/13 16:24:57 0x0b3c SVR signalShutdown(): waiting for API listen thread to finish...

09/16/13 16:24:57 0x0b3c SVR signalShutdown(): api listen thread is no longer running.

09/16/13 16:24:57 0x0b3c SVR signalShutdown(): closing hCgmShutdown handle...

09/16/13 16:24:57 0x0b3c SVR signalShutdown(): closing btcMtx handle...

09/16/13 16:24:57 0x0b3c SVR signalShutdown(): closing ltcMtx handle...

09/16/13 16:24:57 0x0b3c SVR signalShutdown(): closing poolMtx handle...

09/16/13 16:24:57 0x0b3c SVR signalShutdown(): closing gpuMtx handle...

09/16/13 16:24:57 0x0b3c SVR signalShutdown(): closing adlMtx handle...

09/16/13 16:24:57 0x0b3c SVR main(): cleaning up Winsockets...

09/16/13 16:24:57 0x0b3c SVR main(): ----------- Exiting -------------

newbie
Activity: 18
Merit: 0
I can't tune akbash, cgminer and BFLSingle SC 60 Gh/s device to work together.

akbash permanently restarts cgminer after "0x0fe4 SVR main(): unable to retrieve number of devices (GPU/PGA), waiting 60 seconds for miner to initialize..." message.

legendary
Activity: 952
Merit: 1000
Can Akbash be configured to send an email upon a successful block solve? I know a lot of your coding is for GPUs, but I'd love to use this to monitor ASICs while solo mining.
newbie
Activity: 18
Merit: 0
You may see that akbash restart miner and the reason is "miner reported NO change in number of accepted shares (12) in the last 10 minutes; considered SICK ..."

But in 10:57:38 - "Accepted":6
10:58:08 - "Accepted":11
10:58:38 - "Accepted":12

Please help me resolve this problem. Thanks.


Are you running version 1.0.10?  I thought I fixed this issue.
Post your config file (less pool info).

If this is happening using version 1.0.10, it is a bug.

BTW, you can disable the "last accepted shares" check by setting "miner-solo-mining" to 1 in the config file.


Yes, this is 1.0.10

Config from log file:

Quote
07/31/13 15:39:34 0x09c0 SVR main(): ----------- Starting -------------
07/31/13 15:39:34 0x09c0 SVR main(): akbash watchdog ver. 1.0.10 (akbash-gml.conf) - copyright (c) 2012 by Peter Moss
07/31/13 15:39:34 0x09c0 SVR main(): akbash started at: 07/31/2013 15:39:34
07/31/13 15:39:34 0x09c0 SVR main(): akbash exe name: akbash.exe
07/31/13 15:39:34 0x09c0 DBG main(): ---------------------------------
07/31/13 15:39:34 0x09c0 DBG main(): watchdog specific config entries:
07/31/13 15:39:34 0x09c0 DBG main(): ---------------------------------
07/31/13 15:39:34 0x09c0 DBG main(): wdog-logFile: c:\users\User\Documents\akbash\log.txt
07/31/13 15:39:34 0x09c0 DBG main(): wdog-log-file-size: 500000 [bytes]
07/31/13 15:39:34 0x09c0 DBG main(): wdog-log-level: 3
07/31/13 15:39:34 0x09c0 DBG main(): miner-number-of-restarts: 15
07/31/13 15:39:34 0x09c0 DBG main(): miner-alive-timeout: 120 [seconds]
07/31/13 15:39:34 0x09c0 DBG main(): miner-not-connected-timeout: 60 [seconds]
07/31/13 15:39:34 0x09c0 DBG main(): wdog-listen-ip: x.x.x.x
07/31/13 15:39:34 0x09c0 DBG main(): wdog-rig-name: Rig
07/31/13 15:39:34 0x09c0 DBG main(): wdog-listen-port: 80
07/31/13 15:39:34 0x09c0 DBG main(): wdog-disable-remote-api: 0
07/31/13 15:39:34 0x09c0 DBG main(): wdog-disable-remote-help: 0
07/31/13 15:39:34 0x09c0 DBG main(): wdog-disable-remote-restart: 0
07/31/13 15:39:34 0x09c0 DBG main(): wdog-disable-remote-reboot: 0
07/31/13 15:39:34 0x09c0 DBG main(): wdog-disable-remote-getlog: 0
07/31/13 15:39:34 0x09c0 DBG main(): wdog-disable-remote-status: 0
07/31/13 15:39:34 0x09c0 DBG main(): wdog-disable-notification-emails: 0
07/31/13 15:39:34 0x09c0 DBG main(): wdog-disable-status-notifications: 0
07/31/13 15:39:34 0x09c0 DBG main(): wdog-notifications-email-address: [email protected]
07/31/13 15:39:34 0x09c0 DBG main(): wdog-status-notification-frequency: 360 [minutes]
07/31/13 15:39:34 0x09c0 DBG main(): wdog-cutoff-temperature: 86 [deg. C]
07/31/13 15:39:34 0x09c0 DBG main(): wdog-cutoff-temperature-cooldown-period: 5 [minutes]
07/31/13 15:39:34 0x09c0 DBG main(): wdog-disable-hw-monitoring: 0
07/31/13 15:39:34 0x09c0 DBG main(): wdog-hw-monitoring-interval: 60 [seconds]
07/31/13 15:39:34 0x09c0 DBG main(): wdog-gpu-utilization-threshold: 20 [%]
07/31/13 15:39:34 0x09c0 DBG main(): wdog-gpu-utilization-timeout: 100 [seconds]
07/31/13 15:39:34 0x09c0 DBG main(): ------------------------------
07/31/13 15:39:34 0x09c0 DBG main(): miner specific config entries:
07/31/13 15:39:34 0x09c0 DBG main(): ------------------------------
07/31/13 15:39:34 0x09c0 DBG main(): miner-exe-full-path: c:\Users\user\Desktop\start-gml.lnk
07/31/13 15:39:34 0x09c0 DBG main(): miner-exe-name: cgminer.exe
07/31/13 15:39:34 0x09c0 DBG main(): miner-init-interval: 30 [seconds]
07/31/13 15:39:34 0x09c0 DBG main(): miner-gpu-avg-rate-threshold: 0.10 [Mh/s]
07/31/13 15:39:34 0x09c0 DBG main(): miner-pga-avg-rate-threshold: 0.00 [Mh/s]
07/31/13 15:39:34 0x09c0 DBG main(): miner-working-set-threshold: 904 [MB]
07/31/13 15:39:34 0x09c0 DBG main(): miner-handle-count-threshold: 15000 [open handles]
07/31/13 15:39:34 0x09c0 DBG main(): miner-api-poll-interval: 30 [seconds]
07/31/13 15:39:34 0x09c0 DBG main(): miner-hw-errors-threshold: 1000 [h/w errors]
07/31/13 15:39:34 0x09c0 DBG main(): miner-listen-ip: 127.0.0.1
07/31/13 15:39:34 0x09c0 DBG main(): miner-listen-port: 4033
07/31/13 15:39:34 0x09c0 DBG main(): miner-solo-mining: 0
07/31/13 15:39:34 0x09c0 DBG main(): miner-notify-when-block-found: 0
07/31/13 15:39:34 0x09c0 DBG main(): --------------------
07/31/13 15:39:34 0x09c0 DBG main(): Smart Metering entries:
07/31/13 15:39:34 0x09c0 DBG main(): -----------------------
07/31/13 15:39:34 0x09c0 DBG main(): smart-metering-disable: 1
07/31/13 15:39:34 0x09c0 DBG main(): smart-metering-polling-interval: 0
07/31/13 15:39:34 0x09c0 DBG main(): smart-metering-on-peak-start-time: 00:00
07/31/13 15:39:34 0x09c0 DBG main(): smart-metering-off-peak-start-time: 00:00
07/31/13 15:39:34 0x09c0 DBG main(): smart-metering-on-peak-shutdown: 0
07/31/13 15:39:34 0x09c0 DBG main(): smart-metering-on-peak-disable-gpus: 0
07/31/13 15:39:34 0x09c0 DBG main(): ---------------------------------
newbie
Activity: 18
Merit: 0
 Hello.
Thank you for that software.
I setup it on the windows 7 x64 with 7950 and everything work ok.
But when i try install it on other windows 7 x64 with 7750 - something wrong.
This is the part of log.txt

Quote
07/31/13 10:57:15 0x0d8c INF adlPollingThread(): woke up, time to check ADL library

07/31/13 10:57:15 0x0d8c DBG adl_open(): atiadlxy.dll loaded ok

07/31/13 10:57:15 0x0d8c DBG refreshADLInfo(): reading temperature, fan speed and gpu utilization...

07/31/13 10:57:15 0x0d8c ERR refreshADLInfo(): failed to read fan speed on gpu: 0, bus: 11, index: 0, id: 52201152, ADL rc: -1

07/31/13 10:57:15 0x0d8c ERR refreshADLInfo(): failed to read fan speed on gpu: 0, bus: 11, index: 1, id: 52201152, ADL rc: -1

07/31/13 10:57:15 0x0d8c ERR refreshADLInfo(): failed to read fan speed on gpu: 0, bus: 11, index: 2, id: 52201152, ADL rc: -1

07/31/13 10:57:15 0x0d8c ERR refreshADLInfo(): failed to read fan speed on gpu: 0, bus: 11, index: 3, id: 52201152, ADL rc: -1

07/31/13 10:57:15 0x0d8c ERR refreshADLInfo(): failed to read fan speed on gpu: 0, bus: 11, index: 4, id: 52201152, ADL rc: -1

07/31/13 10:57:15 0x0d8c ERR refreshADLInfo(): failed to read fan speed on gpu: 0, bus: 11, index: 5, id: 52201152, ADL rc: -1

07/31/13 10:57:15 0x0d8c INF refreshADLInfo(): min GPU utilization: 99%, max GPU temperature: 63C

07/31/13 10:57:15 0x0d8c DBG adlPollingThread(): ADL H/W reading done, status: ADL_STATUS_CLOSED

07/31/13 10:57:38 0x093c DBG minerApiThread(): woke up; checking miner status...

07/31/13 10:57:38 0x093c DBG parseGPUSummary(): buf: {"STATUS":[{"STATUS":"S","When":1375253858,"Code":11,"Msg":"Summary","Description":"cgminer 3.3.1"}],"SUMMARY":[{"Elapsed":112,"MHS av":0.14,"Found Blocks":0,"Getworks":5,"Accepted":6,"Rejected":0,"Hardware Errors":0,"Utility":3.23,"Discarded":4,"Stale":0,"Get Failures":0,"Local Work":18,"Remote Failures":0,"Network Blocks":1,"Total MH":15.9089,"Work Utility":126.44,"Difficulty Accepted":224.00000000,"Difficulty Rejected":0.00000000,"Difficulty Stale":0.00000000,"Best Share":1658}],"id":1}

07/31/13 10:57:38 0x093c DBG minerApiThread(): miner status: ALIVE

07/31/13 10:57:43 0x1364 DBG monitorThread(): max gpu temperature (63C) stays below defined threshold (86C)

07/31/13 10:57:43 0x1364 DBG monitorThread(): all GPU fans appear to be functional

07/31/13 10:57:43 0x1364 DBG monitorThread(): GPU (lowest) mining utilization: 99% is higher than threshold: 20%

07/31/13 10:58:08 0x093c DBG minerApiThread(): woke up; checking miner status...

07/31/13 10:58:08 0x093c DBG parseGPUSummary(): buf: {"STATUS":[{"STATUS":"S","When":1375253888,"Code":11,"Msg":"Summary","Description":"cgminer 3.3.1"}],"SUMMARY":[{"Elapsed":142,"MHS av":0.14,"Found Blocks":0,"Getworks":6,"Accepted":11,"Rejected":0,"Hardware Errors":0,"Utility":4.65,"Discarded":6,"Stale":0,"Get Failures":0,"Local Work":22,"Remote Failures":0,"Network Blocks":1,"Total MH":20.2035,"Work Utility":155.55,"Difficulty Accepted":384.00000000,"Difficulty Rejected":0.00000000,"Difficulty Stale":0.00000000,"Best Share":1658}],"id":1}

07/31/13 10:58:08 0x093c DBG minerApiThread(): miner status: ALIVE

07/31/13 10:58:13 0x1364 DBG monitorThread(): max gpu temperature (63C) stays below defined threshold (86C)

07/31/13 10:58:13 0x1364 DBG monitorThread(): all GPU fans appear to be functional

07/31/13 10:58:13 0x1364 DBG monitorThread(): GPU (lowest) mining utilization: 99% is higher than threshold: 20%

07/31/13 10:58:15 0x0d8c INF adlPollingThread(): woke up, time to check ADL library

07/31/13 10:58:15 0x0d8c DBG adl_open(): atiadlxy.dll loaded ok

07/31/13 10:58:15 0x0d8c DBG refreshADLInfo(): reading temperature, fan speed and gpu utilization...

07/31/13 10:58:15 0x0d8c ERR refreshADLInfo(): failed to read fan speed on gpu: 0, bus: 11, index: 0, id: 52201152, ADL rc: -1

07/31/13 10:58:15 0x0d8c ERR refreshADLInfo(): failed to read fan speed on gpu: 0, bus: 11, index: 1, id: 52201152, ADL rc: -1

07/31/13 10:58:15 0x0d8c ERR refreshADLInfo(): failed to read fan speed on gpu: 0, bus: 11, index: 2, id: 52201152, ADL rc: -1

07/31/13 10:58:15 0x0d8c ERR refreshADLInfo(): failed to read fan speed on gpu: 0, bus: 11, index: 3, id: 52201152, ADL rc: -1

07/31/13 10:58:15 0x0d8c ERR refreshADLInfo(): failed to read fan speed on gpu: 0, bus: 11, index: 4, id: 52201152, ADL rc: -1

07/31/13 10:58:15 0x0d8c ERR refreshADLInfo(): failed to read fan speed on gpu: 0, bus: 11, index: 5, id: 52201152, ADL rc: -1

07/31/13 10:58:15 0x0d8c INF refreshADLInfo(): min GPU utilization: 99%, max GPU temperature: 65C

07/31/13 10:58:15 0x0d8c DBG adlPollingThread(): ADL H/W reading done, status: ADL_STATUS_CLOSED

07/31/13 10:58:38 0x093c DBG minerApiThread(): woke up; checking miner status...

07/31/13 10:58:38 0x093c DBG parseGPUSummary(): buf: {"STATUS":[{"STATUS":"S","When":1375253918,"Code":11,"Msg":"Summary","Description":"cgminer 3.3.1"}],"SUMMARY":[{"Elapsed":172,"MHS av":0.14,"Found Blocks":0,"Getworks":6,"Accepted":12,"Rejected":0,"Hardware Errors":0,"Utility":4.18,"Discarded":6,"Stale":0,"Get Failures":0,"Local Work":24,"Remote Failures":0,"Network Blocks":1,"Total MH":24.3610,"Work Utility":146.52,"Difficulty Accepted":416.00000000,"Difficulty Rejected":0.00000000,"Difficulty Stale":0.00000000,"Best Share":1658}],"id":1}

07/31/13 10:58:38 0x093c DBG minerApiThread(): miner status: ALIVE

07/31/13 10:58:44 0x1364 DBG monitorThread(): max gpu temperature (65C) stays below defined threshold (86C)

07/31/13 10:58:44 0x1364 DBG monitorThread(): all GPU fans appear to be functional

07/31/13 10:58:44 0x1364 DBG monitorThread(): GPU (lowest) mining utilization: 99% is higher than threshold: 20%

07/31/13 10:58:44 0x1364 SVR monitorThread(): miner reported NO change in number of accepted shares (12) in the last 10 minutes; considered SICK ...

07/31/13 10:58:44 0x1364 SVR restartMiner(): killing miner process: 2084

07/31/13 10:58:44 0x1364 SVR killProcessByID(2084): process handle: 1656, TeminateProcess() returned rc: 1

07/31/13 10:58:44 0x1364 SVR restartMiner(): sleeping for 15 seconds before restarting a new miner...

07/31/13 10:58:59 0x1364 INF restartMiner(): ---------------------------------------------

07/31/13 10:58:59 0x1364 INF restartMiner(): old process ID: 2084

07/31/13 10:58:59 0x1364 INF restartMiner(): process name: cgminer.exe

07/31/13 10:58:59 0x1364 INF restartMiner(): starting new instance...

07/31/13 10:58:59 0x1364 INF restartMiner(): command line: start c:\Users\Albert\Desktop\start-gml.lnk

07/31/13 10:58:59 0x1364 INF send_smtp_restarted_msg(): attempting to send 'miner restarted' email notification.

07/31/13 10:58:59 0x1364 INF restartMiner(): sleeping for 30 seconds...


You may see that akbash restart miner and the reason is "miner reported NO change in number of accepted shares (12) in the last 10 minutes; considered SICK ..."

But in 10:57:38 - "Accepted":6
10:58:08 - "Accepted":11
10:58:38 - "Accepted":12

Please help me resolve this problem. Thanks.
newbie
Activity: 2
Merit: 0
I'm on Comcast/Xfinity as my internet provider. They block port 25, so Akbash can't send email. Changing internet providers is not currently a reasonable option for me. If Akbash could send email via SMTP through port 587 then the email function would work for me.  Please add an option to allow choice of which port to send email.

Thanks so much for an awesome tool!
legendary
Activity: 952
Merit: 1000
Using Akbash on Win PE, and it's working great. Thanks for all your hard work!
newbie
Activity: 15
Merit: 0
I am running akbash since I started mining.
During the trial and error of selecting components of my system, akbash was reporting what is wrong remotely via e-mail.
It is an indispensable tool.

I am looking forward to try new version.

Thanks af_newbie!
hero member
Activity: 714
Merit: 500
af i installed the script on 3 machines to test it out. So far it works great
There are 2 things i was wondering:

1. how i can centrally see all my machines. I have 15 machines in a remote location pulling data... I need to somehow centralize that data and be able to see from Home if i have any issues with my miners
2. Can you make it that you don't specify the BAT/lnk file to your cgminer cfg in the akbash cfg? For example it would be perfect if you could specify the cfg in the run command of akbash (akbash.exe ltc.conf -cfg xxxx.bat). This way LTC hashers can switch pools/coins easier instead of changing the cfg location in your script every time they chagen pools.

Thanks
sr. member
Activity: 378
Merit: 250
Or, if you want to just use batchfiles, this works to restart dead cards:

https://bitcointalksearch.org/topic/m.2298064
newbie
Activity: 33
Merit: 0
Im not sleep 2 days,and steal dont now hot to start this program
Anyone help,user gauide for dump me : )
full member
Activity: 158
Merit: 100
Hi af_newbie,

Thanks for this good software!

Im testing this one, to install on my 24 cluster of 4x7970!

I will post, if i find anything helpful,

Thanks, and kept the good work!
legendary
Activity: 922
Merit: 1003
...
   - project has been released as an open source under GNU General Public License Version 3 or later
...
I was waiting for this since the OP, over a year ago. A long wait, but glad to see.
newbie
Activity: 36
Merit: 0
Interested in using this on my LTC miner, looks very promising.

Wondering if the kH/s vs. MH/s issue is a problem with LTC.

For example, you monitor MH/s and restart if it is below a given threshold with:

"miner-gpu-avg-rate-threshold" : "450",

My 7950 hashes between 500-650 kH/s so a setting of 450 kH/s as a threshold might work, so would I set the value to:

"miner-gpu-avg-rate-threshold" : "0.450",

Any other adjustments needed for scrypt mining?

Thanks,
member
Activity: 63
Merit: 10
I'm interested in using akbash to monitor cgminer while mining litecoins; it looks like a great program. However, I get the following every time I use it:

04/11/13 18:03:12 0x1558 INF main(): checking miner status...
04/11/13 18:03:12 0x1558 ERR net_recvBytes(): WSARecv failed with error: 10053
04/11/13 18:03:12 0x1558 ERR sendCommand(): net_recvBytes() failed: -11
04/11/13 18:03:12 0x1558 ERR net_recvBytes(): WSARecv failed with error: 10053
04/11/13 18:03:12 0x1558 ERR sendCommand(): net_recvBytes() failed: -11
04/11/13 18:03:12 0x1558 ERR net_recvBytes(): WSARecv failed with error: 10053
04/11/13 18:03:12 0x1558 ERR sendCommand(): net_recvBytes() failed: -11
04/11/13 18:03:12 0x1558 SVR main(): unable to retrieve number of devices (GPU/PGA), waiting 30 seconds for

Akbash starts properly, detects that cgminer isn't running, properly starts cgminer up, but then this happens - looks like it's unable to properly communicate with cgminer. Akbash then kills cgminer, starts up a new instance, and the whole thing repeats.

I have the following in my cgminer startup script:

--api-listen --api-allow -W:127.0.0.1 --api-network

Anyone have any ideas what might be causing the problem? Is it because I'm using the --scrypt option to mine litecoins? I know this was intended as a monitor for bitcoin mining, but the cgminer output is pretty much the same...

Thanks!
hero member
Activity: 938
Merit: 501
hero member
Activity: 826
Merit: 500
My akbash install(s) stopped sending emails about a month ago. On rare occasions, one email might slip through. 99% of them don't seem to get sent at all.

The error is "unable to receive 250 response after sending of message body, rc: 550"

I think my cable provider marked me as a spammer. I've tried yahoo and live.com email addresses with the same result. If this is the problem, I can send emails through port 587 but not port 25. Is there a way to configure this on akbash?
http://help.rr.com/hmsfaqs/e_outboundPort25.aspx

Call up your cable provider and ask if they are blocking Port 25, or Flagged you.(You will have to get to level 2 tech support or higher)

I've have this problem in the pass with different ISPs. One I was able to unblock my port, One told me they wouldn't do it and I don't them to cancel my service lol

If memory serves me correctly Port 465 is used when SSL is enabled so that may be another option.





Small List of providers that Block

AT&T (can be unblocked at the request)

MindSpring

BellSouth

MSN

CableOne

NetZero

Charter

People PC

Comcast ATTBI

Sprynet

Cox

Sympatico.ca

EarthLink

Verio

Flashnet

Verizon

MediaOne

 

newbie
Activity: 59
Merit: 0
My akbash install(s) stopped sending emails about a month ago. On rare occasions, one email might slip through. 99% of them don't seem to get sent at all.

The error is "unable to receive 250 response after sending of message body, rc: 550"


09/15/12 14:17:40 0x2d9c DBG sendEmailThread(): connected to email server for domain: 'gmail.com' waiting for 220 respon
se...
09/15/12 14:17:40 0x2d9c DBG sendEmailThread(): received 220 response. Sending EHLO Mike-PC command.
09/15/12 14:17:40 0x2d9c DBG sendEmailThread(): received 250 response. Sending MAIL FROM: <[email protected]> comman
d.
09/15/12 14:17:40 0x2d9c DBG sendEmailThread(): received 250 response. Sending RCPT TO:<[email protected]> command.
09/15/12 14:17:41 0x2d9c DBG sendEmailThread(): received 250 response. Sending DATA command.
09/15/12 14:17:41 0x2d9c DBG sendEmailThread(): received 354 response. Sending email headers and body.
09/15/12 14:17:41 0x2d9c DBG sendEmailThread(): received 354 response. Sending email headers and body. len: 997
09/15/12 14:17:41 0x2d9c SVR sendEmailThread(): unable to receive 250 response after sending of message body, rc: 550
09/15/12 14:17:41 0x2d9c INF sendEmailThread(): closing connection.
09/15/12 14:17:41 0x2d9c INF sendEmailThread(): exiting email thread: 0x2d9c

I think my cable provider marked me as a spammer. I've tried yahoo and live.com email addresses with the same result. If this is the problem, I can send emails through port 587 but not port 25. Is there a way to configure this on akbash?
http://help.rr.com/hmsfaqs/e_outboundPort25.aspx
hero member
Activity: 535
Merit: 500
This looks great and I'd like to set it up. Can anyone point to a guide ?
member
Activity: 70
Merit: 10
I installed Akbash 1.0.6 on a windows 7 machine and i'm not able to determine why it won't run. When I click on the executable I see a DOS like window appear for a split second and then the application ends. I've checked the task manager and I don't see it running in the background. The path in configure file is set for the log file but the log file does not get generated.

Any have any suggestions?

Thanks
hero member
Activity: 826
Merit: 500
A tip for anyone using akbash and gmail.
the emails from akbash were getting marked as spam, you have to create a filter saying if email is from your email address do not make as spam.

also I was playing around with "wdog-list-ip" because it is used in the title of the emails that are sent to you.
I was playing around with setting it too a non IP address IE "Mining Rig 5" or "Mining.Rig.5.com"
it sends the email with the new Title on it but then crashes, not surprised because i'm giving it an invalid variable.
is there anyway I could disabled the remote status function and still allow it to use that computer name instead of the ip address for emails only.

I know my mining rigs are 192.168.11.50,.55,.60,.65 etc.

But when I go to my rack it make is easy to get an email saying rig 5 is down not 192.168.11.65.

So far Im pretty impressed with it.
NLA
member
Activity: 86
Merit: 10
How does I shot web?
- Support .bat as well as .lnk for launching cgminer?

   It should be supported now.  Let me know if it does not work for you.  Lnk is just an example of how to wrap a long command line, set working directory etc.
Ah, I just tried it and it works. I swear I tried it before and it didn't work, must be my mistake.

- Support attempting to reset network adapters before resorting to rebooting Windows?

   Not sure how this would help.  Would need more info on the kind of problems you are experiencing. I could enable/disable network devices, but if your router is a toast, it is kinda beyond akbash reach.
Well, its an oddball issue with Windows Vista and 7 (maybe XP?) that some people are aware of, and some people aren't, so I'm not surprised you haven't run into it before. Microsoft reps have stated they've fixed the issue before, etc., but the problem still exists: the network adapter just stops working, and network access is lost unless the network adapter is disabled and re-enabled in Windows. After that, it works again just fine (until it stops working again). So it would be a good check to try disabling/re-enabling all network adapters before restarting Windows. I believe this can be done with a simple command in the command prompt, so you should be able to implement this fairly easily.

- Enable/Disable email status updates option, instead of "set it to infinity minutes" work-around?

   Already done in version 1.0.6
Ah, I see it. It was kinda hidden in this big list of very-long-named options. Why not shorten the listen down to more simple terms, ie.

STRING "email-address", what email address to send to
BOOL "email-status", INT "email-status-interval", to email regular status updates
BOOL "email-OS-reboot", to email on OS reboot
BOOL "email-miner-reboot", to email on miner reboot

If email-address is empty or not valid, ignore values of other options. Simple, to-the-point, conveys meaning, easy-to-read, takes up little space. Same goes for all the other options in the config file.

- Email a portion of the akbash log as an attachment in emails?

   How many "last bytes"?  Configurable?  The whole log?  Attachments, means MIME (multipart) etc.  Not sure if I want to get into this.
   Maybe last 2000 bytes sent only when a serious problem occurs?  Not sure, have to think about this one some more.
However many entries since the last one or two times that akbash was started, up to X number of kilobytes. Also, while we're at it, it would be great if akbash could have the option of splitting up the log files each time akbash is started and starts logging (ie. akbash_log.001.txt, akbash_log.002.txt, etc). Maybe even include the last Y number of logs with the email, maybe as a ZIP?


== BUG ==

Also, I've found a bug with akbash: will improperly detect GPU usage (somehow), misinterpret as 0% and restart the miner. I know it's a bug because I'm monitoring GPU usage with MSI Afterburner, and because the miner hash rate is fine all throughout the timeout period.
sr. member
Activity: 446
Merit: 250
Program seems to work alright, but every now and then I do experience some crashing that akbash doesn't help with. But otherwise the program is fantastic. Are you in the market for some critique/feature requests?

  • Yahoo is terrible (no forwarding/pop features for new users, messages occasionally make it through but many do not), can you add proper support for GMail?
  • Include FAQ with akbash download, as a readme (which it is)?
  • Support .bat as well as .lnk for launching cgminer?
  • Support attempting to reset network adapters before resorting to rebooting Windows?
  • Enable/Disable email status updates option, instead of "set it to infinity minutes" work-around?
  • Open source! Cheesy
  • Make the akbash output text more human readable?
  • Email a portion of the akbash log as an attachment in emails?

Hell, with just better email support I'd donate some coin your way.

Thanks.  Could you post more details of cgminer crashes that akbash does not detect.  cgminer/akbash config files?

regarding your list:

- Yahoo is terrible (no forwarding/pop features for new users, messages occasionally make it through but many do not), can you add proper support for GMail?

   I'll try to add/test with GMail in the next version.  I hate google, but most people like the co.  So sure, I can support it.

- Include FAQ with akbash download, as a readme (which it is)?

   We'll do.

- Support .bat as well as .lnk for launching cgminer?

   It should be supported now.  Let me know if it does not work for you.  Lnk is just an example of how to wrap a long command line, set working directory etc.

 - Support attempting to reset network adapters before resorting to rebooting Windows?

   Not sure how this would help.  Would need more info on the kind of problems you are experiencing. I could enable/disable network devices, but if your router is a toast, it is kinda beyond akbash reach.

 - Enable/Disable email status updates option, instead of "set it to infinity minutes" work-around?

   Already done in version 1.0.6

 - Open source! Cheesy

  For now, it is not an open source.  I don't see any reason why it would help anything.

 - Make the akbash output text more human readable?
 
  Need some examples.  The logs are programmer's logs. You can disable debug/verbose logs by pressing 0 or 1 (or change logging level in the config file).

 - Email a portion of the akbash log as an attachment in emails?

   How many "last bytes"?  Configurable?  The whole log?  Attachments, means MIME (multipart) etc.  Not sure if I want to get into this.
   Maybe last 2000 bytes sent only when a serious problem occurs?  Not sure, have to think about this one some more.



Most all of that sounds great. Looking forward to the next release.

NLA
member
Activity: 86
Merit: 10
How does I shot web?
Program seems to work alright, but every now and then I do experience some crashing that akbash doesn't help with. But otherwise the program is fantastic. Are you in the market for some critique/feature requests?

  • Yahoo is terrible (no forwarding/pop features for new users, messages occasionally make it through but many do not), can you add proper support for GMail?
  • Include FAQ with akbash download, as a readme (which it is)?
  • Support .bat as well as .lnk for launching cgminer?
  • Support attempting to reset network adapters before resorting to rebooting Windows?
  • Enable/Disable email status updates option, instead of "set it to infinity minutes" work-around?
  • Open source! Cheesy
  • Make the akbash output text more human readable?
  • Email a portion of the akbash log as an attachment in emails?

Hell, with just better email support I'd donate some coin your way.
sr. member
Activity: 446
Merit: 250

FYI.  cgminer 2.4.1 changed text for the current MH/s field  for BFL Singles when the units go offline.  The field will state 'OFF'.

If you wouldn't mind updating the hw watchdog to cycle cgminer in the specific case if each miner unit reports 'OFF'.

That would help since there is an issue with cgminer and BFL singles where all the singles lose comms after a few hours.

I can't reliably use the pga avg utilization monitor to detect this condition since too high a setting will cycle cgminer when work restarts occur early on in the process lifetime.  If the process lifetime is long then it takes too long for avg utilization to come down.  At that point it could take tens of minutes for the wdog to detect an issue and cycle cgminer.

I second this although I don't have my singles losing COM with gcminer. I did one time get the OFF reported and being able to have cgminer restart in that condition would be a great benefit.
sr. member
Activity: 252
Merit: 250
Inactive

FYI.  cgminer 2.4.1 changed text for the current MH/s field  for BFL Singles when the units go offline.  The field will state 'OFF'.

If you wouldn't mind updating the hw watchdog to cycle cgminer in the specific case if each miner unit reports 'OFF'.

That would help since there is an issue with cgminer and BFL singles where all the singles lose comms after a few hours.

I can't reliably use the pga avg utilization monitor to detect this condition since too high a setting will cycle cgminer when work restarts occur early on in the process lifetime.  If the process lifetime is long then it takes too long for avg utilization to come down.  At that point it could take tens of minutes for the wdog to detect an issue and cycle cgminer.
hero member
Activity: 658
Merit: 500
Is there a way to configure to only email when/if a miner is rebooted or system restarted?  I could care less about all the other stuff it just fills up my mailbox and I have to filter it.
sr. member
Activity: 446
Merit: 250
Will it work with the GPUMAX API?

full member
Activity: 173
Merit: 100
Anybody got Akbash working with Eclipse? I can't get it to display pool info. I can't find the total hash rate of my workers, only the individual hash rates of each workers are shown in the user stats of the API. Same as the stales and invalids.
sr. member
Activity: 252
Merit: 250
Inactive


Having problems getting akbash to connect and relay through the SMTP servers.

rc:  421
donator
Activity: 1218
Merit: 1079
Gerald Davis
As a potential user I would prefer software which uses the API.  If the rig becomes unstable having multiple components talking to the driver makes troubleshooting more difficult and honestly I would just uninstall anything I don't need.

Is there a good reason to not use the API?  I mean cgminer is already doing the polling (and won't stop even if you do it directly) why not just piggyback off of its data?  Plus for things like a hang w/ activity the drivers will still show load.  How are you going to detect that?  cgminer detects it because the GPU fails to respond to the next load.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I guess reading a value off is not likely to cause a problem, whereas updating it concurrently would. There is no locking around calls to ADL since it just hooks into the functions directly in the driver.
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
I'll be moving akbash away from cgminer/bfgminer APIs and poke ADL/driver directly to sense miner activity.  
Crashes will be detected through debug events in addition to polling and enumerating of processes.  
Little heads up: Poking ADL concurrently from two applications can and will lead to crashes.
Never had such a problem. Ran my ADL app side by side with cgminer for days and days and never once had a crash.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I'll be moving akbash away from cgminer/bfgminer APIs and poke ADL/driver directly to sense miner activity.  
Crashes will be detected through debug events in addition to polling and enumerating of processes.  
Little heads up: Poking ADL concurrently from two applications can and will lead to crashes.
hero member
Activity: 658
Merit: 500
I have a vbs script that calls CG-WD as a scheduled task at logon.

Quote
Set WinScriptHost = CreateObject("WScript.Shell")
WinScriptHost.Run Chr(34) & "C:\cgminer\cgminer-wdog\cgm-wdog.bat" & Chr(34), 0
Set WinScriptHost = Nothing

That hides the window. The cgminer.lnk also calls the same vbscript that hides the cgminer window.

So far working pretty good.
hero member
Activity: 658
Merit: 500
This looks pretty neat. How about programming in hooks so it can be run/installed as a service?

dropped you a couple coins. thanks.
sr. member
Activity: 381
Merit: 250
has anyone tried/tested this on XP?

Sigg
full member
Activity: 186
Merit: 100
Quote
That feature did not work for me. And I don't need throttling, but disabling the thread.

Yeah, pretty much...

I've read the cgminer thread and ckolivas acknowledged there have been some problems with the implementation of the thermal control feature, namely the stopping and restarting the mining thread... I guess it will be fixed in a couple of next commits, though.
sr. member
Activity: 252
Merit: 250
Inactive
donator
Activity: 1218
Merit: 1079
Gerald Davis
This sound a bit like my temp monitor. I wrote it with cgminer's API in mind, killing the mining thread(process on failure) via the API should the GPU overheat. Saved me multiple times.

Doesn't cgminer throttle and shutdown the GPU on overheat itself?
That feature did not work for me. And I don't need throttling, but disabling the thread.

"Throttle and shutdown".

cgminer has 3 temp values.
target - temps above target throttles clock
overheat - temps above overheat drops clock to minimum defined (or stock if not defined) and puts fan at 100%.
shutdown - cgminer idles GPU thread (shows as "REST" or "OFF").
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
This sound a bit like my temp monitor. I wrote it with cgminer's API in mind, killing the mining thread(process on failure) via the API should the GPU overheat. Saved me multiple times.

Doesn't cgminer throttle and shutdown the GPU on overheat itself?
That feature did not work for me. And I don't need throttling, but disabling the thread.
full member
Activity: 180
Merit: 100
Awesome. I have 33 gpus across 12 rigs all running cgminer. Anubis makes keeping an eye on them much easier, but this will minimize my downtime for when I am sleeping and working. I'll test this out this weekend.

Running Armory using the cold storage feature makes getting rootkitted a mere annoyance Wink (not that I think there is any maliciousness here)
full member
Activity: 186
Merit: 100
This sound a bit like my temp monitor. I wrote it with cgminer's API in mind, killing the mining thread(process on failure) via the API should the GPU overheat. Saved me multiple times.

Doesn't cgminer throttle and shutdown the GPU on overheat itself?
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
This sound a bit like my temp monitor. I wrote it with cgminer's API in mind, killing the mining thread(process on failure) via the API should the GPU overheat. Saved me multiple times.
legendary
Activity: 2058
Merit: 1431
I have uploaded a new version 1.0.0.1. Added some cosmetic changes...

Next version will have the following features:

  - email notifications to be sent when triggers are met (enabled/disabled via config file)
  - integration of pool APIs into status page, showing balance BTC, stales, efficiency etc.
  - digital signature for the executable

nope

BD2A8BB3067E21CF5997B56CF7CB9534EBE39639
donator
Activity: 1218
Merit: 1079
Gerald Davis
Interesting but as indicated no source = too risky.
legendary
Activity: 1795
Merit: 1198
This is not OK.
Also, add recording of the various parameters to a database like mysql or sqlite etc. Then I can read this data back and display it in Anubis as graphs Smiley
legendary
Activity: 922
Merit: 1003
This is an interesting development but unless it is open-source (or until you build up rep) you may have trouble instilling enough trust/confidence to get much uptake. 

Do you really expect someone to blindly run your program when, for all we know, it may be installing a rootkit, malware, a keylogger, deleting 'wallet.dat', or performing a 'format c:' operation?

I'm not suggesting this is the case, and I am sympathetic to your position, and I would love to try out your program, but this is the unfortunate reality of today's messed up world.
legendary
Activity: 2688
Merit: 1468
Jump to: