Bitcoin Forum
November 19, 2024, 02:11:47 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to get mgpumon web interface?  (Read 9111 times)
hashalfahalve (OP)
Member
**
Offline Offline

Activity: 100
Merit: 10

Support the bitcoin economy, use BTC merchants


View Profile
April 12, 2012, 07:10:32 PM
 #1

On bamt I'm using mgpumon in the console, but on the website it shows a web interface with all the mgpumon outputs.

I have do_mgpumon enabled and all that is in my mgpumon.conf is this:


Code:
{ "screen": 0, "genhttp": 1, "httpdir": "/tmp/mgpumon", "httpindex": "index.html", "httpcss": "/bamt/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  }


hashalfahalve (OP)
Member
**
Offline Offline

Activity: 100
Merit: 10

Support the bitcoin economy, use BTC merchants


View Profile
April 17, 2012, 09:49:06 PM
 #2

OK this is now the second time I've seen someone with mgumon up on a webinterface with the url:

http://localhost/mgpumon

Is there a switch in the conf file I'm missing somewhere to enable this? It works fine on the command line.
JL421
Hero Member
*****
Offline Offline

Activity: 812
Merit: 510


View Profile
April 18, 2012, 02:57:40 AM
 #3

5 things

1) Your mgpumon.conf should have this... "screen"; 1
2) I believe the code is "mgpumon /etc/bamt/mgpumon.conf" without quotes to load the config
3) edit /etc/bamt/bamt.conf and add the line "  do_mgpumon: 1" somewhere without the quotes. I believe it is two spaces for the indent, but just match it with something that was present originally and you'll be fine.
4) coldreboot   type that exactly as it is...
5) http://localhost/mgpumon/  You need that back slash...it is important
lodcrappo
Hero Member
*****
Offline Offline

Activity: 616
Merit: 506


View Profile
April 22, 2012, 11:58:00 PM
 #4

5 things

1) Your mgpumon.conf should have this... "screen"; 1

no, it really should not

2) I believe the code is "mgpumon /etc/bamt/mgpumon.conf" without quotes to load the config

If you want to run it manually, that will work.  not needed if setting do_mgpumon in config.

3) edit /etc/bamt/bamt.conf and add the line "  do_mgpumon: 1" somewhere without the quotes. I believe it is two spaces for the indent, but just match it with something that was present originally and you'll be fine.
yes
4) coldreboot   type that exactly as it is...
5) http://localhost/mgpumon/  You need that back slash...it is important

yes.  it is important Smiley
hashalfahalve (OP)
Member
**
Offline Offline

Activity: 100
Merit: 10

Support the bitcoin economy, use BTC merchants


View Profile
April 23, 2012, 07:00:40 PM
 #5

thanks folks it's working beautifully!


JL421
Hero Member
*****
Offline Offline

Activity: 812
Merit: 510


View Profile
April 23, 2012, 09:24:26 PM
 #6

5 things

1) Your mgpumon.conf should have this... "screen"; 1

no, it really should not

I thought I read in the BAMT thread that the "screen"; 1 was required somewhere...oh well
c1010010
Sr. Member
****
Offline Offline

Activity: 275
Merit: 250



View Profile
September 11, 2013, 03:46:42 PM
 #7


Bump for curious users.


Steps to enable mgpumon for your multi-rig farm.

1) for every rig you want to have report status (a.k.a. REPORTER):
    In your /etc/bamt/bamt.conf file:
        add/edit the "do_direct_status" line and point it to the host you want to receive the data.  (a.k.a. LISTENER)
            example:     do_direct_status: 192.168.1.26

    Note:  The LISTENER already has the ability to receive its own data, so there is no need to add the "do_direct_status" line. 
              But it can't hurt if you do.

2) on your LISTENER rig:
    In your /etc/bamt/bamt.conf file:
        add/edit the "do_mgpumon" line to enable the LISTENER.
            example:     do_mgpumon: 1

3) reboot your LISTENER or start mgpupmon:
    a) reboot
            example: sudo coldreboot

    b) start mgpumon
            example:  sudo screen -Samd mgpumon mgpumon /etc/bamt/mgpumon.conf

4) Log in to your LISTENER's mgpumon to view status
        example: http://localhost/mgpumon/ 

    Note: That last slash is important.  Don't forget her.  (slashes are female, back-slashes are male, BTW)

Pro Tip: Use a service like no-ip.com in conjunction with your firewall port-forwarding rules to forward WAN initiatiated requests to view your LAN gpumon data:
        example: http://myRig.no-ip.biz/mgpumon




---

Search Keywords:  mgpumon, web interface, cgminer, bamt, mgpumon.conf

         YOU TOO CAN BE A MILLIONAIRE – INFINITECOIN Infinite possibilities – http://infinitecointalk.org          
eduncan911
Member
**
Offline Offline

Activity: 101
Merit: 10

Miner / Engineer


View Profile WWW
February 05, 2014, 06:44:25 PM
 #8

For the even curious-er...

Using LTCRabbit V2, the address is:

http://[ip-address]:8080/mgpumon/


LTCRabbit V2 already has go_mgpumon 1 and everything pretty much setup.  All you need to do is:

sudo nano /etc/bamt/bamt.conf

And change the IP address for listener and reporting, just as c1010010 mentioned above.  That's about it.  I would also recommend changing the name of your rigs as well.  I named mine via the static IP address I used for them.

BTC: 131Zt92zoA7XUfkLhm1p2FwSP3tAxE43vf
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!