Bitcoin Forum
December 07, 2016, 08:59:58 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: How to get mgpumon web interface?  (Read 8796 times)
hashalfahalve
Member
**
Offline Offline

Activity: 100

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  }


1481101198
Hero Member
*
Offline Offline

Posts: 1481101198

View Profile Personal Message (Offline)

Ignore
1481101198
Reply with quote  #2

1481101198
Report to moderator
1481101198
Hero Member
*
Offline Offline

Posts: 1481101198

View Profile Personal Message (Offline)

Ignore
1481101198
Reply with quote  #2

1481101198
Report to moderator
1481101198
Hero Member
*
Offline Offline

Posts: 1481101198

View Profile Personal Message (Offline)

Ignore
1481101198
Reply with quote  #2

1481101198
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
hashalfahalve
Member
**
Offline Offline

Activity: 100

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
Full Member
***
Offline Offline

Activity: 146


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: 588


View Profile WWW
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

If you want to support further development of BAMT (http://bamter.org/):  1PoRYaGS56ksQmK7XXLurW3B2zwCAE8PRc
hashalfahalve
Member
**
Offline Offline

Activity: 100

Support the bitcoin economy, use BTC merchants


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

thanks folks it's working beautifully!


JL421
Full Member
***
Offline Offline

Activity: 146


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: 274



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: 72

Miner


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.

DOGE: D7cpuqwzgSu4VBrX8vhUo7t4SNC19NzEzr
LTC: LY9omkj3nncPDhM3TVbyru7hAwwUwuYuXJ
BTC: 16aoCMuo9XAGsPuKK9NL4xWr8B9fsSvMx
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!