Bitcoin Forum
March 19, 2024, 03:06:25 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 »  All
  Print  
Author Topic: ANUBIS - a CGMINER Web Frontend  (Read 83109 times)
ocminer (OP)
Legendary
*
Offline Offline

Activity: 2660
Merit: 1240



View Profile WWW
January 09, 2012, 08:22:22 PM
Last edit: April 15, 2012, 10:27:19 PM by ocminer
 #1

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.png

http://www.imagebanana.com/view/4g5wy1ap/Bildschirmfoto20120109um20.59.52.png

http://www.imagebanana.com/view/bgkeoq3h/Bildschirmfoto20120109um21.00.01.png

http://www.imagebanana.com/code/45cgabhx/Bildschirmfoto20120109um21.00.13.png

http://www.imagebanana.com/code/pze1mi27/Bildschirmfoto20120109um21.00.23.png

As you can see, everything is pretty self explanatory.

Grab ANUBIS from here:

http://dl.dropbox.com/u/14741109/anubis-1.03.tar.gz


Newer versions are currently maintained by "P_shep" and can be grabbed from here:
https://github.com/pshep/ANUBIS


Installation 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
The Bitcoin software, network, and concept is called "Bitcoin" with a capitalized "B". Bitcoin currency units are called "bitcoins" with a lowercase "b" -- this is often abbreviated BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1710817585
Hero Member
*
Offline Offline

Posts: 1710817585

View Profile Personal Message (Offline)

Ignore
1710817585
Reply with quote  #2

1710817585
Report to moderator
1710817585
Hero Member
*
Offline Offline

Posts: 1710817585

View Profile Personal Message (Offline)

Ignore
1710817585
Reply with quote  #2

1710817585
Report to moderator
1710817585
Hero Member
*
Offline Offline

Posts: 1710817585

View Profile Personal Message (Offline)

Ignore
1710817585
Reply with quote  #2

1710817585
Report to moderator
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1063


Gerald Davis


View Profile
January 09, 2012, 08:56:03 PM
 #2

Looks awesome I will install it this evening.
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1862
Merit: 1011

Reverse engineer from time to time


View Profile
January 09, 2012, 09:38:56 PM
 #3

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
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
January 10, 2012, 12:44:00 AM
 #4

this is pretty cool, it sets up in about 5 mins, btw its --api-listen not --api-enable
ocminer (OP)
Legendary
*
Offline Offline

Activity: 2660
Merit: 1240



View Profile WWW
January 10, 2012, 01:15:19 AM
 #5

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
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
January 10, 2012, 01:26:30 AM
 #6

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 Offline

Activity: 2660
Merit: 1240



View Profile WWW
January 10, 2012, 01:28:10 AM
 #7

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
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
January 10, 2012, 01:33:18 AM
 #8

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
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
January 10, 2012, 01:34:23 AM
 #9

btw, I just sent a 1 BTC donation to the address included on the donate tab of anubis

this is very cool stuff dude Smiley
cablepair
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
January 10, 2012, 01:41:16 AM
 #10

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
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
January 10, 2012, 02:42:18 AM
 #11

lol

of course somebody had to try and screw with it

haha
cablepair
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
January 10, 2012, 03:13:13 AM
Last edit: January 10, 2012, 10:27:17 AM by cablepair
 #12

great work
Pontius
Full Member
***
Offline Offline

Activity: 225
Merit: 100


View Profile
January 10, 2012, 08:18:59 AM
 #13

Pretty good job. Thanks for sharing!
You should make the API port configurable though; using a hardcoded "4028" is ugly.  Wink
runeks
Legendary
*
Offline Offline

Activity: 980
Merit: 1008



View Profile WWW
January 10, 2012, 07:59:16 PM
 #14

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 Offline

Activity: 266
Merit: 250


The king and the pawn go in the same box @ endgame


View Profile
January 10, 2012, 08:35:18 PM
 #15

like +1

Looking for a quick easy mining solution? Check out
www.bitminter.com

See my trader rep at Bitcoinfeedback.com
!
ThiagoCMC
Legendary
*
Offline Offline

Activity: 1204
Merit: 1000

฿itcoin: Currency of Resistance!


View Profile
January 10, 2012, 09:24:02 PM
 #16

I'll test it tonight!!  Cheesy
ocminer (OP)
Legendary
*
Offline Offline

Activity: 2660
Merit: 1240



View Profile WWW
January 10, 2012, 11:33:39 PM
 #17

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 Smiley

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
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
January 10, 2012, 11:45:27 PM
 #18

ocminer: did you receive the donation I sent yesterday?
ocminer (OP)
Legendary
*
Offline Offline

Activity: 2660
Merit: 1240



View Profile WWW
January 10, 2012, 11:46:09 PM
 #19

Yes thank you very much ! Smiley

suprnova pools - reliable mining pools - #suprnova on freenet
https://www.suprnova.cc - FOLLOW us @ Twitter ! twitter.com/SuprnovaPools
Red Emerald
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500



View Profile WWW
January 11, 2012, 12:46:27 AM
 #20

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!

Code:
sudo ufw allow from <IP of monitor> to tcp port 4028

Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 »  All
  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!