Bitcoin Forum
December 09, 2016, 05:54:18 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: PHP Script to monitor Slushs pool workers.  (Read 790 times)
makko
Jr. Member
*
Offline Offline

Activity: 45


View Profile
July 31, 2011, 04:19:44 PM
 #1

Hi Guys,

I just threw together a simple php script that will monitor my profile for Slushs pool.

It checks critical information such as worker alive status and last share (in brackets).

Also checks that your wallet is correct. (important as if your account has been hacked payments could go elsewhere).

I have plans to turn this into a monitoring script that will be run using CRON. If there are errors (dead worker/change in wallet address) then it will email the report to specified email addresses.

It's located here:
http://pastebin.com/SXk3AmqT

It's really easy to use. Just stick it in a php file, enter the required values and visit the URL to check profile status.

NOTE: This script is really basic. I did a quick search and came up with this < http://forum.bitcoin.org/index.php?action=printpage;topic=23406.0 >
If you want more advanced monitoring.

Any feedback welcome!

Smiley

Too lazy for a fancy sig.. Tongue
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!