rodney2250 (OP)
Jr. Member
Offline
Activity: 177
Merit: 2
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 10, 2018, 03:24:52 PM |
|
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](https://bitcointalk.org/Smileys/default/sad.gif) 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
Activity: 69
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 11, 2018, 05:24:53 PM |
|
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
Activity: 177
Merit: 2
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 11, 2018, 05:29:04 PM |
|
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? python ./external/tplink.py -t "192.168.5.80" -j '{"emeter":{"get_realtime":{}}}'
|
|
|
|
starmax
Jr. Member
Offline
Activity: 69
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 11, 2018, 05:33:23 PM |
|
Hi, if you cd to grm's folder and run the following command then what is the output? 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
Activity: 177
Merit: 2
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 11, 2018, 05:41:38 PM |
|
Hi, if you cd to grm's folder and run the following command then what is the output? 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
Activity: 177
Merit: 2
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 11, 2018, 05:46:49 PM |
|
Hi, if you cd to grm's folder and run the following command then what is the output? 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/4Sorry something that escaped me. For the last step, you should actually replace with in the tplink.py script
|
|
|
|
starmax
Jr. Member
Offline
Activity: 69
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 11, 2018, 06:10:01 PM |
|
Sorry something that escaped me. For the last step, you should actually replace with in the tplink.py script I ended up needing to add , rather than replace . 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
Activity: 177
Merit: 2
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 12, 2018, 09:14:57 AM |
|
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](https://bitcointalk.org/Smileys/default/sad.gif) 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
Activity: 177
Merit: 2
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 13, 2018, 02:01:04 PM |
|
version 2.3.0 has been released https://github.com/rodneymo/rig-monitorv2/releases/tag/2.3.0What'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
|
|
|
|
|
starmax
Jr. Member
Offline
Activity: 69
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 19, 2018, 06:23:52 PM |
|
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
Activity: 177
Merit: 2
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 19, 2018, 06:57:35 PM |
|
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: 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
Activity: 69
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 20, 2018, 02:20:21 PM |
|
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
Activity: 177
Merit: 2
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 20, 2018, 05:40:30 PM |
|
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
Activity: 69
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 21, 2018, 02:26:31 PM |
|
submitted a Github issue, thank you!
|
|
|
|
|
starmax
Jr. Member
Offline
Activity: 69
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 27, 2018, 12:38:54 PM |
|
The hot fix is working great, thank you so much!!!!
|
|
|
|
rodney2250 (OP)
Jr. Member
Offline
Activity: 177
Merit: 2
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 27, 2018, 08:12:55 PM |
|
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
Activity: 177
Merit: 2
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 28, 2018, 08:07:51 AM |
|
|
|
|
|
rodney2250 (OP)
Jr. Member
Offline
Activity: 177
Merit: 2
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
July 03, 2018, 02:21:28 PM |
|
Version 3.0 is out! What's new in version 3.0: - Added historical and future profitability logic and charts
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fwww.rigmonitor.app%2Fblog%2Fwp-content%2Fuploads%2F2018%2F06%2FScreen-Shot-2018-06-17-at-9.24.39-PM.png&t=665&c=H_j5s1y79CVX0g) - 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/IuYcwBKqbGqIeXpw9sfq7QBuy me a beer if you find this app useful ETH: 0x0f2d4397CecB53883411cfe75882622c312c8340 MUSICOIN: 0x9a44a57041acd5f1511bf13a663d136ddbde1fb1
|
|
|
|
|