Bitcoin Forum
June 19, 2024, 04:08:43 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 [10] 11 12 »  All
  Print  
Author Topic: [NEW] free rig-monitor 4.0 (alpha released)  (Read 14741 times)
rodney2250 (OP)
Jr. Member
*
Offline Offline

Activity: 177
Merit: 2


View Profile
June 10, 2018, 03:24:52 PM
 #181

Of course,

I sent you the results.

https://cryptoknight.cc/rpc/ipbc/get_userblocks?height=&address= gave me an Invalid API call no matter what (recent) height I put.

Was searching about your code trying to contribute when I realised that only the v1 was open sourced Sad

Been fooled by the generated "Source code" on github that contain only the README.

I already have an implementation but need to do some testing. I should release a dev version in the coming 1-2 days.

True about the open source, I am not really sure what to do about it, given my past experience with v1: a bunch of ppl forking the code but only 1 guy contributing. Anyways, I am still thinking about it and it's not set in stone.
starmax
Jr. Member
*
Offline Offline

Activity: 69
Merit: 1


View Profile
June 11, 2018, 05:24:53 PM
 #182

Hey, I just set this up over the weekend.  Very cool software!!  I'm having some trouble with getting the TP-Link info.  I tried with 2.3.6d and 2.2.2 (installed Python 2.7.13 and set the PATH var), getting this in the log:

ERROR: 2018/06/11 11:33:48 tplink.go:139: Could not run tplink.py script. Failed with exit status 1
ERROR: 2018/06/11 11:33:48 tplink.go:28: TPlink script execution failed!

This is my rigList config for 1 of my TP-Link HS110 plugs:

"6xGTX1070,phoenixminer,label_nanopool,,http://192.168.5.8:3333,6,197,,tplink,192.168.5.80,850,70",


I don't know the cause of the exit is, or how to get more logging info.  Any help would be appreciated!
rodney2250 (OP)
Jr. Member
*
Offline Offline

Activity: 177
Merit: 2


View Profile
June 11, 2018, 05:29:04 PM
 #183

Hey, I just set this up over the weekend.  Very cool software!!  I'm having some trouble with getting the TP-Link info.  I tried with 2.3.6d and 2.2.2 (installed Python 2.7.13 and set the PATH var), getting this in the log:

ERROR: 2018/06/11 11:33:48 tplink.go:139: Could not run tplink.py script. Failed with exit status 1
ERROR: 2018/06/11 11:33:48 tplink.go:28: TPlink script execution failed!

This is my rigList config for 1 of my TP-Link HS110 plugs:

"6xGTX1070,phoenixminer,label_nanopool,,http://192.168.5.8:3333,6,197,,tplink,192.168.5.80,850,70",


I don't know the cause of the exit is, or how to get more logging info.  Any help would be appreciated!


Hi,

if you cd to grm's folder and run the following command then what is the output?

Code:
python ./external/tplink.py -t "192.168.5.80" -j '{"emeter":{"get_realtime":{}}}' 
starmax
Jr. Member
*
Offline Offline

Activity: 69
Merit: 1


View Profile
June 11, 2018, 05:33:23 PM
 #184

Hi,

if you cd to grm's folder and run the following command then what is the output?

Code:
python ./external/tplink.py -t "192.168.5.80" -j '{"emeter":{"get_realtime":{}}}' 

Here it is (thank you!!!):

C:\Users\bryan\Mining\monitoring\grm-2.3.d.6-windows-amd64\external>python ./tplink.py -t "192.168.5.80" -j '{"emeter":{"get_realtime":{}}}'
Traceback (most recent call last):
  File "./tplink.py", line 57, in <module>
    args = parser.parse_args()
  File "C:\Program Files\Python27\lib\argparse.py", line 1701, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "C:\Program Files\Python27\lib\argparse.py", line 1733, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "C:\Program Files\Python27\lib\argparse.py", line 1939, in _parse_known_args
    start_index = consume_optional(start_index)
  File "C:\Program Files\Python27\lib\argparse.py", line 1879, in consume_optional
    take_action(action, args, option_string)
  File "C:\Program Files\Python27\lib\argparse.py", line 1791, in take_action
    argument_values = self._get_values(action, argument_strings)
  File "C:\Program Files\Python27\lib\argparse.py", line 2231, in _get_values
    value = self._get_value(action, arg_string)
  File "C:\Program Files\Python27\lib\argparse.py", line 2260, in _get_value
    result = type_func(arg_string)
  File "./tplink.py", line 10, in validIP
    socket.inet_pton(socket.AF_INET, ip)
