Bitcoin Forum
September 05, 2025, 10:01:42 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [16] 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 »
  Print  
Author Topic: M's Miner (Ant/SP) Monitor v5.2: alerts,auto/mass/scheduled reboot/mobile miner  (Read 209915 times)
mdude77 (OP)
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
June 17, 2014, 11:16:56 AM
 #301

I just published v2.0.  In light of the odd errors some folks are having with the new alert logic, this version was published before SSH support was added.

v2.0
- Added more errorhandling and logging, especially around the new alert logic. 
- Added email support.  This is untested (in the interest of time), but working code that came M's Pool Monitor.

Download link: MAntMonitor20.zip

PLEASE NOTE:

Assuming no additional odd errors come up, next version should have SSH and reboot functionality.  After that, unless there is some really feature that folks are looking for that I overlooked, I need to move on to my next project for some time.  So if you have a feature request that I've missed, please speak up!

M

appreciate the work going into this.

I have set up email alerts but it doesn't seem to be working. could you include the output of the email test in the log window?
Also when I enable s1 fan alert it warns me to set an s2 fan alert.

Yes, I realized this morning that I added the code, but forgot to reference it! Smiley  Just put out an update to fix that..

Download link: MAntMonitor20a.zip

Will look at that logic, must have missed something.  Thanks!

M

ah I see yes the fail logs. is there a log showing the debug output? such as error codes from the server etc? i'm sending mine to an exchange server using basic authentication and ssl

No there isn't.  I'm using Microsoft's built in SMTP support, which, in Microsoft fashion, works best (or only?) with Microsoft servers.  Sometime I may write my own code for it, but time is one thing I don't have a lot of anymore. Sad

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
BCwinning
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500


View Profile
June 17, 2014, 01:49:50 PM
 #302

I haven't updated past 1.8 and if you added it great if not than; is there a possibility
to see what the current diff the ants are working at?
It isn't important really but just something else to check.

The New World Order thanks you for your support of Bitcoin and encourages your continuing support so that they may track your expenditures easier.
mdude77 (OP)
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
June 17, 2014, 02:54:11 PM
 #303

I haven't updated past 1.8 and if you added it great if not than; is there a possibility
to see what the current diff the ants are working at?
It isn't important really but just something else to check.

I'll look, I think it's in the API.

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
mstrongbow
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250

3D Printed!


View Profile
June 17, 2014, 06:28:31 PM
 #304

How about adding a popup message when starting a new instance of the monitor IF there is already an instance already running? Sometimes I forget the monitor was minimized to the tray and not the bar and it opened a new instance.

Thanks!

    Bitcoin-Scratchticket.com       Win Bitcoin Playing Scratchtickets        Provably Fair   
*Got LootCrate?*
*My Stuff For Sale thread/s*   www.CryptoCause.org   Ask me about SEGMining Hosting!
"Don't undertake a project unless it is manifestly important and nearly impossible" - Edwin Land
mdude77 (OP)
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
June 17, 2014, 06:47:05 PM
 #305

How about adding a popup message when starting a new instance of the monitor IF there is already an instance already running? Sometimes I forget the monitor was minimized to the tray and not the bar and it opened a new instance.

Thanks!

Oops!  Good idea.  I added that in M's Pool Monitor, forgot to implement it here.

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
mstrongbow
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250

3D Printed!


View Profile
June 17, 2014, 07:24:13 PM
 #306

How about adding a popup message when starting a new instance of the monitor IF there is already an instance already running? Sometimes I forget the monitor was minimized to the tray and not the bar and it opened a new instance.

Thanks!

Oops!  Good idea.  I added that in M's Pool Monitor, forgot to implement it here.

M

Awesome and thanks. I have been meaning to install your pool monitor as well, just keep getting sidetracked, haha

    Bitcoin-Scratchticket.com       Win Bitcoin Playing Scratchtickets        Provably Fair   
*Got LootCrate?*
*My Stuff For Sale thread/s*   www.CryptoCause.org   Ask me about SEGMining Hosting!
"Don't undertake a project unless it is manifestly important and nearly impossible" - Edwin Land
rileyminer
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
June 17, 2014, 08:37:20 PM
 #307

one more feature request if not already there - to store different usernames/passwords for the Ants (when using the old style webgui login) - if possible
(instead of them sharing all the same login credentials)
mdude77 (OP)
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
June 17, 2014, 08:43:33 PM
 #308

one more feature request if not already there - to store different usernames/passwords for the Ants (when using the old style webgui login) - if possible
(instead of them sharing all the same login credentials)


Thanks.  I wasn't planning on adding additional functionality to the old style screenscraping process.  What exactly do you need this for that isn't on the API side?

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
rileyminer
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
June 17, 2014, 08:50:43 PM
 #309


Im the one who portfw's to my S1's (earlier in the MAntMonitor thread) so took your advice and came up with a complex password.

Even one common username / password for the S1s (and a single different username / password for the S2) would be great.
(you still cant change the username / password for the S2 on its webgui as far as I know - always says invalid pw on the S2 admin mgmt page)

I know the API method gives more information (and control) but the old method is still useful for portforwarding

no biggie - its still a great app - thanks for all the time and effort


mdude77 (OP)
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
June 17, 2014, 09:07:59 PM
 #310


Im the one who portfw's to my S1's (earlier in the MAntMonitor thread) so took your advice and came up with a complex password.

Even one common username / password for the S1s (and a single different username / password for the S2) would be great.
(you still cant change the username / password for the S2 on its webgui as far as I know - always says invalid pw on the S2 admin mgmt page)

I know the API method gives more information (and control) but the old method is still useful for portforwarding

no biggie - its still a great app - thanks for all the time and effort

Got it.  That was the type of use I figured the web version would be for, but didn't know if anyone was using it.

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
rileyminer
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
June 17, 2014, 09:12:50 PM
 #311

...and final thing is saving the column order - Im dragging Freq - over next to GH/s(5s) and then save config - but after rerunning MAntMon - the Freq appears over ont the right again (again minor)
mdude77 (OP)
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
June 17, 2014, 09:28:25 PM
 #312

...and final thing is saving the column order - Im dragging Freq - over next to GH/s(5s) and then save config - but after rerunning MAntMon - the Freq appears over ont the right again (again minor)

hmmm.  that never occurred to me.  will check it out.

thanks.

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
rkinnin
Sr. Member
****
Offline Offline

Activity: 316
Merit: 250


View Profile
June 18, 2014, 01:25:48 AM
 #313

I don't think its the AntMon app but I just installed another s1 to my farm.  Twenty minutes into mining and the "BestShare" is already at 4,892,629 while the miner right next to it that I have had running but rebooted at the same time I turned the miner in question on is showing 603,963 for a "BestShare".

Can anyone share light on this?
mdude77 (OP)
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
June 18, 2014, 01:28:57 AM
 #314

I don't think its the AntMon app but I just installed another s1 to my farm.  Twenty minutes into mining and the "BestShare" is already at 4,892,629 while the miner right next to it that I have had running but rebooted at the same time I turned the miner in question on is showing 603,963 for a "BestShare".

Can anyone share light on this?

That sees normal to me.  Luck is luck.  One of my S1s once solved a BTC block, back before BTC hit a difficulty of 10,000,000,000 (10 billion), but it was above 1 billion.

I personally like seeing the best share value.  It helps drive home how random solving a block really is.  Both of my S2s topped 300,000,000 recently.  To more zeros and that'd be two blocks! Smiley

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
mstrongbow
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250

3D Printed!


View Profile
June 18, 2014, 05:45:13 AM
 #315

Just got an error...

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

************** Exception Text **************
System.InvalidCastException: Conversion from type 'DBNull' to type 'String' is not valid.
   at Microsoft.VisualBasic.CompilerServices.Conversions.ToString(Object Value)
   at MAntMonitor.frmAntMonitor.HandleAlerts()
   at MAntMonitor.frmAntMonitor.RefreshGrid()
   at MAntMonitor.frmAntMonitor.TimerRefresh_Tick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.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.18444 built by: FX451RTMGDR
    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/morgan/Documents/Mining/MAntMonitor19/MAntMonitor.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 11.0.50938.18408 built by: FX451RTMGREL
    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.18408 built by: FX451RTMGREL
    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.18408 built by: FX451RTMGREL
    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.18408 built by: FX451RTMGREL
    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.18408 built by: FX451RTMGREL
    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.34108 built by: FX45W81RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    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:/Users/morgan/Documents/Mining/MAntMonitor19/Newtonsoft.Json.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:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

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.



Time to update to v2! heh

    Bitcoin-Scratchticket.com       Win Bitcoin Playing Scratchtickets        Provably Fair   
*Got LootCrate?*
*My Stuff For Sale thread/s*   www.CryptoCause.org   Ask me about SEGMining Hosting!
"Don't undertake a project unless it is manifestly important and nearly impossible" - Edwin Land
sepehr
Sr. Member
****
Offline Offline

Activity: 399
Merit: 250


Cryptocurrency Evangelist


View Profile
June 21, 2014, 08:50:33 AM
 #316

Thanks a lot for new version  Cheesy
I have seen it so late.

But gave me the following error and not working properly:

Please guide:

Looks like something funny is up with 51.  I did put error handling around an ant not responding properly, but I didn't fully test it.  Does everything seem normal with 51?

M

I use wifi connection for all ants and sometimes wifi is weak and then this happen.

I have some ideas. 

M

I have installed new version but still have some problems with same devices.

I have checked them and there is no wifi error!

Code:
6/21/2014 1:16:58 PM: ERROR when checking alerts on S1:14 (step 1): Conversion from type 'DBNull' to type 'String' is not valid.
6/21/2014 1:16:58 PM: ERROR when checking alerts on S1:51 (step 1): Conversion from type 'DBNull' to type 'String' is not valid.
6/21/2014 1:16:58 PM: ERROR when checking alerts on S2:99 (step 5): Conversion from type 'DBNull' to type 'String' is not valid.


Sepehr, A Cryptocurrency Evangelist
mdude77 (OP)
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
June 21, 2014, 10:37:02 AM
 #317

I have installed new version but still have some problems with same devices.

I have checked them and there is no wifi error!

Code:
6/21/2014 1:16:58 PM: ERROR when checking alerts on S1:14 (step 1): Conversion from type 'DBNull' to type 'String' is not valid.
6/21/2014 1:16:58 PM: ERROR when checking alerts on S1:51 (step 1): Conversion from type 'DBNull' to type 'String' is not valid.
6/21/2014 1:16:58 PM: ERROR when checking alerts on S2:99 (step 5): Conversion from type 'DBNull' to type 'String' is not valid.


Thanks, this is progress!  Can you get me a screenshot of one the status page for those 3 miners?

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
sepehr
Sr. Member
****
Offline Offline

Activity: 399
Merit: 250


Cryptocurrency Evangelist


View Profile
June 21, 2014, 12:59:54 PM
 #318

I have installed new version but still have some problems with same devices.

I have checked them and there is no wifi error!

Code:
6/21/2014 1:16:58 PM: ERROR when checking alerts on S1:14 (step 1): Conversion from type 'DBNull' to type 'String' is not valid.
6/21/2014 1:16:58 PM: ERROR when checking alerts on S1:51 (step 1): Conversion from type 'DBNull' to type 'String' is not valid.
6/21/2014 1:16:58 PM: ERROR when checking alerts on S2:99 (step 5): Conversion from type 'DBNull' to type 'String' is not valid.


Thanks, this is progress!  Can you get me a screenshot of one the status page for those 3 miners?

M

Here it is:


Sepehr, A Cryptocurrency Evangelist
mdude77 (OP)
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
June 21, 2014, 01:52:37 PM
 #319

I have installed new version but still have some problems with same devices.

I have checked them and there is no wifi error!

Code:
6/21/2014 1:16:58 PM: ERROR when checking alerts on S1:14 (step 1): Conversion from type 'DBNull' to type 'String' is not valid.
6/21/2014 1:16:58 PM: ERROR when checking alerts on S1:51 (step 1): Conversion from type 'DBNull' to type 'String' is not valid.
6/21/2014 1:16:58 PM: ERROR when checking alerts on S2:99 (step 5): Conversion from type 'DBNull' to type 'String' is not valid.


Thanks, this is progress!  Can you get me a screenshot of one the status page for those 3 miners?

M

Here it is:

Thanks.  I need to add some more debugging code to see if I can figure out what's happening here.

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
GuyllFyre
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
June 21, 2014, 02:04:32 PM
 #320

OK, I feel like an idiot but it seems I'm missing something here.
I downloaded v2.0a and it doesn't work for me.
Other than the Ant Monitor, what software prerequisites are needed to make this monitor the Ant S1?
I've tried with and without API enabled.
With API enabled I get "ERROR" for the name and the app locks up.  
Without API enabled, it has "com" for the name and displays nothing.

Without API, the log shows this:
Quote
6/21/2014 9:56:14 AM: M's Ant Monitor v2.0a starting
6/21/2014 9:56:49 AM: Initiated refresh
6/21/2014 9:56:49 AM: Submitting S1: GAntS1 on instance 0
6/21/2014 9:56:53 AM: http://www.dnsrsearch.com/index.php?origURL=http%3A//gants1/cgi-bin/luci/%3Bstok%3D/admin/status/minerstatus/&r= responded with status page
6/21/2014 9:56:53 AM: http://www.dnsrsearch.com/index.php?origURL=http%3A//gants1/cgi-bin/luci/%3Bstok%3D/admin/status/minerstatus/&r= responded with status page
6/21/2014 9:56:54 AM: http://www.dnsrsearch.com/index.php?origURL=http%3A//gants1/cgi-bin/luci/%3Bstok%3D/admin/status/minerstatus/&r= responded with status page
6/21/2014 9:56:55 AM: http://www.dnsrsearch.com/index.php?origURL=http%3A//gants1/cgi-bin/luci/%3Bstok%3D/admin/status/minerstatus/&r= responded with status page
6/21/2014 9:56:55 AM: http://www.dnsrsearch.com/index.php?origURL=http%3A//gants1/cgi-bin/luci/%3Bstok%3D/admin/status/minerstatus/&r= responded with status page

With API enabled, the log shows this:
Quote
6/21/2014 10:03:28 AM: ERROR when accessing API on GAntS1: 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 198.105.244.240:4028
6/21/2014 10:03:28 AM: ERROR when querying S1:GAntS1: Value cannot be null.
Parameter name: s
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [16] 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!