ocminer (OP)
Legendary
Offline
Activity: 2688
Merit: 1240
|
|
January 09, 2012, 08:22:22 PM Last edit: April 15, 2012, 10:27:19 PM by ocminer |
|
Hi ! Thanks to cgminer's API I could write a small web frontend for cgminer which I'm now using to monitor (part of) my rigs. Currently its quite minimalistic, you can add hosts, define "color thresholds" for temperatures, fans, min. MH/s .. Sooner or Later (as I have some spare time) I'll add failure notification via Prowl/NMA/E-Mail and many other features. Here some Screenshots: http://www.imagebanana.com/view/1lufqtkv/Bildschirmfoto20120109um20.59.39.pnghttp://www.imagebanana.com/view/4g5wy1ap/Bildschirmfoto20120109um20.59.52.pnghttp://www.imagebanana.com/view/bgkeoq3h/Bildschirmfoto20120109um21.00.01.pnghttp://www.imagebanana.com/code/45cgabhx/Bildschirmfoto20120109um21.00.13.pnghttp://www.imagebanana.com/code/pze1mi27/Bildschirmfoto20120109um21.00.23.pngAs you can see, everything is pretty self explanatory. Grab ANUBIS from here: http://dl.dropbox.com/u/14741109/anubis-1.03.tar.gzNewer versions are currently maintained by "P_shep" and can be grabbed from here:https://github.com/pshep/ANUBISInstallation is simple. You need a MySQL/PHP enabled host within your rig-network. You have to set the "--api-listen and --api-network" cgminer switches, the rest is done within ANUBIS. Extract the .tar.gz to a directory of your choice i.e. http://my.host.com/anubis and edit "config.inc.php" to reflect your db values for ANUBIS. You need to have a user/password and a database set in your MySQL configuration for ANUBIS. After you updated "config.inc.php" simply run ANUBIS by pointing your browser to the root dir of ANUBIS i.e. http://my.host.com/anubis and start adding hosts. Requirements: -- needs php, php-mysql php config : set "short_open_tag" to "enabled" in /etc/php.ini Let me know if you encounter any bugs or problems or if you have any new ideas, preferably by posting into this thread, I'll do fixes as soon as I can ! Have fun ! ocminer
|
suprnova pools - reliable mining pools - #suprnova on freenet https://www.suprnova.cc - FOLLOW us @ Twitter ! twitter.com/SuprnovaPools
|
|
|
DeathAndTaxes
Donator
Legendary
Offline
Activity: 1218
Merit: 1079
Gerald Davis
|
|
January 09, 2012, 08:56:03 PM |
|
Looks awesome I will install it this evening.
|
|
|
|
Remember remember the 5th of November
Legendary
Offline
Activity: 1862
Merit: 1011
Reverse engineer from time to time
|
|
January 09, 2012, 09:38:56 PM |
|
Once the API is extended to control intensity, that is when I will modify a program of mine(uses ADL) to automatically adjust intensity to keep a GPU under a certain temperature.
|
BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
|
|
|
cablepair
|
|
January 10, 2012, 12:44:00 AM |
|
this is pretty cool, it sets up in about 5 mins, btw its --api-listen not --api-enable
|
|
|
|
ocminer (OP)
Legendary
Offline
Activity: 2688
Merit: 1240
|
|
January 10, 2012, 01:15:19 AM |
|
Thanks, you are right, I've corrected it to "--api-listen"
|
suprnova pools - reliable mining pools - #suprnova on freenet https://www.suprnova.cc - FOLLOW us @ Twitter ! twitter.com/SuprnovaPools
|
|
|
cablepair
|
|
January 10, 2012, 01:26:30 AM |
|
so I have a question
adjusting the GPUs setting temps fans, etc, via Anubis only works if you enable --auto-gpu --auto-fan etc correct?
otherwise it just gives you a nice way to check on your miners over the web - right?
|
|
|
|
ocminer (OP)
Legendary
Offline
Activity: 2688
Merit: 1240
|
|
January 10, 2012, 01:28:10 AM |
|
At the moment it only gives you a nice and easy way of keeping track of your miners.
Control is planned for some future version.
You have to enable both --api switches to get Anubis to work at all.
|
suprnova pools - reliable mining pools - #suprnova on freenet https://www.suprnova.cc - FOLLOW us @ Twitter ! twitter.com/SuprnovaPools
|
|
|
cablepair
|
|
January 10, 2012, 01:33:18 AM |
|
very cool, I wanted to make sure because I wanted to offer mine as an example so people can see what it looks like
want to make sure people cant manipulate my GPUS over the web lol
|
|
|
|
cablepair
|
|
January 10, 2012, 01:34:23 AM |
|
btw, I just sent a 1 BTC donation to the address included on the donate tab of anubis this is very cool stuff dude
|
|
|
|
cablepair
|
|
January 10, 2012, 01:41:16 AM |
|
if anyone wants to see anubis in action check it out http://cablepair.devcoin.org/anubis/I disabled the config page just in case. Check it out guys, and please send this man a donation like I did - this is very awesome work!
|
|
|
|
cablepair
|
|
January 10, 2012, 02:42:18 AM |
|
lol
of course somebody had to try and screw with it
haha
|
|
|
|
cablepair
|
|
January 10, 2012, 03:13:13 AM Last edit: January 10, 2012, 10:27:17 AM by cablepair |
|
great work
|
|
|
|
Pontius
|
|
January 10, 2012, 08:18:59 AM |
|
Pretty good job. Thanks for sharing! You should make the API port configurable though; using a hardcoded "4028" is ugly.
|
|
|
|
runeks
Legendary
Offline
Activity: 980
Merit: 1008
|
|
January 10, 2012, 07:59:16 PM |
|
Once the API is extended to control intensity, that is when I will modify a program of mine(uses ADL) to automatically adjust intensity to keep a GPU under a certain temperature.
What's the advantage to doing this vs using cgminer's built-in function that adjusts the core clock depending on temperature? More performance?
|
|
|
|
ZodiacDragon84
Sr. Member
Offline
Activity: 266
Merit: 250
The king and the pawn go in the same box @ endgame
|
|
January 10, 2012, 08:35:18 PM |
|
like +1
|
|
|
|
ThiagoCMC
Legendary
Offline
Activity: 1204
Merit: 1000
฿itcoin: Currency of Resistance!
|
|
January 10, 2012, 09:24:02 PM |
|
I'll test it tonight!!
|
|
|
|
ocminer (OP)
Legendary
Offline
Activity: 2688
Merit: 1240
|
|
January 10, 2012, 11:33:39 PM |
|
Thanks for your replys. You can define the port in the next version. I'm also integrating Prowl and NMA (Notify my android) notifications when cards go dead, miners go down and so on. Currently there's no really free way of implementing SMS, but I think almost everyone has an IPhone meanwhile and will receive E-Mails or Prowl Notifications I'll also try to fix some bugs, currently it takes forever to load if a miner is not reachable, the default timeout is too high.
|
suprnova pools - reliable mining pools - #suprnova on freenet https://www.suprnova.cc - FOLLOW us @ Twitter ! twitter.com/SuprnovaPools
|
|
|
cablepair
|
|
January 10, 2012, 11:45:27 PM |
|
ocminer: did you receive the donation I sent yesterday?
|
|
|
|
ocminer (OP)
Legendary
Offline
Activity: 2688
Merit: 1240
|
|
January 10, 2012, 11:46:09 PM |
|
Yes thank you very much !
|
suprnova pools - reliable mining pools - #suprnova on freenet https://www.suprnova.cc - FOLLOW us @ Twitter ! twitter.com/SuprnovaPools
|
|
|
Red Emerald
|
|
January 11, 2012, 12:46:27 AM |
|
I'm working on a similar project, and just wanted to make sure people are being secure. If you open port 4028 for cgminer to the world, then anyone can send and command to cgminer. This could be bad since someone on the internet could send the "quit" command to your miner. Make sure you configure your firewalls properly! sudo ufw allow from <IP of monitor> to tcp port 4028
|
|
|
|
|