AttributeError: 'module' object has no attribute 'inet_pton'
rodney2250 (OP)
Jr. Member
*
Offline Offline

Activity: 177
Merit: 2


View Profile
June 11, 2018, 05:41:38 PM
 #185

Hi,

if you cd to grm's folder and run the following command then what is the output?

Code:
python ./external/tplink.py -t "192.168.5.80" -j '{"emeter":{"get_realtime":{}}}' 

Here it is (thank you!!!):

C:\Users\bryan\Mining\monitoring\grm-2.3.d.6-windows-amd64\external>python ./tplink.py -t "192.168.5.80" -j '{"emeter":{"get_realtime":{}}}'
Traceback (most recent call last):
  File "./tplink.py", line 57, in <module>
    args = parser.parse_args()
  File "C:\Program Files\Python27\lib\argparse.py", line 1701, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "C:\Program Files\Python27\lib\argparse.py", line 1733, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "C:\Program Files\Python27\lib\argparse.py", line 1939, in _parse_known_args
    start_index = consume_optional(start_index)
  File "C:\Program Files\Python27\lib\argparse.py", line 1879, in consume_optional
    take_action(action, args, option_string)
  File "C:\Program Files\Python27\lib\argparse.py", line 1791, in take_action
    argument_values = self._get_values(action, argument_strings)
  File "C:\Program Files\Python27\lib\argparse.py", line 2231, in _get_values
    value = self._get_value(action, arg_string)
  File "C:\Program Files\Python27\lib\argparse.py", line 2260, in _get_value
    result = type_func(arg_string)
  File "./tplink.py", line 10, in validIP
    socket.inet_pton(socket.AF_INET, ip)
AttributeError: 'module' object has no attribute 'inet_pton'


Ok. This seems to be an issue with python's socket module. Check the last comment from this GitHub issue.:
https://github.com/mitsuhiko/python-geoip/issues/4
rodney2250 (OP)
Jr. Member
*
Offline Offline

Activity: 177
Merit: 2


View Profile
June 11, 2018, 05:46:49 PM
 #186

Hi,

if you cd to grm's folder and run the following command then what is the output?

Code:
python ./external/tplink.py -t "192.168.5.80" -j '{"emeter":{"get_realtime":{}}}' 

Here it is (thank you!!!):

C:\Users\bryan\Mining\monitoring\grm-2.3.d.6-windows-amd64\external>python ./tplink.py -t "192.168.5.80" -j '{"emeter":{"get_realtime":{}}}'
Traceback (most recent call last):
  File "./tplink.py", line 57, in <module>
    args = parser.parse_args()
  File "C:\Program Files\Python27\lib\argparse.py", line 1701, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "C:\Program Files\Python27\lib\argparse.py", line 1733, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "C:\Program Files\Python27\lib\argparse.py", line 1939, in _parse_known_args
    start_index = consume_optional(start_index)
  File "C:\Program Files\Python27\lib\argparse.py", line 1879, in consume_optional
    take_action(action, args, option_string)
  File "C:\Program Files\Python27\lib\argparse.py", line 1791, in take_action
    argument_values = self._get_values(action, argument_strings)
  File "C:\Program Files\Python27\lib\argparse.py", line 2231, in _get_values
    value = self._get_value(action, arg_string)
  File "C:\Program Files\Python27\lib\argparse.py", line 2260, in _get_value
    result = type_func(arg_string)
  File "./tplink.py", line 10, in validIP
    socket.inet_pton(socket.AF_INET, ip)
AttributeError: 'module' object has no attribute 'inet_pton'


Ok. This seems to be an issue with python's socket module. Check the last comment from this GitHub issue.:
https://github.com/mitsuhiko/python-geoip/issues/4

Sorry something that escaped me. For the last step, you should actually replace
Code:
import socket

with

Code:
import win_inet_pton

in the tplink.py script
starmax
Jr. Member
*
Offline Offline

Activity: 69
Merit: 1


View Profile
June 11, 2018, 06:10:01 PM
 #187


Sorry something that escaped me. For the last step, you should actually replace
Code:
import socket

with

Code:
import win_inet_pton

in the tplink.py script

I ended up needing to add
Code:
import win_inet_pton
, rather than replace
Code:
import socket
.  I needed to import both.  Thank you!!!


I know it's been requested before, but adding Nicehash monitoring would be huge for me.  Nicehash has been paying more for CryptonightV7 mining than straight XMR mining for a while now, so I keep mining there.

Thanks again!
rodney2250 (OP)
Jr. Member
*
Offline Offline

Activity: 177
Merit: 2


View Profile
June 12, 2018, 09:14:57 AM
 #188

Of course,

I sent you the results.

https://cryptoknight.cc/rpc/ipbc/get_userblocks?height=&address= gave me an Invalid API call no matter what (recent) height I put.

Was searching about your code trying to contribute when I realised that only the v1 was open sourced Sad

Been fooled by the generated "Source code" on github that contain only the README.

I just published version 2.3.d.7, which includes cryptoknight pool support. Bear in mind the API data is very limited, basically: hr, paid, balance and payments.
rodney2250 (OP)
Jr. Member
*
Offline Offline

Activity: 177
Merit: 2


View Profile
June 13, 2018, 02:01:04 PM
 #189


version 2.3.0 has been released https://github.com/rodneymo/rig-monitorv2/releases/tag/2.3.0

What's new?
Support for Bminer, includes dashboard template
Support for EWBF, includes dashboard template
Support for Ethminer, includes dashboard template
Support for suprnova pools
Support for cryptoknight pools
Ethminer fix to support 0.14 and earlier versions
Fixed grm crashes in rare occasions when claymore html output will not include GPU specs
rodney2250 (OP)
Jr. Member
*
Offline Offline

Activity: 177
Merit: 2


View Profile
June 19, 2018, 05:25:53 PM
 #190


I have just released the 3.0.d.1 development version. This version includes the profitability dashboard as well as an updated Mining Overview Dashboard that requires no configuration.





You can get it here: https://github.com/rodneymo/rig-monitorv2/releases/tag/3.0.d.1

And please make sure you read my blog post about it https://www.rigmonitor.app/blog/rig-monitor-3-0-preview/
starmax
Jr. Member
*
Offline Offline

Activity: 69
Merit: 1


View Profile
June 19, 2018, 06:23:52 PM
 #191

Look cool, already downloaded it.  Do I need to do anything to migrate from 2.3?  Should I delete my existing Dashboards?

thanks for all your hard work!
rodney2250 (OP)
Jr. Member
*
Offline Offline

Activity: 177
Merit: 2


View Profile
June 19, 2018, 06:57:35 PM
 #192

Look cool, already downloaded it.  Do I need to do anything to migrate from 2.3?  Should I delete my existing Dashboards?

thanks for all your hard work!

You can keep those  and use those dashboards and in that case you might need to adjust some queries. This is because, and has I mentioned in my blog post, from this version hashrates are always stored in H/s.

And flush the influx measurements:

Code:
drop measurement coin_data
drop measurement miner_gpu
drop measurement miner_system
drop measurement network_stats
drop measurement pool_payments
drop measurement pool_stats
drop measurement worker_stats
drop measurement env_data
drop measurement market_data
drop measurement pool_shares
drop measurement future_profit
drop measurement past_profit
 
starmax
Jr. Member
*
Offline Offline

Activity: 69
Merit: 1


View Profile
June 20, 2018, 02:20:21 PM
 #193

Still on 2.3.0, running on MacOS X 10.9.

Been getting this error the last 2 days, causes GRM to crash

INFO: 2018/06/20 04:54:07 nanopool.go:170: networkBlocks query succeeded!
INFO: 2018/06/20 04:54:07 nanopool.go:175: Querying NANOPOOL minerPayments.
INFO: 2018/06/20 04:54:07 nanopool.go:183: minerPayments query succeeded!
ERROR: 2018/06/20 04:54:07 influxdb.go:60: DBDaemon could not write record batch to influxDB...
panic: runtime error: index out of range

goroutine 51 [running]:
go-rig-monitor/pool.(*PoolConfig).LoadNanopoolData(0xc420120cc0, 0x1559640, 0xc42024a180, 0xc420073da0)
   /Users/ramf/go/src/go-rig-monitor/pool/nanopool.go:339 +0x3794
go-rig-monitor/pool.Monitor(0xc4200224e0, 0x15, 0xc420024eb0, 0x7, 0xc420024f50, 0x7, 0xc420024ff0, 0x7, 0x1e, 0x3e8, ...)
   /Users/ramf/go/src/go-rig-monitor/pool/pool-monitor.go:61 +0x1a5
created by main.main
   /Users/ramf/go/src/go-rig-monitor/main.go:143 +0xb50
 
rodney2250 (OP)
Jr. Member
*
Offline Offline

