Pages:
Author

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

legendary
Activity: 1820
Merit: 1001
Trying to get this to work and putting in ip addresses of ant miners and username and pass. What needs to be placed in web credentials ? And how to scan as software seems to almost crash when scanning using up lots of memory.
legendary
Activity: 1161
Merit: 1001
Don`t invest more than you can afford to lose
legendary
Activity: 1540
Merit: 1001
H:\BItClouder\MAntMonitor-master\My Project\Application.Designer.vb(35) : error BC30456: 'frmAntMonitor' is not a member of 'AntMonitor'.


I get 1 error now ..

The files in My Project might have been outdated.  I don't edit those myself, so I didn't try to push them to github after the initial load.  I just updated two files there in github, re-git and see if that fixes the problem.

M
legendary
Activity: 1161
Merit: 1001
Don`t invest more than you can afford to lose
H:\BItClouder\MAntMonitor-master\My Project\Application.Designer.vb(35) : error BC30456: 'frmAntMonitor' is not a member of 'AntMonitor'.


I get 1 error now ..
legendary
Activity: 1540
Merit: 1001
You need to add/fix the references to the two dlls it uses, newtonsoft and renci.

I build it in vs 2010.  not sure what's required to build in 2013.

M
legendary
Activity: 1161
Merit: 1001
Don`t invest more than you can afford to lose
getting this errors in visual studio 2013 framework 4

Warning   1   Could not resolve this reference. Could not locate the assembly "Renci.SshNet". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.   MAntMonitor
Warning   2   The referenced component 'Renci.SshNet' could not be found.    MAntMonitor
Error   3   'frmAntMonitor' is not a member of 'MAntMonitor'.   H:\BItClouder\MAntMonitor-master\My Project\Application.Designer.vb   35   27   MAntMonitor
Warning   4   Variable 'sWebUN' is passed by reference before it has been assigned a value. A null reference exception could result at runtime.   H:\BItClouder\MAntMonitor-master\frmAntMonitor.vb   459   117   MAntMonitor
Warning   5   Variable 'sWebPW' is passed by reference before it has been assigned a value. A null reference exception could result at runtime.   H:\BItClouder\MAntMonitor-master\frmAntMonitor.vb   459   125   MAntMonitor
Warning   6   Variable 'dr' is used before it has been assigned a value. A null reference exception could result at runtime.   H:\BItClouder\MAntMonitor-master\frmAntMonitor.vb   486   17   MAntMonitor
Warning   7   Variable 'dr' is used before it has been assigned a value. A null reference exception could result at runtime.   H:\BItClouder\MAntMonitor-master\frmAntMonitor.vb   924   21   MAntMonitor
Warning   8   Variable 'sAnt' is used before it has been assigned a value. A null reference exception could result at runtime.   H:\BItClouder\MAntMonitor-master\frmAntMonitor.vb   1093   55   MAntMonitor
Warning   9   Variable 'sWebUN' is passed by reference before it has been assigned a value. A null reference exception could result at runtime.   H:\BItClouder\MAntMonitor-master\frmAntMonitor.vb   1125   79   MAntMonitor
Warning   10   Variable 'sWebPW' is passed by reference before it has been assigned a value. A null reference exception could result at runtime.   H:\BItClouder\MAntMonitor-master\frmAntMonitor.vb   1125   87   MAntMonitor
Error   11   Type 'Renci.SshNet.SshClient' is not defined.   H:\BItClouder\MAntMonitor-master\frmAntMonitor.vb   1557   20   MAntMonitor
Error   12   Type 'Renci.SshNet.SshCommand' is not defined.   H:\BItClouder\MAntMonitor-master\frmAntMonitor.vb   1558   27   MAntMonitor
Error   13   Type 'Renci.SshNet.SshClient' is not defined.   H:\BItClouder\MAntMonitor-master\frmAntMonitor.vb   1564   23   MAntMonitor
Warning   14   Function 'GetIPData' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used.   H:\BItClouder\MAntMonitor-master\frmAntMonitor.vb   1685   5   MAntMonitor
Warning   15   Variable 'sTemp' is used before it has been assigned a value. A null reference exception could result at runtime.   H:\BItClouder\MAntMonitor-master\frmAntMonitor.vb   1938   70   MAntMonitor
Error   16   Type 'Renci.SshNet.SshClient' is not defined.   H:\BItClouder\MAntMonitor-master\frmAntMonitor.vb   2729   20   MAntMonitor
Error   17   Type 'Renci.SshNet.SshCommand' is not defined.   H:\BItClouder\MAntMonitor-master\frmAntMonitor.vb   2730   27   MAntMonitor
Error   18   Type 'Renci.SshNet.SshClient' is not defined.   H:\BItClouder\MAntMonitor-master\frmAntMonitor.vb   2736   23   MAntMonitor
Warning   19   Variable 'lblPool' is used before it has been assigned a value. A null reference exception could result at runtime.   H:\BItClouder\MAntMonitor-master\frmAntMonitor.vb   2948   9   MAntMonitor
Warning   20   Variable 'lblPool' is used before it has been assigned a value. A null reference exception could result at runtime.   H:\BItClouder\MAntMonitor-master\frmAntMonitor.vb   2976   9   MAntMonitor
Error   21   Type 'Renci.SshNet.SshClient' is not defined.   H:\BItClouder\MAntMonitor-master\frmAntMonitor.vb   3010   20   MAntMonitor
Error   22   Type 'Renci.SshNet.SshCommand' is not defined.   H:\BItClouder\MAntMonitor-master\frmAntMonitor.vb   3011   27   MAntMonitor
Error   23   Type 'Renci.SshNet.SshClient' is not defined.   H:\BItClouder\MAntMonitor-master\frmAntMonitor.vb   3026   23   MAntMonitor
Warning   24   Variable 'sKey' is passed by reference before it has been assigned a value. A null reference exception could result at runtime.   H:\BItClouder\MAntMonitor-master\generic.vb   53   53   MAntMonitor
Warning   25   Variable 'sKey' is passed by reference before it has been assigned a value. A null reference exception could result at runtime.   H:\BItClouder\MAntMonitor-master\generic.vb   76   53   MAntMonitor
Warning   26   Variable 'sKey' is passed by reference before it has been assigned a value. A null reference exception could result at runtime.   H:\BItClouder\MAntMonitor-master\generic.vb   127   53   MAntMonitor
Warning   27   Variable 'sKeyname' is passed by reference before it has been assigned a value. A null reference exception could result at runtime.   H:\BItClouder\MAntMonitor-master\generic.vb   169   53   MAntMonitor
Warning   28   Variable 'sKeyname' is passed by reference before it has been assigned a value. A null reference exception could result at runtime.   H:\BItClouder\MAntMonitor-master\generic.vb   181   53   MAntMonitor
Warning   29   Variable 'sKeyname' is passed by reference before it has been assigned a value. A null reference exception could result at runtime.   H:\BItClouder\MAntMonitor-master\generic.vb   209   53   MAntMonitor
Warning   30   Variable 'o' is passed by reference before it has been assigned a value. A null reference exception could result at runtime.   H:\BItClouder\MAntMonitor-master\generic.vb   318   45   MAntMonitor
Warning   31   Variable 'o' is passed by reference before it has been assigned a value. A null reference exception could result at runtime.   H:\BItClouder\MAntMonitor-master\generic.vb   328   45   MAntMonitor
legendary
Activity: 1540
Merit: 1001
Hi m can you provide some info to compile the M Monitor again?

I don't know what you mean?  The source is on github.  Download it and build it with visual studio.

M
sr. member
Activity: 805
Merit: 250
Hi M

I'm trying to trigger a batch file when the hash rate falls to low.
problem is i have 2 S3 and when i try to use the %A variable to call my batch file for each, well i can't use the S1:99 in the windows file name because of the ":" in the name of the Ant.
any work around or ideas.?



If you put double quotes around it it should pass:

batch.bat "%A" should come through as batch.bat "S1:99".

M
no good can't use " in a file name either
i have 2 batch file, in the batch file i;m using plink to do a ssh session to restart the ant that falls too low on hashrate.
so i have ant1.bat and ant2.bat each pointing to the ip address of the ANT. how can i call one of the 2 batch file using the %A variable if i can't rename the batch file with the Ant's Name .?
legendary
Activity: 1161
Merit: 1001
Don`t invest more than you can afford to lose
Hi m can you provide some info to compile the M Monitor again?
legendary
Activity: 1540
Merit: 1001
Hi M

I'm trying to trigger a batch file when the hash rate falls to low.
problem is i have 2 S3 and when i try to use the %A variable to call my batch file for each, well i can't use the S1:99 in the windows file name because of the ":" in the name of the Ant.
any work around or ideas.?



If you put double quotes around it it should pass:

batch.bat "%A" should come through as batch.bat "S1:99".

M
sr. member
Activity: 805
Merit: 250
Hi M

I'm trying to trigger a batch file when the hash rate falls to low.
problem is i have 2 S3 and when i try to use the %A variable to call my batch file for each, well i can't use the S1:99 in the windows file name because of the ":" in the name of the Ant.
any work around or ideas.?

legendary
Activity: 1161
Merit: 1001
Don`t invest more than you can afford to lose
some info to recompile the script?
legendary
Activity: 1540
Merit: 1001
Since update to 2.6a. Every time when refresh is finished

I suspect this is caused by something going wrong with the upgrade logic.  I believe if you delete/rename the registry key with the configuration, then reconfigure it, all will be well.

the key is hkey_current_user\software\mantmonitor

If you aren't familiar with the registry, you probably should avoid doing this.

M
hero member
Activity: 826
Merit: 1000
Since update to 2.6a. Every time when refresh is finished

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

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at MAntMonitor.frmMain.HandleAlerts()
   at MAntMonitor.frmMain.RefreshGrid()
   at MAntMonitor.frmMain.TimerRefresh_Tick(Object sender, EventArgs e)
   at MAntMonitor.frmMain.cmdRefresh_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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.239 (RTMGDR.030319-2300)
    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:/Documents%20and%20Settings/Lucko/My%20Documents/ants/MAntMonitor.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.30319.1 built by: RTMRel
    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
    Win32 Version: 4.0.30319.258 built by: RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.235 built by: RTMGDR
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.1.17001
    CodeBase: file:///c:/Documents%20and%20Settings/Lucko/My%20Documents/ants/Newtonsoft.Json.DLL
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:


    


When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


legendary
Activity: 1161
Merit: 1001
Don`t invest more than you can afford to lose
I had try to set the alert at 120 GH/s at the s1 if the s1 is unplugged the program wont send any email.

 ERROR when accessing API on 192.168.1.99: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.1.99:4028
7/31/2014 5:35:56 PM: ERROR when querying S1:99 (step 1): Value cannot be null.
Parameter name: s
legendary
Activity: 1540
Merit: 1001
could you insert a downtime buton to send a email when the miner is down?

Isn't that the same as an alert when hash rate goes below x?

M
legendary
Activity: 1161
Merit: 1001
Don`t invest more than you can afford to lose
could you insert a downtime buton to send a email when the miner is down?
legendary
Activity: 1540
Merit: 1001
working thx

I'm sorry, I tested the functionality on my other app (M's Pool Monitor) and I know it worked there with gmail, and it did not work with verizon.  I lifted the code into M's Ant Monitor, but I never tested it.  I assumed it worked.

M
legendary
Activity: 1161
Merit: 1001
Don`t invest more than you can afford to lose
legendary
Activity: 1161
Merit: 1001
Don`t invest more than you can afford to lose
This settings and notworking.

Pages:
Jump to: