From f5aa2b134fc44d3b64851de596bdff1ffd1601d5 Mon Sep 17 00:00:00 2001 From: EUcancER Date: Wed, 31 Aug 2011 13:31:18 +0200 Subject: 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. --- gold/scoreboard/modules/available/bitcoin/init | 47 ++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100755 gold/scoreboard/modules/available/bitcoin/init (limited to 'gold/scoreboard/modules/available/bitcoin/init') diff --git a/gold/scoreboard/modules/available/bitcoin/init b/gold/scoreboard/modules/available/bitcoin/init new file mode 100755 index 00000000..c4ddf32f --- /dev/null +++ b/gold/scoreboard/modules/available/bitcoin/init @@ -0,0 +1,47 @@ +#!/bin/sh +#set -x +HERE=$(dirname $(readlink -f $0)) +. $HERE/../../../profile +mkdir -p $PDIR +cat > $PDIR/bitcoin.conf <$PDIR/bitcoin_last_day.conf -- cgit v1.2.3 From d88d17941f4b2f249747fd90ac5c40349d8f2392 Mon Sep 17 00:00:00 2001 From: EUcancER Date: Wed, 31 Aug 2011 14:02:09 +0200 Subject: scoreboard: generalization of modules symlinks to active will be created when calling init in the modules ati_temper/init script is more general (holds hostname variable) update README with last commit message. --- gold/scoreboard/modules/available/bitcoin/init | 1 + 1 file changed, 1 insertion(+) (limited to 'gold/scoreboard/modules/available/bitcoin/init') diff --git a/gold/scoreboard/modules/available/bitcoin/init b/gold/scoreboard/modules/available/bitcoin/init index c4ddf32f..cc5688bd 100755 --- a/gold/scoreboard/modules/available/bitcoin/init +++ b/gold/scoreboard/modules/available/bitcoin/init @@ -3,6 +3,7 @@ HERE=$(dirname $(readlink -f $0)) . $HERE/../../../profile mkdir -p $PDIR +ln -s $HERE/index $HERE/../../active/bitcoin cat > $PDIR/bitcoin.conf < Date: Mon, 5 Sep 2011 01:43:17 +0200 Subject: using external stats provider instead of running own bitcoind this reduces the necessary maintenance overhead for bitcoind where i had some issues with overly sized databases on a small hdd bitcoinslc now provides the intel i am looking for: Difficulty and Current Block scoreboard -> bitcoin uses the new stats provider --- gold/scoreboard/modules/available/bitcoin/init | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gold/scoreboard/modules/available/bitcoin/init') diff --git a/gold/scoreboard/modules/available/bitcoin/init b/gold/scoreboard/modules/available/bitcoin/init index cc5688bd..97b60402 100755 --- a/gold/scoreboard/modules/available/bitcoin/init +++ b/gold/scoreboard/modules/available/bitcoin/init @@ -35,9 +35,9 @@ set tmargin 2 set size 1,0.5 set origin 0.0,0.5 set key left top -plot "$ADIR/ticker_bitcoin" using 1:2 smooth bezier title "Scex High" with lines , \ - "$ADIR/ticker_bitcoin" using 1:3 smooth bezier title "Scex Low" with lines , \ - "$ADIR/ticker_bitcoin" using 1:4 smooth bezier title "Scex Last" with lines +plot "$ADIR/ticker_bitcoin" using 1:2 smooth bezier title "High" with lines , \ + "$ADIR/ticker_bitcoin" using 1:3 smooth bezier title "Low" with lines , \ + "$ADIR/ticker_bitcoin" using 1:4 smooth bezier title "Last" with lines EOF -- cgit v1.2.3