Activity: 177
Merit: 2


View Profile
June 20, 2018, 05:40:30 PM
 #194


Still on 2.3.0, running on MacOS X 10.9.

Been getting this error the last 2 days, causes GRM to crash

INFO: 2018/06/20 04:54:07 nanopool.go:170: networkBlocks query succeeded!
INFO: 2018/06/20 04:54:07 nanopool.go:175: Querying NANOPOOL minerPayments.
INFO: 2018/06/20 04:54:07 nanopool.go:183: minerPayments query succeeded!
ERROR: 2018/06/20 04:54:07 influxdb.go:60: DBDaemon could not write record batch to influxDB...
panic: runtime error: index out of range

goroutine 51 [running]:
go-rig-monitor/pool.(*PoolConfig).LoadNanopoolData(0xc420120cc0, 0x1559640, 0xc42024a180, 0xc420073da0)
   /Users/ramf/go/src/go-rig-monitor/pool/nanopool.go:339 +0x3794
go-rig-monitor/pool.Monitor(0xc4200224e0, 0x15, 0xc420024eb0, 0x7, 0xc420024f50, 0x7, 0xc420024ff0, 0x7, 0x1e, 0x3e8, ...)
   /Users/ramf/go/src/go-rig-monitor/pool/pool-monitor.go:61 +0x1a5
created by main.main
   /Users/ramf/go/src/go-rig-monitor/main.go:143 +0xb50
 

please you run a trace and create a GitHub issue. to run a trace use: ./grm -t > trace .txt  2>&1 &
starmax
Jr. Member
*
Offline Offline

Activity: 69
Merit: 1


View Profile
June 21, 2018, 02:26:31 PM
 #195

submitted a Github issue, thank you!
rodney2250 (OP)
Jr. Member
*
Offline Offline

Activity: 177
Merit: 2


View Profile
June 26, 2018, 09:00:53 AM
 #196

submitted a Github issue, thank you!

Posted a hotfix for both issues. See here: https://github.com/rodneymo/rig-monitorv2/releases/tag/2.3.1_hf_46_47
starmax
Jr. Member
*
Offline Offline

Activity: 69
Merit: 1


View Profile
June 27, 2018, 12:38:54 PM
 #197

The hot fix is working great, thank you so much!!!!
rodney2250 (OP)
Jr. Member
*
Offline Offline

Activity: 177
Merit: 2


View Profile
June 27, 2018, 08:12:55 PM
 #198

The hot fix is working great, thank you so much!!!!

Great. I’ll issue a minor release tomorrow together with a an updated 3.0 (development) release.

Thanks for the fast turnaround.
rodney2250 (OP)
Jr. Member
*
Offline Offline

Activity: 177
Merit: 2


View Profile
June 28, 2018, 08:07:51 AM
 #199

submitted a Github issue, thank you!

Posted a hotfix for both issues. See here: https://github.com/rodneymo/rig-monitorv2/releases/tag/2.3.1_hf_46_47

Version 2.3.2 release with both fixes.

https://github.com/rodneymo/rig-monitorv2/releases/tag/2.3.2
rodney2250 (OP)
Jr. Member
*
Offline Offline

Activity: 177
Merit: 2


View Profile
July 03, 2018, 02:21:28 PM
 #200


Version 3.0 is out!

What's new in version 3.0:

  • Added historical and future profitability logic and charts

  • Single, consolidated mining dashboard with drop-down menu to select pool
  • Miner, Pool specific dashboard templates deprecated; will no longer be maintained
  • Added hashrate correction factor to pool definition in config file
  • Added pool label to all miner_gpu measurements
  • Harmonized basic influx schema for both miners and pools to facilitate reporting in case of multiple pool, miner combination scenarios
  • Claymore measurement for coin+dcoin modified. Now both coins are stored using same influx schema
  • Fixed issue with noplug power measurments not being stored after startup
  • Fixed issue with ethminer outbound/inbound stream termination


Download and instructions here: https://www.rigmonitor.app/blog/

If you'd like other miners/pools/APIs to be supported then please submit a feature request on github.
For support please join the telegram group https://t.me/joinchat/IuYcwBKqbGqIeXpw9sfq7Q

Buy me a beer if you find this app useful
ETH: 0x0f2d4397CecB53883411cfe75882622c312c8340
MUSICOIN: 0x9a44a57041acd5f1511bf13a663d136ddbde1fb1
Pages: « 1 2 3 4 5 6 7 8 9 [10] 11 12 »  All
  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!