Pages:
Author

Topic: CGminer - web monitor beta v0.8 - page 3. (Read 34710 times)

legendary
Activity: 1876
Merit: 1000
April 19, 2012, 12:51:23 PM
#89
Hey Jim, any further development ?

I am still toying with it and have hit a brick wall in terms of my skill (skill=none...lol) resulting in a possible future feature request ?

Here's where I am at currently.
I am having to use 3 separate forms for Pool Management. NOW, with the inclusion of 'addpool' to the API, I would love to add that feature as well, for 'on the fly' pool additions....unfortunately a 4th messy form will not cut it....LOL

Here's a quick screenshot:




What I would LOVE to see more than anything, would be a single 'Pool Management Form'...such as:




Unfortunately, I could not code this....LOL

As I said, just an idea if you are still working on it.
As always, LOVe the script, easy to work with and modify.

Cheers,
bitlane.

actually there is a new version out there..  has some new features, such as add pool (untested ) and heatindex.

I did not release publicly yet mainly because the addpool stuff is NOT tested..  you need the a more recent version of cgminer then I am running, which is why I could not test.

add a version number to the old download and see if that works.
JIm
sr. member
Activity: 462
Merit: 250
I heart thebaron
April 19, 2012, 12:05:27 PM
#88
Hey Jim, any further development ?

I am still toying with it and have hit a brick wall in terms of my skill (skill=none...lol) resulting in a possible future feature request ?

Here's where I am at currently.
I am having to use 3 separate forms for Pool Management. NOW, with the inclusion of 'addpool' to the API, I would love to add that feature as well, for 'on the fly' pool additions....unfortunately a 4th messy form will not cut it....LOL

Here's a quick screenshot:




What I would LOVE to see more than anything, would be a single 'Pool Management Form'...such as:




Unfortunately, I could not code this....LOL

As I said, just an idea if you are still working on it.
As always, LOVe the script, easy to work with and modify.

Cheers,
bitlane.
newbie
Activity: 78
Merit: 0
March 12, 2012, 09:28:21 AM
#87
If I am not mistaken, anabis needs apache on every rig, which means the rpc calls are all localhost and not on network. webmonitor needs each rig to allow network api calls.

conf should look like this.:

Code:
"api-listen" : true,
"api-network" : true,
"api-port" : "4028",

Also, i am using linuxcoin and windoz7.  whenever I first start cgminer after a new install, I have to 'allow' the program in windows security

i can confirm that Anubis needs nothing on the mining rigs Tongue

(i know this cause i stuck a 5830 on my mother's pc, which runs windows 7 and no web server xD)

I also have that set, so im lost.

My Apache2 + php5 server is running on debian, its just a stock apache2 and php5 install.

Maybe i have something missing ?
legendary
Activity: 1876
Merit: 1000
March 12, 2012, 08:55:03 AM
#86
If I am not mistaken, anabis needs apache on every rig, which means the rpc calls are all localhost and not on network. webmonitor needs each rig to allow network api calls.

conf should look like this.:

Code:
"api-listen" : true,
"api-network" : true,
"api-port" : "4028",

Also, i am using linuxcoin and windoz7.  whenever I first start cgminer after a new install, I have to 'allow' the program in windows security
newbie
Activity: 78
Merit: 0
March 11, 2012, 09:21:19 PM
#85
i still can't make this work Sad

anubis works, but this reports all miners as beeing offline Sad


downloaded v0.5, still not working.

did you manage to fix it ?

I had that issue (arround page 3) and was never able to fix it.

Today i installed a new linux server (i separated the mining functions, too much trouble for my family there Tongue), and still nothing.

What puzzles me is that anubis works just fine, and they use the same stuff.

I rather have this tho, which does not need mysql
hero member
Activity: 628
Merit: 500
March 05, 2012, 02:31:48 PM
#84
i like that as well. As long as all my miners can be reached there is little to no delay, but an Admin mode and User mode losing some features can speed that up.
legendary
Activity: 1876
Merit: 1000
March 05, 2012, 12:36:26 AM
#83


I like the idea of 'admin mode'  I will try to incorporate this into next big version..

I also have been able to 'reboot rig' with a click too Smiley
sr. member
Activity: 462
Merit: 250
I heart thebaron
March 04, 2012, 03:39:44 PM
#82
I love this script and how easy you have made it to customize it in the process.

I honestly can't think of another feature I would want........

As gay as inline-frames are, I am running mine setup with a 'top' master navigation frame that displays either my stripped down 'user mode' with a faster page update and no GPU controls, for monitoring only (and pool switching), then an 'Admin' mode that has GPU controls, the Dump and no automatic page update.

I also forgot to mention, I changed the TEMP display warnings.
70-73C = BOLD BLACK, 74-77C = BOLD RED, 78C+ = RED BOX BOLD RED.....no lines for me anymore unfortunately....lol

This script has done everything I needed it to...and more.

Thanks again.


 
legendary
Activity: 1876
Merit: 1000
March 04, 2012, 03:12:25 PM
#81

sorry for the delay..  been out of commission..  (flu)

to comment on the dump of each miner..  I usually use the dump to help me program the page, and to see data that I may not have displayed.  I have not had to look at the dump in weeks, so I think we are displaying everything we need. so I suggest just removing the dump totally.

I have not had any time to spend on the script lately.  I did add better error handling for when bitcoind is not avail. (page will still load)  will release this latest version soon.


For me to add any new features  i need to totally refactor the script. 



sr. member
Activity: 462
Merit: 250
I heart thebaron
March 04, 2012, 02:57:54 PM
#80

14vx4L7RbrYbgqSo3Sw17WWFRdH1mWR4KA


Lastly, while I am waiting for help......

If anyone would like a copy of the custom version of Jim's script that I am running in the pic above, I am willing to send it but I would like to see Jim get some donations first.
I want nothing.
I have quoted his Bitcoin address from his sig above and feel free to double check it against his actual sig for yourself.

Obviously he has spent alot of time on this and as far as I know, has received nothing.
This has been a huge learning experience for me, as Jim's coding style and layout are easy to follow and learn from.....I thank him for that.

If you are interested, post TX proof and your email address and I will forward a ZIP file.

**WORKS BEST (what I have done to it) in either CHROME (I use Chrome) or FIREFOX. IE sucks and misses most of the formatting tags.
sr. member
Activity: 462
Merit: 250
I heart thebaron
March 03, 2012, 09:50:45 PM
#79
Hey Jim.....(sorry in advance....LOL)

Is there any way that the 'DUMP' could be made to open in an address-bar-less small Pop-Up window rather than the in-page Toggle ?
(I don't know how to code it....sorry)

I have moved onto V0.5 Beta and an using a 30sec Page Reload (not Refresh) which makes the Dump difficult to read if not a speed reader...lol

Is this possible ?

For now, I have removed the hyper-link for the Dump and here is where I am at with styling for the version that I am using:

Title - CGMiner Web Monitor - Beta v0.5 Custom



- Entire layout/script center of page.
- Github style buttons.
- Misc CSS/layout/formatting.
- Misc re-naming/tagging.
- 30sec Javascript Page ReLoad
- Misc stuff ?
- Removed editable regions from main file into includes/user.php for all miner/bitcoin/time zone info to be updated.
- Moved all STYLE into a master css file. Main 'index/miners.php' contains NO editable regions for everyday use.


Lastly, could you please get a Copyright header/file ready, so that I can paste it into all your files please ?
(I am not going to add my own info anywhere, I simply want to ensure that all credit goes to you for this kickass script)

example...
Code:
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
// Bitcoin donation address - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Thanks again for all your previous (and hopefully future...lol) HELP Wink
bitlane.
legendary
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
March 03, 2012, 04:36:14 AM
#78
downloaded v0.5, still not working.

Same problem here... Anubis is working, --api-allow enable too... cgminerweb shows miners offline... Sad
legendary
Activity: 1876
Merit: 1000
February 23, 2012, 11:16:30 AM
#77
What changes does v0.5 have?

sorry i did not list them.  some miner tweaks, I think I added 'activity' to each gpu and enhanced the execSum at the top.

hero member
Activity: 628
Merit: 500
February 23, 2012, 11:01:17 AM
#76
What changes does v0.5 have?
legendary
Activity: 1134
Merit: 1005
February 23, 2012, 01:37:49 AM
#75
downloaded v0.5, still not working.
legendary
Activity: 1134
Merit: 1005
February 23, 2012, 01:13:54 AM
#74
cgminer config file
Code:

"api-listen" : true,
"api-network" : true,
"api-port" : "4028",

Do I need the "api-allow" : "192.168.1.101" ?
I tried both, and miners.php still says it is off line.

Also I am getting these errors on miners.php
"Warning: socket_read() [function.socket-read]: unable to read from socket
  • : A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\wamp\www\includes\apiSocket.php on line 131"
"Notice: Undefined offset: -1 in C:\wamp\www\miners.php on line 484"
"Notice: Undefined offset: 0 in C:\wamp\www\miners.php on line 485"
"Warning: Division by zero in C:\wamp\www\miners.php on line 497"
and a bunch of other errors

legendary
Activity: 1876
Merit: 1000
February 23, 2012, 12:48:10 AM
#73
yes you should be able to just put in the ip.

this should be in your cgminer conf file:

"api-listen" : true,
"api-network" : true,
"api-port" : "4028",


legendary
Activity: 1134
Merit: 1005
February 23, 2012, 12:40:34 AM
#72
could I simply use IP address directly and not mess with the windows host file?
Code:
$minerList= array(
"192.168.1.103",
"192.168.1.104",

I am getting "miner offline".
On my miner 192.168.1.103, the cgminer config file contains
Code:
"api-allow" : "192.168.1.101"

The machine that runs the miners.php is 192.168.1.101
legendary
Activity: 1876
Merit: 1000
February 23, 2012, 12:35:21 AM
#71
Code:
$minerList= array(
"miner1",
"miner2",
"miner3",
"miner4",
"miner5",
"miner6",
"miner7",
"miner8",
"miner9",
"miner10",
"miner11",
"miner12",
//"minerwb", diablo
"miner14",
"miner15",
"miner16",
//"miner17"  diablo
);
I believe this is where I would be defining the IP address, and hostname of miners.
I tried
Code:
"192.168.1.103", miner3
And it failed.
How to do this exactly?


I did not add the ability to give the ip address names, you must do that in your hosts file.


hosts file entry:  windows file: C:\Windows\System32\drivers\etc\hosts
Code:
192.168.1.103 miner1
192.168.1.106 miner2

php code:
Code:
//list of miners to monitor
$minerList= array(
"miner1",
"miner2"
);
legendary
Activity: 1134
Merit: 1005
February 23, 2012, 12:20:43 AM
#70
Code:
$minerList= array(
"miner1",
"miner2",
"miner3",
"miner4",
"miner5",
"miner6",
"miner7",
"miner8",
"miner9",
"miner10",
"miner11",
"miner12",
//"minerwb", diablo
"miner14",
"miner15",
"miner16",
//"miner17"  diablo
);
I believe this is where I would be defining the IP address, and hostname of miners.
I tried
Code:
"192.168.1.103", miner3
And it failed.
How to do this exactly?
Pages:
Jump to: