Pages:
Author

Topic: M's Miner (Ant/SP) Monitor v5.2: alerts,auto/mass/scheduled reboot/mobile miner - page 19. (Read 209561 times)

legendary
Activity: 1540
Merit: 1001
Hello.  That "reboot on failure" option is NOT supposed to be on by default.  Apparently there's a problem somewhere that causes that to turn on of its own accord. Sad  I apologize for that.

As for why one works and one doesn't ... are they using the same firmware?

M
No worries, what's done is done and at least I have learnt from my mistakes and so not set the SSH password, until you find the bug Wink

The firmware is indeed the only difference as 101 is an S3+ and 102 is an older S3 running OpenWrt Barrier Breaker r38031 / LuCI Trunk (svn-r9909) firmware, but I would guess so are many of the older S3 units that are using your code.

Cheers n beers

HPmuirt

Would you please run the "get miner info" button in the latest beta on your non monitorable S3 and PM me the output please?

Download link: MMinerMonitor40ba.zip

M
newbie
Activity: 14
Merit: 0
Hello.  That "reboot on failure" option is NOT supposed to be on by default.  Apparently there's a problem somewhere that causes that to turn on of its own accord. Sad  I apologize for that.

As for why one works and one doesn't ... are they using the same firmware?

M
No worries, what's done is done and at least I have learnt from my mistakes and so not set the SSH password, until you find the bug Wink

The firmware is indeed the only difference as 101 is an S3+ and 102 is an older S3 running OpenWrt Barrier Breaker r38031 / LuCI Trunk (svn-r9909) firmware, but I would guess so are many of the older S3 units that are using your code.

Cheers n beers

HPmuirt
legendary
Activity: 1540
Merit: 1001
Auto reboot went fine as well!   Smiley

Just need to be able to identify S4 and set parameters specific to that model.

It's on my to do list. Smiley

M
member
Activity: 89
Merit: 10
Auto reboot went fine as well!   Smiley

Just need to be able to identify S4 and set parameters specific to that model.
legendary
Activity: 1540
Merit: 1001
member
Activity: 89
Merit: 10
Here's the miner info from one of my S4's.

STATS:
{"STATUS":[{"STATUS":"S","When":1418065091,"Code":70,"Msg":"CGMiner stats","Description":"cgminer 4.6.1"}],"STATS":[{"CGMiner":"4.6.1","Miner":"3.4.3.0","CompileTime":"","Type":""}{"STATS":0,"ID":"BTM0","Elapsed":163672,"Calls":0,"Wait":0.000000,"Max":0.000000,"Min":99999999.000000,"GHS 5s":2251.62,"GHS av":2188.60,"baud":115200,"miner_count":4,"asic_count":8,"timeout":7,"frequency":"218.75","voltage":"0.725","hwv1":3,"hwv2":4,"hwv3":3,"hwv4":0,"fan_num":4,"fan1":3960,"fan2":3960,"fan3":3840,"fan4":3840,"fan5":0,"fan6":0,"fan7":0,"fan8":0,"fan9":0,"fan10":0,"fan11":0,"fan12":0,"fan13":0,"fan14":0,"fan15":0,"fan16":0,"temp_num":4,"temp1":51,"temp2":52,"temp3":52,"temp4":49,"temp5":0,"temp6":0,"temp7":0,"temp8":0,"temp9":0,"temp10":0,"temp11":0,"temp12":0,"temp13":0,"temp14":0,"temp15":0,"temp16":0,"temp_avg":51,"temp_max":52,"Device Hardware%":0.0001,"no_matching_work":84,"chain_acn1":40,"chain_acn2":40,"chain_acn3":40,"chain_acn4":40,"chain_acn5":0,"chain_acn6":0,"chain_acn7":0,"chain_acn8":0,"chain_acn9":0,"chain_acn10":0,"chain_acn11":0,"chain_acn12":0,"chain_acn13":0,"chain_acn14":0,"chain_acn15":0,"chain_acn16":0,"chain_acs1":" oooooooo oooooooo oooooooo oooooooo oooooooo ","chain_acs2":" oooooooo oooooooo oooooooo oooooooo oooooooo ","chain_acs3":" oooooooo oooooooo oooooooo oooooooo oooooooo ","chain_acs4":" oooooooo oooooooo oooooooo oooooooo oooooooo ","chain_acs5":"","chain_acs6":"","chain_acs7":"","chain_acs8":"","chain_acs9":"","chain_acs10":"","chain_acs11":"","chain_acs12":"","chain_acs13":"","chain_acs14":"","chain_acs15":"","chain_acs16":"","USB Pipe":"0"}],"id":1}

