Pages:
Author

Topic: M's Miner (Ant/SP) Monitor v5.2: alerts,auto/mass/scheduled reboot/mobile miner - page 58. (Read 209500 times)

legendary
Activity: 1540
Merit: 1001
I just made a change to allow anything on 192.168.1.0/24 and it didn't accept a pool change Sad Sounds like the only clean way to get data is through the webpage. It was worth a shot.

EDIT:

I too am also having issues with 1.5 finding my S1's. I tried deleting all of them and re-adding and still no luck Sad I get an error when I try to run 1.4 now.

1.5 sticks a "S1: " in front of the address in the registry.  1.4 won't like that.

M
hero member
Activity: 566
Merit: 500
I just made a change to allow anything on 192.168.1.0/24 and it didn't accept a pool change Sad Sounds like the only clean way to get data is through the webpage. It was worth a shot.

EDIT:

I too am also having issues with 1.5 finding my S1's. I tried deleting all of them and re-adding and still no luck Sad I get an error when I try to run 1.4 now.

Code:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: Value does not fall within the expected range.
   at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
   at Microsoft.VisualBasic.CompilerServices.NewLateBinding.CallMethod(Container BaseReference, String MethodName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, BindingFlags InvocationFlags, Boolean ReportErrors, ResolutionFailure& Failure)
   at Microsoft.VisualBasic.CompilerServices.NewLateBinding.ObjectLateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
   at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
   at MAntMonitor.frmAntMonitor.RefreshGrid()
   at MAntMonitor.frmAntMonitor.Form1_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34011 built by: FX45W81RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
MAntMonitor
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/runlinux/Downloads/MAntMonitor14/MAntMonitor.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 12.0.20806.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
legendary
Activity: 1540
Merit: 1001
I was browsing around on an S1 when I first got it. I think one could enable the API for local network with a change of one of the files. Want me to test and report back? I think it voids the warranty though Sad

I think a few changes here could allow API access to the miner.

/etc/config/cgminer

Thanks for looking.  I do not want to require someone to edit a file.  I want this to be PNP, like S1s.

I think, though, this confirms it's only accessible by localhost without a change.

M
hero member
Activity: 566
Merit: 500
I was browsing around on an S1 when I first got it. I think one could enable the API for local network with a change of one of the files. Want me to test and report back? I think it voids the warranty though Sad

I think a few changes here could allow API access to the miner.

/etc/config/cgminer
Code:
config cgminer 'default'
        option chip_frequency '282'
        option miner_count '24'
        option api_allow 'W:127.0.0.1'
        option more_options '--quiet'
        option target '60'
        option overheat '70'
        option pool1url 'cure.cryptopools.com:3347'
        option pool1user 'runlinux.50'
        option pool1pw '1'
legendary
Activity: 1540
Merit: 1001
Maybe that was a bit harsh Tongue but the cgminer api is readable by default although it is restricted to read only(it initializes using "--api-network"). Using this for management is fine but I would be very careful about the refresh rate especially with S1. I would suggest using the cgminer API for monitoring instead of the html pages it will be much faster.

Speed isn't an issue.  As noted above, the UI to the S1s is slow as well. 

I'm also doubtful the cgminer shows everything the UI shows, such as the status of the Ant chains.

M

It does show that information. The UI simply reads the cgminer API actually so everything you see there can be pulled directly off the cgminer API.

I had a look at the cgminer API.  I also googled antminer API.  The only thing I found is S1s default to 127.0.0.1 only, so you have to change it before you can reach it on the network.  I found zero info on the API that the S1s and S2s use in cgminer.  However I did find lots of people saying they were unable to get the cgminer APIs to provide what they needed, for one reason or another.

Since you seem to be in the know, would you mind pointing me to some documentation on the API? Smiley

Thanks.

M
newbie
Activity: 32
Merit: 0
Quote
Can you paste some screenshots?


1.4 - vs 1.5 images



legendary
Activity: 964
Merit: 1000
legendary
Activity: 1540
Merit: 1001

I just upgraded from 1.4 to 1.5 and my Ants page is blank too - even though I see info on the browser1, browser2 pages

I also deleted this reg key - My Computer\HKEY_CURRENT_USER\Software\MAntMonitor  and re-entered my S1 info but it did not help

(now downgrading back to 1.4)


Can you paste some screenshots?

M
newbie
Activity: 32
Merit: 0

I just upgraded from 1.4 to 1.5 and my Ants page is blank too - even though I see info on the browser1, browser2 pages

I also deleted this reg key - My Computer\HKEY_CURRENT_USER\Software\MAntMonitor  and re-entered my S1 info but it did not help

(now downgrading back to 1.4)
legendary
Activity: 1540
Merit: 1001
Maybe that was a bit harsh Tongue but the cgminer api is readable by default although it is restricted to read only(it initializes using "--api-network"). Using this for management is fine but I would be very careful about the refresh rate especially with S1. I would suggest using the cgminer API for monitoring instead of the html pages it will be much faster.

Speed isn't an issue.  As noted above, the UI to the S1s is slow as well. 

I'm also doubtful the cgminer shows everything the UI shows, such as the status of the Ant chains.

M

It does show that information. The UI simply reads the cgminer API actually so everything you see there can be pulled directly off the cgminer API.

Okay.  I might try to look at querying the API for everything.

Thanks.

M
sr. member
Activity: 261
Merit: 257
Maybe that was a bit harsh Tongue but the cgminer api is readable by default although it is restricted to read only(it initializes using "--api-network"). Using this for management is fine but I would be very careful about the refresh rate especially with S1. I would suggest using the cgminer API for monitoring instead of the html pages it will be much faster.

Speed isn't an issue.  As noted above, the UI to the S1s is slow as well. 

I'm also doubtful the cgminer shows everything the UI shows, such as the status of the Ant chains.

M

It does show that information. The UI simply reads the cgminer API actually so everything you see there can be pulled directly off the cgminer API.
legendary
Activity: 1540
Merit: 1001
Maybe that was a bit harsh Tongue but the cgminer api is readable by default although it is restricted to read only(it initializes using "--api-network"). Using this for management is fine but I would be very careful about the refresh rate especially with S1. I would suggest using the cgminer API for monitoring instead of the html pages it will be much faster.

Speed isn't an issue.  As noted above, the UI to the S1s is slow as well. 

I'm also doubtful the cgminer shows everything the UI shows, such as the status of the Ant chains.

M
legendary
Activity: 1540
Merit: 1001
hey i have been having some troubles getting my antminers to show up in the ants page. i can manually add them. and i have browser 1 2 and 3 but it doesnt recognize all 3 in "ants"

can you post a screenshot please?

M
sr. member
Activity: 261
Merit: 257
I had a look through the source code and I would seriously suggest nobody use this application, there doesn't seem to be anything malicious but it is very poorly designed. It is parsing the Antminer web interface rather than hooking into the cgminer API. Loading the HTML interface on the Antminer takes up excess processing power and should be avoided at all costs especially on S1 which runs a MIPS based control board. Using this application could very well cause instability and reduce your hash rate.

Feel free to design a better one!  Last I checked the cgminer API isn't open to any IP except "localhost", which means the Ant's IP.  That means you have to know how to get in there to change it.

This is designed to be pnp, just like the Ants.

I ran this against my S1s for weeks before I initially released it, with no problems, and no decrease in hash rate.

I did warn against running the refresh rate too low.

I think that "poorly designed" is a bit harsh, honestly.

M

Maybe that was a bit harsh Tongue but the cgminer api is readable by default although it is restricted to read only(it initializes using "--api-network"). Using this for management is fine but I would be very careful about the refresh rate especially with S1. I would suggest using the cgminer API for monitoring instead of the html pages it will be much faster.
legendary
Activity: 964
Merit: 1000
hey i have been having some troubles getting my antminers to show up in the ants page. i can manually add them. and i have browser 1 2 and 3 but it doesnt recognize all 3 in "ants"
legendary
Activity: 1540
Merit: 1001
I agree with mdude77. I realize the tool just logs into the Ant via the web interface and parses HTML output, which is why it is so slow, but this tool is very useful for folks who are trying to manage large Ant farms. It doesn't need to be fast, and I have not seen any degradation in miner performance because of it.

If the AntMonitor causes poor miner performance, simply logging into the miner web interface would also do the same thing.

Thanks mdude77!

FYI, the slowness is because the UI to S1s is slow.  It's much much faster with S2s.

M
legendary
Activity: 1540
Merit: 1001
anyway you can port this over to Android so you can do it remotely?

Not easily.  However, I'm toying with the idea of it being able to generate an HTML file that can be stored somewhere that can then be made available on a web server.

M
hero member
Activity: 742
Merit: 500
I had a look through the source code and I would seriously suggest nobody use this application, there doesn't seem to be anything malicious but it is very poorly designed. It is parsing the Antminer web interface rather than hooking into the cgminer API. Loading the HTML interface on the Antminer takes up excess processing power and should be avoided at all costs especially on S1 which runs a MIPS based control board. Using this application could very well cause instability and reduce your hash rate.

Feel free to design a better one!  Last I checked the cgminer API isn't open to any IP except "localhost", which means the Ant's IP.  That means you have to know how to get in there to change it.

This is designed to be pnp, just like the Ants.

I ran this against my S1s for weeks before I initially released it, with no problems, and no decrease in hash rate.

I did warn against running the refresh rate too low.

I think that "poorly designed" is a bit harsh, honestly.

M

I agree with mdude77. I realize the tool just logs into the Ant via the web interface and parses HTML output, which is why it is so slow, but this tool is very useful for folks who are trying to manage large Ant farms. It doesn't need to be fast, and I have not seen any degradation in miner performance because of it.

If the AntMonitor causes poor miner performance, simply logging into the miner web interface would also do the same thing.

Thanks mdude77!
full member
Activity: 121
Merit: 100
anyway you can port this over to Android so you can do it remotely?
legendary
Activity: 1540
Merit: 1001
I got 1.5 running great today. Can you put in a check box to turn off the new browsers tabs, I would rather not see them at all.

Thanks for doing a great job on this software, runs great for me.

Rob Cool

Great!  I'll add to the next update.

M
Pages:
Jump to: