Bitcoin Forum
January 19, 2021, 09:38:29 AM *
News: Latest Bitcoin Core release: 0.21.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 [7]
121  Bitcoin / Pools / Re: [~3000 GH/sec] BTC Guild - 0% Fees, Long polling, SSL, JSON API, and more on: June 29, 2011, 04:41:47 AM
API/Website were having connection problems, which would be why your charts freaked out.  UK cluster had an error in their sync code when they hit US East.  It ended up flooding the server with MySQL connections which made it so the other servers could not get a response, making API/My Account not work for about 20 minutes.

Thanks eleuthria, things are looking good since then.
122  Bitcoin / Pools / Re: BTC Guild - 0% Fees, Long polling, SSL, JSON API, and more [~2800 gH/sec] on: June 28, 2011, 09:25:56 PM
btcguild having issues with proper updates on rounds again?

everything looks ok with my miners. and the website seems right.

Looks fine to me.



As soon as I posted this, there was a brief glitch.


123  Bitcoin / Pools / Re: BTC Guild - 0% Fees, Long polling, SSL, JSON API, and more [~2800 gH/sec] on: June 28, 2011, 08:48:27 PM
btcguild having issues with proper updates on rounds again?

everything looks ok with my miners. and the website seems right.

Looks fine to me.

124  Bitcoin / Pools / Re: Official Temporary BTC Guild Thread on: June 28, 2011, 05:49:19 PM
I just posted the first version of my Cacti templates for BTC Guild monitoring/graphing this morning.

Additional details are here: http://forum.bitcoin.org/index.php?topic=23406.0
125  Bitcoin / Pools / Re: BTC Guild - 0% Fees, Long polling, SSL, JSON API, and more [~2800 gH/sec] on: June 27, 2011, 09:57:03 PM
Hi folks,

Sorry for cross-posting, but I wanted to give a pointer in this thread to my BTC Guild monitoring/stats graphing template for Cacti.

Additional details can be found here: http://forum.bitcoin.org/index.php?topic=23406.msg293974#msg293974
126  Bitcoin / Pools / Trouble Shooting on: June 27, 2011, 09:45:41 PM
Trouble Shooting

Perl issues
  • The most common Perl issue is missing modules. Have a look at this link for assistance in setting up CPAN and testing for missing modules.
  • If you have a Redhat-based distro (RHEL, CentOS, etc), and would prefer to use the RPMs instead of mucking about with CPAN, the perl-libwww-perl RPM (from upstream provider) contains HTTP::Request and other LWP modules. perl-JSON, perl-JSON-XS and perl-Cache-Memcached RPMs are available on RPM Forge and/or EPEL
  • These modules are also available in PPM form for ActiveState's ActivePerl on Windows, but as I don't run Windows I can't verify the details.

Poller Runtime Exceeded
  • Enable support for memcached. If this is not an option for you, then you must delete any unnecessary graphs and data sources.
127  Bitcoin / Pools / Installation Instructions on: June 27, 2011, 09:45:13 PM
Installation Instructions

Prerequisites
  • Installed and operational instance of Cacti (Spine and cmd.php pollers both work fine)
  • Perl 5.8.5 or later
  • HTTP::Request Perl module
  • LWP Perl module
  • JSON Perl module
  • JSON::XS Perl module
  • Optional Cache::Memcached Perl module

Install procedure
  • Grab latest script/templates zip package from here.
  • Unzip the archive
  • Edit btcguild_worker_stats.xml and slush_worker_stats.xml replacing REPLACE_WITH_YOUR_API_KEY with your API key from here: http://www.btcguild.com/my_api.php for BTC Guild and here: http://mining.bitcoin.cz/accounts/token-manage/ for Slush's pool.
  • Move btcguild_worker_stats.xml and slush_worker_stats.xml into your script_queries directory (i.e. cacti/resource/script_queries/)
  • Move query_btcguild_stats.pl and query_slush_stats.pl into your scripts directory (i.e. cacti/scripts/)
  • Ensure query_btcguild_stats.pl and query_slush_stats.pl run (perl query_btcguild_stats.pl generates the help text). If this doesn't work (you see an error about something missing) see the troubleshooting post for resolving Perl issues.
  • Import the cacti_host_template_btc_guild.xml and/or cacti_host_template_slush.xml host templates from the Cacti GUI
  • Create a new host in Cacti, selecting the BTC Guild or Slush host template. Be sure to disable Downed Host Detection and SNMP. Set the hostname to www.btcguild.com for BTC Guild or mining.bitcoin.cz for Slush.
  • Ensure the Re-Index Method for the Data Queries is set to Index Count Changed
  • Click on Create Graphs for this Host
  • Select the relevant Graph Templates and Worker and Pool Data Queries
  • Click on create
  • You will be prompted for the API Key for each the graph templates. Enter the key from here: http://www.btcguild.com/my_api.php
  • Click Go
  • put the graphs or host in the Graph Tree branch of your choosing
  • Have fun!

Optional install procedure
  • v0.02 of the script supports memcached for greatly improved polling performance.
  • For BTC Guild: uncomment lines 54-56 in query_btcguild_stats.pl, and edit line 56 to point to your memcached instance.
  • For Slush: uncomment lines 31-33 in query_slush_stats.pl, and edit line 33 to point to your memcached instance.

Notes
  • Polling the BTC Guild API JSON can take 5-10 seconds per iteration. This means the total polling time can be quite long.
  • If you are monitoring a lot of workers or pools it is possible that you may cause your poller to exceed 300 seconds (since checks for the same host are executed serially), and abort polling after running out of time. Monitor your Cacti logs for Poller Runtime Exceeded errors and keep an eye on the poller execution time. If the poller time is longer than what you would like, enable memcached support in the script.
128  Bitcoin / Pools / Cacti monitoring/stats graphing template for mining pools on: June 27, 2011, 09:44:45 PM
Hi folks,

I wanted to share my work on a Cacti template for monitoring mining pools (BTC Guild and Slush are currently supported). The templates (and included scripts) leverage the mining pool's JSON feeds to generate reasonably pretty graphs for the health of your account, worker (miner) performance and overall pool performance (if the pool supports this). With Cacti's PIA and the THold plugin you could take this further and define alert thresholds to notify you of a change if anything falls out of tolerance.

Unlike some of the pool monitoring services out there, this is entirely free. However, if you feel so inclined, donations are much appreciated and help encourage the development of additional features and support for more pools.  With a little effort, you too can set up your own monitor to keep an eye on all your miners and the pools they use using these templates.

Here are a few teaser graphs from my miners:



Slush's Pool

User Rewards


Worker Hash Rate (OpenCL)


Worker Hash Rate (Total all workers)


Worker Last Share (OpenCL)


Worker Last Share (Total all workers)


Worker Score (OpenCL)


Worker Score (Total all workers)


Worker Shares (OpenCL)


Worker Shares (Total all workers)






BTC Guild

Difficulty


Difficulty (NMC)


Pool PPS Rate


Pool PPS Rate (NMC)


Pool Speed


24 Hour Rewards


24 Hour Rewards (NMC)


Paid Rewards


Paid Rewards (NMC)


Total Rewards


Total Rewards (NMC)


Unpaid Rewards


Unpaid Rewards (NMC)


Worker Hash Rate


Worker Last Share


Worker Shares


Worker Shares (NMC)


Worker Shares Since Reset


Worker Shares Since Reset



Revision History
  • v0.07 5/8/2012
    Major rework for comprehensive support of the new BTC Guild PPS API and simplification of the script. Required nearly all related Cacti templates to be reworked as well. Added NMC stats. Removed Pool stats as there is no API support by BTCGuild for pool stats anymore.  At the time of writing, BTC Guild only allows one API connection per 60 seconds, so memcached is essentially required now.
  • v0.06 10/24/2011
    Initial support of BTC Guild following their move to PPS. Worker Cumulative Total, Worker Last Share, Worker Reset Shares and Worker Total are not currently working properly and more work is needed to correct this.
  • 7/18/2011
    Removed pool and worker round stats for BTC Guild as these are no longer supported in the API.
  • v0.05 7/14/2011
    Added 24 hour totals now that this has been added to the BTC Guild JSON. Minor bugfix to not blow up when we "never" in last_share responses. Added Worker Last Share.
  • v0.04 7/6/2011
    Added support for Slush's pool. Minor bugfixes for worker indexing in BTC Guild script after the addition of worker totals. Added more specific memcached namespace to allow multiple accounts to be monitored from the same Cacti instance sharing memcached. Added simple check for when the API JSON gives us null.
  • v0.03 7/4/2011
    Added total all workers (sum of all workers) to script as this is lacking in the API JSON. Added the following graph templates: Worker Reset, Worker Cumulative Total, Blocks Found and Payouts.
  • v0.02 6/29/2011
    Added simple JSON caching via memcached resulting in big performance boost:
      Before -> SYSTEM STATS: Time:114.1648 Method:spine Processes:2 Threads:4 Hosts:12 HostsPerProcess:6 DataSources:159 RRDsProcessed:105
      After  -> SYSTEM STATS: Time:19.5116 Method:spine Processes:2 Threads:4 Hosts:12 HostsPerProcess:6 DataSources:159 RRDsProcessed:105
  • v0.01 6/28/2011
    First working version.  No JSON query caching support (Slow!).
129  Other / Beginners & Help / Re: Stale / rejected share rate? on: June 27, 2011, 06:21:24 PM
I've noticed it depends on the pool.

I'm looking at my stats for last 1500 shares for each pool I'm using, and here are the results:
With BTCGuild, it's 16 of 1500,
with DeepBit, it's 6 of 1500,
and with bitcoins.lc it's 40 of 1500.

So it may really depend on the pool.

Two cards run @ 1GHz core/300 MHz RAM, and one runs at @ 950/300. When overclocked too much, they don't increase the rejection rate, but the miner just hangs instead Smiley

I noticed that while BTC Guild was undergoing maintenance two weeks ago my stale rate shot up for my Phoenix miner, but not for the Ufasoft miners. As soon as the maintenance was finished the Phoenix stale rate dropped back down to next to nothing with no setting changes on my part.
130  Other / Beginners & Help / Re: Trying to compile Ufasoft miner on Linux - aka BREAKING DOWN on: June 27, 2011, 04:43:22 PM
Ufasoft does have some pretty exotic compile dependencies, so if troubleshooting errors like this (missing PCRE library) is to much to deal with, I too would suggest jgarzik's miner.
131  Other / Beginners & Help / Re: Whitelist Requests (Want out of here?) on: June 26, 2011, 07:58:33 PM
Hi folks,

I'm a long time anonymous forum lurker but recently made some headway and wanted to share my work on a Cacti template for BTC Guild and realized new users couldn't post.

Here are a few teaser graphs from my CPU miner I have been using while the 6990s are on order. Note: Some of these graphs do not have a full 24 hours of data, as I have only just turned on polling:

User Stats


USWest Pool Speed


Total All Pool Active Workers


Total All Pool Hash Rate


Total All Pool Round Shares


Total All Pool Round Time


Worker Round


Worker Total
132  Other / Beginners & Help / Re: NEW: BTC Mining Calculator - with Difficulty Change Adjusted Calculations on: June 26, 2011, 06:09:08 PM
Very helpful!
133  Other / Beginners & Help / Re: What's your Mhash/s? (Pissing contest here) on: June 26, 2011, 05:55:48 PM
12 MH/s  Tongue

Thus far just CPU mining while I wait for the 6990s to come in...
Pages: « 1 2 3 4 5 6 [7]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!