Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: hashalfahalve on April 12, 2012, 07:10:32 PM



Title: How to get mgpumon web interface?
Post by: hashalfahalve on April 12, 2012, 07:10:32 PM
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  }




Title: Re: How to get mgpumon web interface?
Post by: hashalfahalve on April 17, 2012, 09:49:06 PM
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.


Title: Re: How to get mgpumon web interface?
Post by: JL421 on April 18, 2012, 02:57:40 AM
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


Title: Re: How to get mgpumon web interface?
Post by: lodcrappo on April 22, 2012, 11:58:00 PM
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 :)


Title: Re: How to get mgpumon web interface?
Post by: hashalfahalve on April 23, 2012, 07:00:40 PM
thanks folks it's working beautifully!




Title: Re: How to get mgpumon web interface?
Post by: JL421 on April 23, 2012, 09:24:26 PM
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


Title: Re: How to get mgpumon web interface?
Post by: c1010010 on September 11, 2013, 03:46:42 PM

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


Title: Re: How to get mgpumon web interface?
Post by: eduncan911 on February 05, 2014, 06:44:25 PM
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.