Author

Topic: How to get mgpumon web interface? (Read 9111 times)

member
Activity: 101
Merit: 10
Miner / Engineer
February 05, 2014, 01: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.
sr. member
Activity: 275
Merit: 250
September 11, 2013, 10:46:42 AM
#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
hero member
Activity: 812
Merit: 510
April 23, 2012, 04: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
member
Activity: 100
Merit: 10
Support the bitcoin economy, use BTC merchants
April 23, 2012, 02:00:40 PM
#5
thanks folks it's working beautifully!


hero member
Activity: 616
Merit: 506
April 22, 2012, 06: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
hero member
Activity: 812
Merit: 510
April 17, 2012, 09:57:40 PM
#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
member
Activity: 100
Merit: 10
Support the bitcoin economy, use BTC merchants
April 17, 2012, 04: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.
member
Activity: 100
Merit: 10
Support the bitcoin economy, use BTC merchants
April 12, 2012, 02: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  }


Jump to: