summaryrefslogtreecommitdiffstats
path: root/gold/scoreboard/modules/available/static/init
diff options
context:
space:
mode:
authorEUcancER <root@euer.krebsco.de>2011-08-31 13:31:18 +0200
committerEUcancER <root@euer.krebsco.de>2011-08-31 13:31:18 +0200
commitb074075c58ea664e858b06f03409338e2c3e6dc9 (patch)
tree84f9139081a3c43fcba666608e7cdb2a819d94fa /gold/scoreboard/modules/available/static/init
parenta2e4ac21444fd9af436039ba921e809cfca59ea2 (diff)
gold/scoreboard: initial commit
Add a copy/paste branch of the original btc_logger. I couldn't import the whole repo as it contains tons of passwords and keys (which is not a good thing as these are somewhat special for me :) scoreboard contains a number of modules which do a number of things: ati_temper: log temperature data of an ati_temper enabled host : see //gold/miner/bin/ati_temper solidcoin : graph solidcoin informations bitcoin : s.a. In addition to that live stats are generated by the script //gold/scoreboard/profile contains all the important paths and variables which are sourced by the modules. In a new installation this file needs to be customized. //gold/scoreboard/util/schedule_logger is the scheduler for generating the graphs every 5 minutes. you will need to run /modules/available/$MODULE/init before using the scoreboard as a whole. the modules directory is still a bit cluttered, sorry about that.
Diffstat (limited to 'gold/scoreboard/modules/available/static/init')
-rwxr-xr-xgold/scoreboard/modules/available/static/init32
1 files changed, 32 insertions, 0 deletions
diff --git a/gold/scoreboard/modules/available/static/init b/gold/scoreboard/modules/available/static/init
new file mode 100755
index 00000000..a7dc8859
--- /dev/null
+++ b/gold/scoreboard/modules/available/static/init
@@ -0,0 +1,32 @@
+#!/bin/sh
+# TODO use active modules to find out which to build
+HERE=$(dirname $(readlink -f $0))
+. $HERE/../../../profile
+cat <<EOF >$GDIR/index.html
+<html>
+ <head>
+ <title>Stats</title>
+ </head>
+ <body>
+ <center>
+ <div style="background-color: lightgrey;">
+ <b><a href=http://bitcoin.sipa.be/index.html>Hashrate stats</a>
+ <a href=http://bitcoinx.com/profit/index.php>Mining Calculator</a>
+ </b>
+ </div>
+ <h1>Chinaman</h1>
+ <img src="chinaman_overall.png"> <img src="chinaman_24h.png"><br/>
+ <h1>Solidcoin</h1>
+ <img src="solidcoin.png"> <img src="solidcoin_24h.png"><br/>
+ <h1>Bitcoin</h1>
+ <img src="bitcoin.png"> <img src="bitcoin_24h.png"><br/>
+ <!--<h1>BTCGuild</h1>
+ <img src="btcguild.png"> <img src="btcguild_24h.png"><br/>
+ <h1>Bitcoinpool</h1>
+ <img src="bitcoinpool.png"> <img src="bitcoinpool_24h.png"><br/>
+ <h1>Bitcoins.lc</h1>
+ <img src="bitcoinslc.png"> <img src="bitcoinslc_24h.png"><br/> --!>
+ </center>
+ </body>
+</html>
+EOF