Pages:
Author

Topic: [NEW] free rig-monitor 4.0 (alpha released) - page 3. (Read 14736 times)

jr. member
Activity: 69
Merit: 1
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
 
jr. member
Activity: 177
Merit: 2
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
 
jr. member
Activity: 69
Merit: 1
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!
jr. member
Activity: 177
Merit: 2

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/
jr. member
Activity: 177
Merit: 2

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
jr. member
Activity: 177
Merit: 2
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.
jr. member
Activity: 69
Merit: 1

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!
jr. member
Activity: 177
Merit: 2
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
    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
jr. member
Activity: 177
Merit: 2
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
    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
jr. member
Activity: 69
Merit: 1
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
    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'
jr. member
Activity: 177
Merit: 2
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":{}}}' 
jr. member
Activity: 69
Merit: 1
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!
jr. member
Activity: 177
Merit: 2
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.
newbie
Activity: 3
Merit: 0
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.
jr. member
Activity: 177
Merit: 2
Hi !

First, many thanks for this very usefull tool !

I was planning for tests with https://github.com/Kasmetski/auto-hard-reset for Pi GPIO until I found your project. I'm interested in testing your solution with Pi 3 if needed.
I'm looking after nicehash pool, minergate pools and cryptoknight.cc pools support if you still take feature requests. For this last pool, I'll try to look into the sources, I think it may be close to node-js/fairpool code.
Would be glad to contribute if I can, I really appreciate that you have opened your sources.

Again, thank you for your awesome Rig Monitor



I spoke with the cryptoknight.cc discord mods and they provided me with a list of APIs. Could you send me the results of the APIs?
for the coming 6-7 days I am away from home so I can't setup my test server.
You can PM me the results on telegram @rodneymo

Pool Stats: https://cryptoknight.cc/rpc/ipbc/stats
Miner Stats: https://cryptoknight.cc/rpc/ipbc/stats_address?address=
Miner Payments: https://cryptoknight.cc/rpc/ipbc/get_payments?time=&address=
Miner Blocks: https://cryptoknight.cc/rpc/ipbc/get_userblocks?height=&address=
Pool Payments: https://cryptoknight.cc/rpc/ipbc/get_payments?time=
Pool Blocks: https://cryptoknight.cc/rpc/ipbc/get_blocks?height=
jr. member
Activity: 177
Merit: 2
Hi !

First, many thanks for this very usefull tool !

I was planning for tests with https://github.com/Kasmetski/auto-hard-reset for Pi GPIO until I found your project. I'm interested in testing your solution with Pi 3 if needed.
I'm looking after nicehash pool, minergate pools and cryptoknight.cc pools support if you still take feature requests. For this last pool, I'll try to look into the sources, I think it may be close to node-js/fairpool code.
Would be glad to contribute if I can, I really appreciate that you have opened your sources.

Again, thank you for your awesome Rig Monitor



Hey, thanks dude.

about pool support, could you create the respective feature requests on here: https://github.com/rodneymo/rig-monitorv2/issues
Which one is highest prio for you?
I have plans to add raspberry GPIO to rig-monitor soon. That will probably be in version 2.4 (ETA 2 weeks).

cryptoknight.cc implementation is not based on cryptonote-api, which is the standard for nodejs pools. After some googling, I found and tested the network stats API: https://cryptoknight.cc/rpc/karbo/stats, but not the other ones.
If you can help me finding out the other apis then I can get it to the next 2.3 dev version. I need miner stats, worker stats (if available)
 and payments.
newbie
Activity: 3
Merit: 0
Hi !

First, many thanks for this very usefull tool !

I was planning for tests with https://github.com/Kasmetski/auto-hard-reset for Pi GPIO until I found your project. I'm interested in testing your solution with Pi 3 if needed.
I'm looking after nicehash pool, minergate pools and cryptoknight.cc pools support if you still take feature requests. For this last pool, I'll try to look into the sources, I think it may be close to node-js/fairpool code.
Would be glad to contribute if I can, I really appreciate that you have opened your sources.

Again, thank you for your awesome Rig Monitor

jr. member
Activity: 177
Merit: 2

Hi all,
I found a bug on the claymore praser during the stability testing (10 days). It's rare, I have only seen it once, but I am issuing a patch nonetheless to both developement and stable branches:
2.2.2 (stable)
2.3.d.5 (developement)

you can download them here: https://github.com/rodneymo/rig-monitorv2/releases
jr. member
Activity: 177
Merit: 2

Hi all,

version 2.3.d3 (development) has been published. It includes support for:
bminer
EWBF
Ethminer
suprnova pools

You can get it here:https://github.com/rodneymo/rig-monitorv2/releases/tag/2.3.d.3
Next this week I'll make another release with the all-new profitability logic and dashboards.
jr. member
Activity: 177
Merit: 2

Hi all, version 2.3.d1 (development) has been published. It includes support for bminer and EWBF miners. You can get it here:https://github.com/rodneymo/rig-monitorv2/releases/tag/untagged-c30d233b2b307bbc6d7a
Later this week I'll make another release with the all-new (past ad future) profitability logic and dashboards.

this is the correct link for version 2.3.d1:
https://github.com/rodneymo/rig-monitorv2/releases/tag/2.3.d1
Pages:
Jump to: