Rig monitor and Pool Switcher script Published at: 03/05/2014 00:18:34

Installation

Download here

1. Configure script

Line 129 path to your *gminer config, CONFIG SHOULD BE WRITEABLE for webserver user. Line 132 IP, Port of your *gminer, you can add any number of rigs, but pool switching work only for local. For example 2 rigs config
$farms = array(
		array('Farm-1','127.0.0.1',4001),
		array('Farm-2','192.168.1.2',4002)
	);
Last step check that folder where script placed is WRITEABLE :P Script will save backup configs and working profiles.

2. Configure *gminer api

Add to your config
"api-allow":"W:127.0.0.1",
"api-listen":true,
"api-port":"4001"
W option before allowed IP is very important - for miner restarting

3. Thats all, go to http://some_ip.com/switcher.php and use it

Designed for personal use, working is not guaranteed