Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: Sy on April 16, 2013, 03:00:18 PM



Title: mgpumon standalone
Post by: Sy on April 16, 2013, 03:00:18 PM
https://github.com/aaronwolfe/Big-A-Miner-Thing/wiki/Using-bamt

This site says that you can run mgpumon on another system with a sane perl installation, i got 3 BAMT running but i can't located the needed files for mgpumon, i want to start it on my vserver and let my local nodes report to it.

Anyone done this before?


Title: Re: mgpumon standalone
Post by: Sy on April 17, 2013, 09:59:53 AM
I got it running, copy /opt/bamt/mgpumon to your internet machine

Code:
apt-get install libproc-pid-file-perl libterm-readkey-perl libcurses-perl libjson-perl

create mgpumon.conf, set the output dir, make sure that directory exists and is reachable by your web configuration
Code:
{ "screen": 0, "genhttp": 1, "httpdir": "/var/www/monitor", "httpindex": "index.html", "httpcss": "mgpumon.css", "debug": 0, "listen_port": 54545, "monitor_temp_hi": 80, "monitor_temp_lo": 45, "monitor_load_lo": 90, "monitor_hash_lo": 100, "monitor_fan_lo": 1000, "monitor_reject_hi": 3  }

copy mgpumon.css + bamt/ from /var/www to your webserver, bamt/ has to be in the domain root folder

screen ./mgpumon mgpumon.conf

change bamt.conf on clients
Code:
do_bcast: 1
do_direct_status: mgpumon server ip

Done.