Bitcoin Forum
April 20, 2024, 02:24:03 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 »
  Print  
Author Topic: CGWatcher 1.4.0, a GUI/monitor for CGMiner & BFGMiner to help minimize downtime  (Read 402303 times)
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
April 19, 2013, 03:23:54 AM
 #21

Thanks. I've already fixed this (someone else mentioned a similar problem), but I'm not quite finished with the next update yet. By default, it will now require that the hashrate has to be below the threshold for 3 monitor refreshes. So if you set your monitor interval at 10 seconds, the hashrate would have to be below the threshold for 30 seconds. I wanted to give the option to change this without cluttering the interface so you'll be able to change this setting in the INI file if the default of 3 isn't suitable for the monitor interval you use. I'll include instructions on changing this in the update's ReadMe.

CGWatcher, a GUI/monitor for CGMiner & BFGMiner: http://www.cgwatcher.com
CGRemote, a remote mining dashboard for all of your miners: http://www.minerremote.com
BTC: 12TAYjmSrdDHLNpmix2MG6y3R868SMM7Fx    LTC: LM6Un6hZvPzLBggJWiAVG6E6w2GfaHukXY
1713579843
Hero Member
*
Offline Offline

Posts: 1713579843

View Profile Personal Message (Offline)

Ignore
1713579843
Reply with quote  #2

1713579843
Report to moderator
1713579843
Hero Member
*
Offline Offline

Posts: 1713579843

View Profile Personal Message (Offline)

Ignore
1713579843
Reply with quote  #2

1713579843
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
sikman
Hero Member
*****
Offline Offline

Activity: 572
Merit: 500



View Profile
April 19, 2013, 04:27:48 AM
 #22

Damm, what an awesome program, I've just setup 4 PC to mine 24/7 just the other day and was pissed this morning to find out it stop last night, around 12 hours lost in mining. I have to always remote in and check ever hour and it a time waste

thank you!!

PECULIUM                    [  PRIVATE SALE ~$2M PLEDGED ]
First Saving System in CryptoCurrency Driven by Artificial Intelligence     / WHITEPAPER / ANN / BOUNTY / TELEGRAM /

                                   ▓░          ░  ░░░    ░▒▓▓▓▓▓▓▒▒
                                  █▒░░░░░░░░░░░░░▒▒▒ ▒▓██▓▓▓▒▒▒▒▒▒▓
             ░░░░░▒▒░░  ░░░░░░░░░▒█░▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒▒███▓▓████████▓▓
        ░▒▒▓▓▓▓▓▓▓▓▓▓▓▓▒ ░░░     ▒▓▒▒▒▒▒▒▒▒▒▒▒▒▓▒▒▓██▒▓██████▓█████
     ░▒▒▒▒░░░░░ ░░░░░░▒▓▒ ░░░    ░▓▓▓▓▓▒▓▒▒▒▒▒▒▒▓██▓ ████████▒▓██▓▓
          ░░░░▒░▒▒░▒▒▒▒░▒░ ░      ▓▒▓▓▓▓▓▓▒▒▒▓▒▓▓▓▒░████▓███▒████▓▓
      ░░░░░░░▒▒░░░▒▒▒▒▒▒░░       ▒▓░▓▓▓▓▓▓▓▓▓▓▓▓▓▒ █████████████  
       ░░░▒▒▒░░░░▒░▒▒▒▒▒▒▒   ░░░░▒▒▒▒▓▓▓▓▓▓▓▓▓▓▒▒▒███▓█████▓░     
      ░░░    ░░░▒▒▒▒▒░▒▒▓▓  ░░░ ▒▒▒▒▒▒▓▓▓▓▓▓▓▒ ░▓██▓▒░          ░ ░
     ░░  ▒▓█████████▓▓▓▒▓░  ░░ ░▒▒▒▒▒▒▒▒▒▓▓▓▓▒▒▓▒░   ░░░ ░░░░     
     ░ ▓██▒▓▓▓███▒▒▒▒▓▓▓▓    ░ ░▒░▒▒░▒▒▒▒▒▒▒▒▓▓▒▒░░░░             
     ░▓█░▒██████████▓▒▒█      ░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒░░            
    ░▓▓ ███████▓▒██▓███▒      ░░░░░░░░░░░░▒░▒░▒░▒▒░░░░░░░         
    ▒▒ ▓██▓▓██▒▓███▓███      ░░░░░░░░░░░░░░░░░░░░░░░░░            
    ▒░▒█░███▓████▓           ░ ░░░░░░░░░░░░░░░░░░                 
    ░ ██ ████▓▓     ▒       ░░  ░░░░░░░░░░░░░░                    
                   ▒░      ░░ ░   ░░░░░░░░░░                      
            ░░░░░░▒▒       ░░   ░ ░  ░░░░░░░                      
          ░░░  ░░ ░         ░          ░░░░░░                     
                           ░      ░░░░░░░▒▒░                      
                                     ░░░  ░▒                      
                            ░░▒░░░      ░  ░▒                     
                    ░    ░░░░░░ ░░░▒▒░    ░░▒░                    
                    ▒▒░░░░░░   ░░    ░▒▒░░░░▒▒                    
                      ▒▒░░▒░▓███████▓ ░▒▒▒▒▒▓▒                    
                    ▓░ ░▒░░▓██████████░░▒▒▒▓▓                     
                   ▓███░░▒▒▒▓▓▓▓███▓▓▓▓▒▒▓▓▓                      
                    ████▓▒▓▒▒▒▓▓▓▓▓▓▓▓▓▓▓▒░                       
                     ▓██▓▒▓▓▓▒▓▓▓▓▓▒▒░░░                          
                      ▓▒▒▒▓▓▓▓▓▒░░░                               
                        ░░▓▓▓▓▓▒                                  
                         ░▒▒▒▒▒▒                                  
                          ░▒▒░▒░                                  
                          ░░   ░                                  
                          ░    ░                                  ░
                             ░░                       ░           ░
                                                      ░░        ░ ░
                         ░░░░░░░░░░░░░░░░░     ░░░░░░░░░░░ ░░ ░ ░ ░
                       ░▒░░░░░░░░▒▒▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒░░░░    ░░░░░░░ ░
                      ░▒░▒▒▒▓▓▓███████▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒░░░░░░░░
                     ░▒▒▓▓████▓▓▒              ░▒▒▓▓▓▓████▓▒░░░░▒░▒
                    ░▒▓██▒░                ░░░░░░░░░░▒▒▒░   ░░░░░░▒
                   ░▒▓█       ░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░▒░▒
                  ▒▒▓█   ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
                 ░░▓█    ░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░ ░░░░░        ░ ▒
[url=https://bitcointalk.org/index.php?topic=385
Signus
Newbie
*
Offline Offline

Activity: 28
Merit: 0



View Profile
April 19, 2013, 07:00:56 AM
 #23

Not bad. Great for those people who are always checking their mining rigs.
3ham3
Full Member
***
Offline Offline

Activity: 137
Merit: 100



View Profile
April 19, 2013, 07:05:08 AM
 #24

Great Program! Putting it to use right now!
GuiltySpark343
Member
**
Offline Offline

Activity: 98
Merit: 10



View Profile
April 19, 2013, 10:47:58 AM
 #25

Suggestion:

On the Status tab, add a counter listing the number of times the miner was restarted?

Thanks!

I don't know half of you half as well as I should like; and I like less than half of you half as well as you deserve.
Ƀ:17wbDetEw2aESM5oWXbm5ih9NSdDruyWNT
nwfella
Legendary
*
Offline Offline

Activity: 1582
Merit: 1000

Well hello there!


View Profile
April 19, 2013, 10:51:44 AM
 #26

looks pretty good...any idea on when you may be publishing source?

-nwfella

¯¯̿̿¯̿̿'̿̿̿̿̿̿̿'̿̿'̿̿̿̿̿'̿̿̿)͇̿̿)̿̿̿̿ '̿̿̿̿̿̿\̵͇̿̿\=(•̪̀●́)=o/̵͇̿̿/'̿̿ ̿ ̿̿

Gimme the crypto!!
Lauda
Legendary
*
Offline Offline

Activity: 2674
Merit: 2965


Terminated.


View Profile WWW
April 19, 2013, 12:28:35 PM
 #27

Average hashrate 16,897 Ghash/s? O.o
Why not add settings to display in MH/s, GH/s instead of this?

Nice program, gonna use it Smiley

"The Times 03/Jan/2009 Chancellor on brink of second bailout for banks"
😼 Bitcoin Core (onion)
voluntaryistonly
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
April 19, 2013, 12:32:39 PM
 #28

any chance of an osx iteration?
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
April 19, 2013, 04:08:59 PM
 #29

GuiltySpark343, you can check the log (Log tab) to see if there were any reasons the miner was restarted. The Log tab displays the log since CGWatcher was started, but you can click Open in Notepad button to view the entire log history.

nwfella, not sure when I'll publish the source. Probably when I get done adding things and feel it is more complete. I have been commenting more in preparation for this.

LaudaM, do you use a comma (,) as the decimal separator? This caused hashrates to show very high ridiculous numbers, but is fixed in the next update.

voluntaryistonly, I have no dev experience on OSX so not something that is planned.


CGWatcher, a GUI/monitor for CGMiner & BFGMiner: http://www.cgwatcher.com
CGRemote, a remote mining dashboard for all of your miners: http://www.minerremote.com
BTC: 12TAYjmSrdDHLNpmix2MG6y3R868SMM7Fx    LTC: LM6Un6hZvPzLBggJWiAVG6E6w2GfaHukXY
3Dfilament
Member
**
Offline Offline

Activity: 92
Merit: 10



View Profile
April 19, 2013, 04:35:12 PM
 #30

Thanks for sharing this application and writing it. I'm currently using a GUIminer with cgminer developed by "TacoTime" and it's folks like you and TacoTime who really assist all of us in making Crypto Currencies a reality. I encourage you to continue, thanks. I'm always looking for automation to assist in keeping the miners going as downtime is of course loss.
mkmen
Full Member
***
Offline Offline

Activity: 157
Merit: 100



View Profile
April 19, 2013, 05:16:22 PM
 #31

Thank you so much for this one! I was looking for some SW that can watch out for my GPUs as one of them dies after ~4hours, but the ones i found did not really work so well, this looks great.
Looking forward to improvements towards scrypt.
tarmi
Legendary
*
Offline Offline

Activity: 1218
Merit: 1010


View Profile
April 19, 2013, 05:28:23 PM
 #32

very nice!

downloading now.
JS17
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
April 20, 2013, 03:44:16 AM
 #33

I've been using this for a two days now, it's great. Fixed the bit of instability issues I was having with cgminer on win 8.
Oldie
Newbie
*
Offline Offline

Activity: 52
Merit: 0



View Profile
April 20, 2013, 03:58:36 AM
 #34

Nice program, thanks for releasing to the community.
zeryl
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
April 20, 2013, 03:14:49 PM
 #35

Love this app.  The only thing that I'm a bit "eh" about, is that it doesn't seem to handle monitoring a remote system.  Is it possible to add in remote monitoring?  I'd like to run this on my PC, and let it monitor my miner, and not have to vnc into it to check on it.

Additionally, how about a capability to "alert" when your mining speed drops (i.e. via email).
GuiltySpark343
Member
**
Offline Offline

Activity: 98
Merit: 10



View Profile
April 21, 2013, 01:59:17 AM
 #36

Agree with above poster. I have a desktop PC for my own use (gaming, etc), and a separate dedicated headless miner. I have BFGMiner running on the miner, and I have CG Watcher running on my desktop PC.

If I manually run BFGMiner on my headless miner with --api-allow W:192.168.10.69 (the local IP of my desktop PC), and configure CG Watcher on my desktop PC with miner address of 192.168.10.51 (the local IP of my headless miner) ... nothing happens.

But, if I run a copy of BFGMiner on my desktop PC, then CG Watcher will pick up stats on the headless miner!

If I'm interpreting this right ... I do have CG Watcher and BFG correctly configured, but CG Watcher won't search for remote data, because it thinks BFG is not running on the local environment (ie my local desktop), even though BFG is running on the headless miner that I've set it to monitor.

Confusing, no?

I don't know half of you half as well as I should like; and I like less than half of you half as well as you deserve.
Ƀ:17wbDetEw2aESM5oWXbm5ih9NSdDruyWNT
milone (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


CGWatcher & CGRemote


View Profile WWW
April 21, 2013, 05:36:00 AM
 #37

Yes, remote access does not work correctly. I can't speak for bfgminer because I haven't used it enough to say, but I realized early on that there are enough occasions where remote access alone would not ensure that the miner ran continuously, and that is my top priority. I've spent the past week improving problem handling and added two additional checking options, among other changes. There are problems that occur often (at least with my miners) that cause cgminer to return to read-only API privilege meaning CGWatcher can no longer issue commands other than receiving stats. This, and the fact that sometimes sending cgminer the "restart" command causes it to close unexpectedly means that having CGWatcher on the same machine as cgminer (and presumably bfgminer) is necessary because being on the same machine gives CGWatcher the ability to launch and kill miner processes. This is why CGWatcher is not showing a miner running when it is done remotely... because it has become dependent on access to the miner's process. When cgminer goes to read-only access, the only way to get full access back is to kill the process and re-open it. Likewise, when cgminer closes unexpectedly after the "restart" command, the program needs to be launched again. Scheduled mining also requires CGWatcher to be on the same machine so it can launch the miner.

But there is hope! In order to remotely monitor and control miners and ensure that they run continuously, there would need to be a listener program running on each computer as a miner. This program could then talk to CGWatcher and report process info and launch or kill the miner when needed. I considered writing one, but I think that CGWatcher would be the best listener program. It has the logic built-in to keep a miner on the same computer running, so I felt it would make more sense to use it as the listener program and create a new program (tentatively titled CGRemote) that will communicate with CGWatcher(s) remotely (or locally.) I've already developed the basic program and have communication between the two working, I just have to design a protocol for sending and receiving commands and data.

If that is hard to follow...
You will run CGWatcher the same computer as cgminer. If you have multiple computers mining, you'll have CGWatcher running on each of them. That way it can do its job correctly. If you want to monitor or control your miners remotely, you'll use CGRemote. It will also be small and portable, and allow you to list as many miners as you want (IP address and port). CGRemote and all of your CGWatchers will use a common passkey that you create to make sure nobody else can send commands to your CGWatchers. The passkey is stored encrypted in each program's INI file. (All this stuff is done and working already.) CGRemote will essentially give you a dashboard of your miners, only instead of communicating with cgminer, it will communicate with CGWatcher, who in turn communicates with cgminer. For example, if you tell CGRemote that you want to start mining on one computer, it will send a command to CGWatcher on that computer telling it to launch cgminer (or bfgminer). Ultimately, anything you can do with CGWatcher you'll be able to do with CGRemote. Any data you can get from CGWatcher you'll be able to get with CGRemote. It may sound more complicated than necessary, but considering the steps CGWatcher has taken to effectively keep a miner running, it makes the most sense. To make it easier to add miners to CGRemote, you'll notice in the next CGWatcher update that there is now a Remote tab that shows you your local and public IP addresses (so you'll have all the info you need to add them to CGRemote) and will allow you to set a miner name, port, and passkey for use with CGRemote. The goal is to allow you to monitor and control local and remote miners (including headless miners.)

I'm planning on releasing the next update on Monday, April 22. It has some significant improvements with how it handles miner problems, and adds two new options to detect problems with the miner. The first is to restart the miner if CGWatcher had full API access but then lost it, which is a problem I've been dealing with on one of my miners. The second is an option to restart the miner if the total shares (accepted, rejected, etc) do not increase for X minutes, as this may indicate a problem with the pool. There is also better scrypt support (automatic detection), better error handling, a 'check for updates' button, and numerous improvements and fixes. The problems I mentioned above are now handled as well. It will all be listed in the update's ReadMe. There is no ETA for CGRemote, but it is essentially working right now.

Thanks for the positive feedback, it has motivated me to put more time into this. Over 700 downloads so far, much more than I originally expected. If you had any problems, try this next update before reporting them because it has many improvements. If you use the program and want to support its future development (and motivate its developer), consider donating to an address in the ReadMe. Thank you to whoever sent a few litecoins, it honestly made me spend the entire day working on it.




CGWatcher, a GUI/monitor for CGMiner & BFGMiner: http://www.cgwatcher.com
CGRemote, a remote mining dashboard for all of your miners: http://www.minerremote.com
BTC: 12TAYjmSrdDHLNpmix2MG6y3R868SMM7Fx    LTC: LM6Un6hZvPzLBggJWiAVG6E6w2GfaHukXY
katie1348
Newbie
*
Offline Offline

Activity: 37
Merit: 0



View Profile WWW
April 21, 2013, 07:54:09 AM
 #38

I do currently have the CGWatcher program and do find it very nice.

I would really like the CG Remote program as that would get me past the problem of several machines each of which need checking from time to time.

Doing it from a dashboard, would be very nice.

If you need a Beta tester, PM me and we can see how to facilitate that.

K

 Smiley
GuiltySpark343
Member
**
Offline Offline

Activity: 98
Merit: 10



View Profile
April 21, 2013, 10:54:51 AM
 #39

LOL you rock! Not to give you more work ... but while you're at it, you can make CGRemote into an iOS or Android app and sell it in their respective marketplaces!   Wink

PS> @katie ... currently I'm using LogMeIn which is free, to remotely log in and check on my miner. Not as elegant a weapon for a civilized age as CGWatcher however.

I don't know half of you half as well as I should like; and I like less than half of you half as well as you deserve.
Ƀ:17wbDetEw2aESM5oWXbm5ih9NSdDruyWNT
RandyMagnum
Sr. Member
****
Offline Offline

Activity: 662
Merit: 250



View Profile
April 22, 2013, 02:34:38 PM
 #40

Great work!

Is it possible for CGWatcher to monitor and issue commands to a remote Linux rig from a Windows platform? I'm stuck using a VNC every time I think to check if everything is alright; as you said, a waste of time.
Pages: « 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!