Bitcoin Forum
July 24, 2024, 11:33:27 PM *
News: Help 1Dq create 15th anniversary forum artwork.
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: mgpumon standalone  (Read 3892 times)
Sy (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1003


Bounty Detective


View Profile
April 16, 2013, 03:00:18 PM
 #1

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?

BOUNTY DETECTIVE


















Powered by,
Sy (OP)
Legendary
*
Offline Offline

Activity: 1484
Merit: 1003


Bounty Detective


View Profile
April 17, 2013, 09:59:53 AM
 #2

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.

BOUNTY DETECTIVE


















Powered by,
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!