POOLS:
{"STATUS":[{"STATUS":"S","When":1418065091,"Code":7,"Msg":"3 Pool(s)","Description":"cgminer 4.6.1"}],"POOLS":[{"POOL":0,"URL":"stratum+tcp://pool.com:3335","Status":"Alive","Priority":0,"Quota":1,"Long Poll":"N","Getworks":17420,"Accepted":39023,"Rejected":1393,"Discarded":190245,"Stale":0,"Get Failures":0,"Remote Failures":0,"User":"user.163","Last Share Time":"0:00:03","Diff":"2.05K","Diff1 Shares":83402560,"Proxy Type":"","Proxy":"","Difficulty Accepted":79919104.00000000,"Difficulty Rejected":2852864.00000000,"Difficulty Stale":0.00000000,"Last Share Difficulty":2048.00000000,"Has Stratum":true,"Stratum Active":true,"Stratum URL":"pool.com","Has GBT":false,"Best Share":0,"Pool Rejected%":3.4467,"Pool Stale%":0.0000},{"POOL":1,"URL":"stratum+tcp://pool.com:3335","Status":"Alive","Priority":1,"Quota":1,"Long Poll":"N","Getworks":1,"Accepted":1,"Rejected":0,"Discarded":0,"Stale":0,"Get Failures":0,"Remote Failures":0,"User":"user.163","Last Share Time":"45:27:53","Diff":"2.05K","Diff1 Shares":128,"Proxy Type":"","Proxy":"","Difficulty Accepted":2048.00000000,"Difficulty Rejected":0.00000000,"Difficulty Stale":0.00000000,"Last Share Difficulty":2048.00000000,"Has Stratum":true,"Stratum Active":false,"Stratum URL":"","Has GBT":false,"Best Share":0,"Pool Rejected%":0.0000,"Pool Stale%":0.0000},{"POOL":2,"URL":"stratum+tcp://pool.com:3333","Status":"Alive","Priority":2,"Quota":1,"Long Poll":"N","Getworks":2,"Accepted":0,"Rejected":0,"Discarded":0,"Stale":0,"Get Failures":0,"Remote Failures":0,"User":"user.163","Last Share Time":"0","Diff":"16","Diff1 Shares":0,"Proxy Type":"","Proxy":"","Difficulty Accepted":0.00000000,"Difficulty Rejected":0.00000000,"Difficulty Stale":0.00000000,"Last Share Difficulty":0.00000000,"Has Stratum":true,"Stratum Active":false,"Stratum URL":"","Has GBT":false,"Best Share":0,"Pool Rejected%":0.0000,"Pool Stale%":0.0000}],"id":1}

SUMMARY:
{"STATUS":[{"STATUS":"S","When":1418065091,"Code":11,"Msg":"Summary","Description":"cgminer 4.6.1"}],"SUMMARY":[{"Elapsed":163672,"GHS 5s":2251.62,"GHS av":2188.60,"Found Blocks":0,"Getworks":17423,"Accepted":39024,"Rejected":1393,"Hardware Errors":84,"Utility":14.31,"Discarded":190245,"Stale":0,"Get Failures":0,"Local Work":111561705,"Remote Failures":0,"Network Blocks":263,"Total MH":358211780173.0000,"Work Utility":30574.35,"Difficulty Accepted":79921152.00000000,"Difficulty Rejected":2852864.00000000,"Difficulty Stale":0.00000000,"Best Share":0,"Device Hardware%":0.0001,"Device Rejected%":3.4206,"Pool Rejected%":3.4466,"Pool Stale%":0.0000,"Last getwork":1418065090}],"id":1}


EDIT:  Currently set as an S2.  Haven't tried auto-reboot yet but it's scheduled to go off in about 3 hours.  I'll let you know how it goes.
legendary
Activity: 1540
Merit: 1001
Just found and installed this nice little app but not yet read the 48 pages in this thread so apologies if the following issues are duplicates of earlier threads.

First issue is that I have 2 virtually identical AntMiner S3's on sequential IP addresses (101 and 102). All settings passwords etc. are the same and I can connect via http to both units but the App only shows 101 in the Ant Output section. The settings in the App are identical save for the IP address, Name and of course ID#. The log shows the following error message...

ERROR when querying S3:0.102 (step 1): Object reference not set to an instance of an object.
08/12/2014 17:28:22: Attempting to reboot S3:0.102 via the web because the API query errored out.
08/12/2014 17:28:22: REBOOTING S3:0.102 via SSH
08/12/2014 17:28:44: Reboot of S3:0.102 FAILED: Permission denied (password).



This leads on to my second issue - why is reboot on error enabled by default? Surely anything like this should by default be disabled, so that the user must choose to enable if required? This reason I am annoyed about this point is that the above log is taken from my second attempt to get 102 working. On my first attempt, I set the correct SSH password and the app rebooted my AntMiner - Ahhhhhh I was in the middle of a longevity test so not a happy bunny  Sad

Happy to provide any screenshots or info if you require on the first point.

Many thanks in advance

Cheers n beers

HPmuirt

Hello.  That "reboot on failure" option is NOT supposed to be on by default.  Apparently there's a problem somewhere that causes that to turn on of its own accord. Sad  I apologize for that.

As for why one works and one doesn't ... are they using the same firmware?

M
newbie
Activity: 14
Merit: 0
Just found and installed this nice little app but not yet read the 48 pages in this thread so apologies if the following issues are duplicates of earlier threads.

First issue is that I have 2 virtually identical AntMiner S3's on sequential IP addresses (101 and 102). All settings passwords etc. are the same and I can connect via http to both units but the App only shows 101 in the Ant Output section. The settings in the App are identical save for the IP address, Name and of course ID#. The log shows the following error message...

ERROR when querying S3:0.102 (step 1): Object reference not set to an instance of an object.
08/12/2014 17:28:22: Attempting to reboot S3:0.102 via the web because the API query errored out.
08/12/2014 17:28:22: REBOOTING S3:0.102 via SSH
08/12/2014 17:28:44: Reboot of S3:0.102 FAILED: Permission denied (password).



This leads on to my second issue - why is reboot on error enabled by default? Surely anything like this should by default be disabled, so that the user must choose to enable if required? This reason I am annoyed about this point is that the above log is taken from my second attempt to get 102 working. On my first attempt, I set the correct SSH password and the app rebooted my AntMiner - Ahhhhhh I was in the middle of a longevity test so not a happy bunny  Sad

Happy to provide any screenshots or info if you require on the first point.

Many thanks in advance

Cheers n beers

HPmuirt
hero member
Activity: 543
Merit: 500
legendary
Activity: 1540
Merit: 1001
Here's beta #1 of v4.0 of M's Miner Monitor.

This version:
- Adds basic support for Spondoolie's SP20s.  This means scans will find them, you can add them manually, and the info will show up on the output.  
  Note that:
  - Alerts are coming soon.
  - Not sure if reboots will work.  Not tested.
  - Other Spondoolie hardware may work as well, that's why I have it labeled as "SP".  
- Fixes some minor problems with the scanning for miner's routine.
- Adds a new feature to the Miner Config tab.  If you have a miner that isn't recognized here, plug in the IP address in the "Get Miner Info" textbox and use the Get Miner Info button.  
  Note that:
  - This only works with miners that use cgminer under the hood and are listening on port 4028 for API requests AND allow requests across the network.
 

PLEASE NOTE!

My SP20 came with only local API access allowed.  That means this program won't be able to talk to it.  To enable it, you need to SSH into your miner (you may have to enable SSH) and edit /etc/cgminer.conf to allow network access.  If you don't know how to do this, try this at your own risk:

SSH to your miner
type "vi /etc/cgminer.conf"

On my SP20, I see one line of data that start with this:

{"api-listen":true,"api-allow":"W:127.0.0.1","pools":

press 'i' on your keyboard to allow editing

scroll to the end of the section that reads "W:127.0.0.1" and add ",your ip", like this where "your ip" is the IP address the monitoring app is running from.  It should look something like this:

{"api-listen":true,"api-allow":"W:127.0.0.1,192.168.0.194","pools":

press Esc, ':' then 'w' and then 'q' and press enter.

Restart cgminer from the miner console, and on the pools tab you should see the new API allow.

----
Some S4 user: please use the Get Miner Info button and PM me the info it returns for S4 support to be added.  Got it thank you.

Download link: MMinerMonitor40b1.zip

M
legendary
Activity: 1540
Merit: 1001
Is there a way to list them in the order you want? I'll add them as I want to see them, but then when I click save an error pops up which I close, restart the program and they are there, but just not in the the order I want them to be.

Unless I can edit the config file manually?

Actually, where does it save the configuration file?

You shouldn't get any errors when you save.  Can you post the error to me please?

The config is entirely in the registry.  Check HKCU\Software\MAntMonitor.

You can sort them on the display grid by clicking on the column header you want to sort them by.

Otherwise .. there isn't a defined sort order currently.

M
legendary
Activity: 1274
Merit: 1000
Personal text my ass....
Is there a way to list them in the order you want? I'll add them as I want to see them, but then when I click save an error pops up which I close, restart the program and they are there, but just not in the the order I want them to be.

Unless I can edit the config file manually?

Actually, where does it save the configuration file?


full member
Activity: 237
Merit: 100
Smile while thinking.
Hello, nice product. Can you please add support for S4??

Thanks

Hello, it should work as an S2.  I've asked Bitmain for a demo unit, and they've declined.  It's unlikely I'll be obtaining one anytime soon. Sad

M

I can confirm that the S4 works as an S3 in the software. The only thing that is a little bit annoying is the alerts that are not in the same range, but it's ok.

Thanks Mdude!

Kexkey
legendary
Activity: 1540
Merit: 1001
Hello, nice product. Can you please add support for S4??

Thanks

Hello, it should work as an S2.  I've asked Bitmain for a demo unit, and they've declined.  It's unlikely I'll be obtaining one anytime soon. Sad

M
legendary
Activity: 1610
Merit: 1003
"Yobit pump alert software" Link in my signature!
Hello, nice product. Can you please add support for S4??

Thanks
legendary
Activity: 1246
Merit: 1024
this is a BATCH 6's  S3+  price??  - no idea on shipping  make an offer Smiley


New Batch 11 S3+ are curently $149 with coupons plus shipping. I do not know of you are able to provide a reasonably cost and reliable shipping service from Newland to me in Bangkok, Thailand. Contingent on shipping cost and assuming unit is in 90% original condition I would offer $100 for unit itself and $150 for unit with PSU if the PSU is a minium 80+ Bronze or higher until with adquate watt overhead. I like an overhad of at least 40% more than the unit will draw.

Wink ANTMINER S3+ -B11 In Stock
Speed:    453GH/s
Weight:    6.2 kg
Price:       199 USD ( 0.531 BTC )

I think ur better to buy from bitmain, i have auctions running in my home country here and they are going for more than u are offering. Thanks anyway.


Bitmain makes you buy two at a time. Only want one more.
member
Activity: 73
Merit: 10
this is a BATCH 6's  S3+  price??  - no idea on shipping  make an offer Smiley


New Batch 11 S3+ are curently $149 with coupons plus shipping. I do not know of you are able to provide a reasonably cost and reliable shipping service from Newland to me in Bangkok, Thailand. Contingent on shipping cost and assuming unit is in 90% original condition I would offer $100 for unit itself and $150 for unit with PSU if the PSU is a minium 80+ Bronze or higher until with adquate watt overhead. I like an overhad of at least 40% more than the unit will draw.

Wink ANTMINER S3+ -B11 In Stock
Speed:    453GH/s
Weight:    6.2 kg
Price:       199 USD ( 0.531 BTC )

I think ur better to buy from bitmain, i have auctions running in my home country here and they are going for more than u are offering. Thanks anyway.
legendary
Activity: 1246
Merit: 1024
this is a BATCH 6's  S3+  price??  - no idea on shipping  make an offer Smiley


New Batch 11 S3+ are curently $149 with coupons plus shipping. I do not know of you are able to provide a reasonably cost and reliable shipping service from Newland to me in Bangkok, Thailand. Contingent on shipping cost and assuming unit is in 90% original condition I would offer $100 for unit itself and $150 for unit with PSU if the PSU is a minium 80+ Bronze or higher until with adquate watt overhead. I like an overhad of at least 40% more than the unit will draw.
member
Activity: 73
Merit: 10
this is a BATCH 6's  S3+  price??  - no idea on shipping  make an offer Smiley
legendary
Activity: 1246
Merit: 1024
New Zealand

What batch is it from and please offer a price with shipping included. Thanks.
Pages:
Jump to: