tutulino / Megaminer

Multipool and multialgo windows miner
GNU General Public License v3.0
78 stars 69 forks source link

MM monitoring not working #403

Closed nickvasel closed 6 years ago

nickvasel commented 6 years ago

I have tried and tried but for the life of me I can not get this to work. I do get a Jason reply via http, it appears that some how the monitor is not calling for anydata, the correct port/ip or something. when I do reply via http I can see the response on the remote machine but no response using the monitor? I also ran the monitor on the same rig as the miner, set the ip as "localhost" and still nothing. On the mining rig I was able to connect to http://localhost:4040. port 4040 is what the API listener is running on, and yes MN API listener window is up and running.

EDIT: I ran FarmMonitor.ps1 inside of powelshell and came up with this error, not sure if this is the cause of it not working: Specified argument was out of the range of valid values. Parameter name: times At C:\Users\vassellie1\Desktop\mega\mega1\Include.ps1:1269 char:17

Here is the code from Include.ps1: $str = ("-" * ($Width/2 - ($tittle.Length/2) - 4)) +" "+$Tittle+" "

Here is my config for the monitoring pc: The mining rigs have the api port set to 4040. @@APIPORT=0

--Farm Monitor adresses, indicates what rigs do you want monitorize in Farm Monitor,only needs to be filled in your monitoring machine

@@FARMRIGS=[{"192.168.1.125":"fatman", "ApiPort":"4040","Notifications":"true"},{"192.168.1.125":"littleboy", "ApiPort":"4041","Notifications":"true"}]

--Refresh interval in seconds

@@REFRESHINTERVAL=5

--[OPTIONAL] Notification Mail and SMTPServer config: --Smtp server password will be asked and encrypted locally first time you run (to change password delete smtp.ctr), this file cant be shared between rigs because use local encryption/decryption. --GMAIL smtp will not work if you have activated two pass verification

@@NOTIFICATIONMAIL=zzzzzzzzzzzzz@yyy.com

@@SMTPSERVER={"url":"smtp-mail.outlook.com","port":587,"user":"xxxxxxxx@outlook.com","ssl":true}

Just trying to help....