Pages:
Author

Topic: CgminerMonitor.com - cloud monitor for all your miners! - page 7. (Read 23396 times)

legendary
Activity: 1778
Merit: 1003
NodeMasters
Hello coinme.info, I've just sent a request for info to Bitmain technologies, I'll get back to you with additional information from them.

Sounds good. Looking forward to seeing CgminerMonitor working on the Antminer S1!
I've just received response, that Bitmain miners support cgminer API. Can you tell me if Antminer is visible under 127.0.0.1 or it has own IP address? In that case, I will introduce another config parameter and everything should be ok.
Could you check that please? Unfortunately I don't have any Antminers... so I have no idea how it looks like.

Hi i have a few i can test
leave it with me and i will have a go
member
Activity: 80
Merit: 10
Hello coinme.info, I've just sent a request for info to Bitmain technologies, I'll get back to you with additional information from them.

Sounds good. Looking forward to seeing CgminerMonitor working on the Antminer S1!
I've just received response, that Bitmain miners support cgminer API. Can you tell me if Antminer is visible under 127.0.0.1 or it has own IP address? In that case, I will introduce another config parameter and everything should be ok.
Could you check that please? Unfortunately I don't have any Antminers... so I have no idea how it looks like.
full member
Activity: 216
Merit: 100
The best solution would be to change cgminer01 process name for each rig. You can just create multiple copies of cgminer with different name making the process name different. E.g. cgminer01, cgminer02, cgminer03 which would be run by your scripts. Then just specify appropriate name in CgminerMonitorClient config (or change CgminerProcessName and CgminerKillCmd parameters).

Yeah, I thought of that last night.  It means having to rework my scripts a bit, but that should do it.  Thanks!

As far as I can see on this site: https://github.com/ckolivas/cgminer/blob/master/API-README
Cgminer doesn't allow to do that by API... Therefore I am afraid I can't deliver that feature for you.

Too bad cuz that would be *really* cool!  Thanks for checking, though.

Regards,

Still loving CgminerMonitor!  VERY nice!

Regards

Chris
member
Activity: 80
Merit: 10
Thanks for the clarification.  The website and client instructions were fairly clear, but I wanted to confirm how I was interpreting things.

In my case I'm using 1 Raspberry Pi to manage 6 rigs - one Gridseed rig and 5 GAWMiner Fury rigs - so I'm running 6 instances of the client.  When I do "ps -A | grep miner" I get this output:

 1206 pts/0    00:00:05 cgminer01
 1212 pts/1    00:00:03 cgminer01
 1218 pts/2    00:00:03 cgminer01
 1227 pts/3    00:00:03 cgminer01
 1998 pts/5    00:00:26 cgminer-gridsee
 2176 pts/7    00:00:29 CgminerMonitorC
 2184 pts/9    00:00:28 CgminerMonitorC
 2191 pts/10   00:00:28 CgminerMonitorC
 2199 pts/11   00:00:28 CgminerMonitorC
 2205 pts/12   00:00:30 CgminerMonitorC
 2355 pts/6    00:00:27 CgminerMonitorC
 2497 pts/13   00:00:01 cgminer01

The lines that say "cgminer01" is a version of cgminer for running the Furys, and the line that says "cgminer-gridsee" is of course the gridseed rig.  So, what I need is to be able to differentiate which cgminer is for which rig when I'm using  the cgminer start, stop and restart features.  When the computer boots, the bash script I've created does this based on the config file name (each rig has a different config file, for instance cgminer-gridseed.conf).  Can I do this in my config file for CgminerMonitor client?  If so, how?

Btw, I can live with the "WorkerRebootCmd" and "WorkerShutdownCmd" functions rebooting the computer and all six rigs...  I just gotta remember that that's what it does.  Wink

Thanks for your help...

Regards,

Chris

The best solution would be to change cgminer01 process name for each rig. You can just create multiple copies of cgminer with different name making the process name different. E.g. cgminer01, cgminer02, cgminer03 which would be run by your scripts. Then just specify appropriate name in CgminerMonitorClient config (or change CgminerProcessName and CgminerKillCmd parameters).

Btw, there's one other remote control feature that would be very handy...  resetting the statistics for a miner.  Sometimes, when there's a problem with a rig I tinker with various settings and then I reset the stats by hitting "D" and then "Z" to see if the changes have effected anything.  Sure, I could stop/restart the rig and the stats would reset, but that interrupts the mining for a minute or two so just resetting the stats is quicker/easier.

Can that feature be added in a future release?

Thanks!

Chris


As far as I can see on this site: https://github.com/ckolivas/cgminer/blob/master/API-README
Cgminer doesn't allow to do that by API... Therefore I am afraid I can't deliver that feature for you.
full member
Activity: 216
Merit: 100
Btw, there's one other remote control feature that would be very handy...  resetting the statistics for a miner.  Sometimes, when there's a problem with a rig I tinker with various settings and then I reset the stats by hitting "D" and then "Z" to see if the changes have effected anything.  Sure, I could stop/restart the rig and the stats would reset, but that interrupts the mining for a minute or two so just resetting the stats is quicker/easier.

Can that feature be added in a future release?

Thanks!

Chris
full member
Activity: 216
Merit: 100
Thanks for the clarification.  The website and client instructions were fairly clear, but I wanted to confirm how I was interpreting things.

In my case I'm using 1 Raspberry Pi to manage 6 rigs - one Gridseed rig and 5 GAWMiner Fury rigs - so I'm running 6 instances of the client.  When I do "ps -A | grep miner" I get this output:

 1206 pts/0    00:00:05 cgminer01
 1212 pts/1    00:00:03 cgminer01
 1218 pts/2    00:00:03 cgminer01
 1227 pts/3    00:00:03 cgminer01
 1998 pts/5    00:00:26 cgminer-gridsee
 2176 pts/7    00:00:29 CgminerMonitorC
 2184 pts/9    00:00:28 CgminerMonitorC
 2191 pts/10   00:00:28 CgminerMonitorC
 2199 pts/11   00:00:28 CgminerMonitorC
 2205 pts/12   00:00:30 CgminerMonitorC
 2355 pts/6    00:00:27 CgminerMonitorC
 2497 pts/13   00:00:01 cgminer01

The lines that say "cgminer01" is a version of cgminer for running the Furys, and the line that says "cgminer-gridsee" is of course the gridseed rig.  So, what I need is to be able to differentiate which cgminer is for which rig when I'm using  the cgminer start, stop and restart features.  When the computer boots, the bash script I've created does this based on the config file name (each rig has a different config file, for instance cgminer-gridseed.conf).  Can I do this in my config file for CgminerMonitor client?  If so, how?

Btw, I can live with the "WorkerRebootCmd" and "WorkerShutdownCmd" functions rebooting the computer and all six rigs...  I just gotta remember that that's what it does.  Wink

Thanks for your help...

Regards,

Chris
member
Activity: 80
Merit: 10
A couple of questions about setting up for remote control...
1.  How do you determine the value for   "CgminerProcessName" in the config file?  I've tried various combinations of ps and can't find a process name.
In windows this will probably be cgminer.exe/sgminer.exe/something.exe (you can use task manager to determine that).
Under linux, use
Code:
ps -A
or
Code:
sudo ps -A
You can filter that using grep. For example:
Code:
ps -A | grep miner
. The result should be something like: cgminer/sgminer/vertminer

2.  Am I right in assuming that "CgminerStartCmd" is the full command line (including "screen -dmS" and any command line switches to run cgminer?
Yes, the client only executes that, and checks 15 seconds afterwards if the process was started.

3.  "WorkerRebootCmd" and "WorkerShutdownCmd" look like they reboot/shutdown the computer so if you're controlling more than 1 rig on that computer it's going to reboot/shutdown everything.  Right?
The idea is that one CgminerMonitorClient is monitoring one rig/worker. Therefore sending that command to one worker will result in reboot/shutting down only this computer. Under http://cgminermonitor.com/WorkerRemoteControl/Manage you can choose to send command to one or more workers.

Thanks for your help.  I've kinda-sort-maybe got it configured right but this will get me the rest of the way.
No problem, do you have any idea how to improve the website or client instructions, to make it more unambiguous?
full member
Activity: 216
Merit: 100
A couple of questions about setting up for remote control...

1.  How do you determine the value for   "CgminerProcessName" in the config file?  I've tried various combinations of ps and can't find a process name.

2.  Am I right in assuming that "CgminerStartCmd" is the full command line (including "screen -dmS" and any command line switches to run cgminer?

3.  "WorkerRebootCmd" and "WorkerShutdownCmd" look like they reboot/shutdown the computer so if you're controlling more than 1 rig on that computer it's going to reboot/shutdown everything.  Right?

Thanks for your help.  I've kinda-sort-maybe got it configured right but this will get me the rest of the way.

Regards,

Chris
full member
Activity: 216
Merit: 100
What commands are supported?
  • Add pool to worker
  • Remove pool from worker
  • Change worker pool
  • Read Cgminer Config
  • Write Cgminer Config
  • Restart Cgminer
  • Start Cgminer
  • Stop Cgminer
  • Reboot Worker
  • Shutdown Worker

Yeah, just looked at the new screen on the site.  That's gonna be *SWEET* once I get it setup!

Chris
member
Activity: 80
Merit: 10
What commands are supported?
  • Add pool to worker
  • Remove pool from worker
  • Change worker pool
  • Read Cgminer Config
  • Write Cgminer Config
  • Restart Cgminer
  • Start Cgminer
  • Stop Cgminer
  • Reboot Worker
  • Shutdown Worker
full member
Activity: 216
Merit: 100
Quick update: worker remote management is published! More info here: http://cgminermonitor.com/GetStarted#workerRemoteManagement

Several of my rigs are currently rented out on betarigs.com so I can't install and try this right now.  What commands are supported?

Thanks!

Chris
member
Activity: 80
Merit: 10
Quick update: worker remote management is published! More info here: http://cgminermonitor.com/GetStarted#workerRemoteManagement
full member
Activity: 216
Merit: 100
You're welcome!  Grin  I can't wait for future releases with enhanced features!

Regards,

Chris
member
Activity: 80
Merit: 10
Btw, I gotta say it...

The support I've received for CgminerMonitor has been excellent so far!  I'm low-income so I can't afford much, but I'm sending a little bitcoin token of my appreciation.

Thanks, again!

Chris


Thank you very much Chris! Those are the first coins for this project Smiley It's really awesome that some appreciate your work!
full member
Activity: 216
Merit: 100
Btw, I gotta say it...

The support I've received for CgminerMonitor has been excellent so far!  I'm low-income so I can't afford much, but I'm sending a little bitcoin token of my appreciation.

Thanks, again!

Chris
full member
Activity: 216
Merit: 100

Chris, thanks for reporting that! I'll fix that as soon as remote management will be published.


K.  Thanks!  It's minor, but it'll be nice to have it fixed.

Regards,

Chris
member
Activity: 80
Merit: 10
I just finished getting CgminerMonitor running on my Raspberry Pi that's controlling 3 gridseeds and 5 GAWMiners furys.  Looks great, although there is a display problem with the chart for CrazyCanuck Rig #2A for some reason:

http://tinyurl.com/CrazyCanuck

Any ideas how to fix that minor glitch?

Thanks!

Chris


Chris, thanks for reporting that! I'll fix that as soon as remote management will be published.
full member
Activity: 216
Merit: 100
I just finished getting CgminerMonitor running on my Raspberry Pi that's controlling 3 gridseeds and 5 GAWMiners furys.  Looks great, although there is a display problem with the chart for CrazyCanuck Rig #2A for some reason:

http://tinyurl.com/CrazyCanuck

Any ideas how to fix that minor glitch?

Thanks!

Chris
member
Activity: 80
Merit: 10
I would like to get this running on my raspberry pi running minepeon. Can you please tell me what steps i have to take to get this installed on minepeon?

Running CgminerMonitor on MinePeon isn't hard - in fact, there is already someone who made this. Instructions are here: http://cgminermonitor.com/GetStarted - find "Install HOWTO" section and click "Compile from source (e.g. Raspberry Pi)" tab. Please let me know if you will meet any problems.

PS. coinme.info, so far - no response from Bitmain tech.
sr. member
Activity: 297
Merit: 250
Hello coinme.info, I've just sent a request for info to Bitmain technologies, I'll get back to you with additional information from them.

Sounds good. Looking forward to seeing CgminerMonitor working on the Antminer S1!
Pages:
Jump to: