Closed nethershaw closed 6 years ago
+CHART Gridcoin.rsa '' "Gridcoin research savings account" "GRC" RSA gridcoin.rsa line $((load_priority + 1)) $gridcoin_update_every
+DIMENSION paid_daily 'Paid daily' absolute 1 1
+DIMENSION paid_14days 'Paid 14 days' absolute 1 1
+DIMENSION exp_daily 'Expected daily' absolute 1 1
+DIMENSION exp_14days 'Expected 14 days' absolute 1 1
+CHART Gridcoin.fulfillment '' "Gridcoin fulfillment" "percent" Fulfillment gridcoin.fulfillment line $((load_priority + 1)) $gridcoin_update_every
+DIMENSION fulfillment '% Fulfilled' absolute 1 1
Quick sanity check on my part - is the RSA and the above settings still relevant to the latest client version?
+GRCAPP="$(which gridcoind)"
Should this not be 'which gridcoinresearchd'?
Aside from the above two questions, the PR looks good to me. Thoughts, @Foggyx420 ?
@grctest To your first question -- yes, the settings you quoted are still available from the RPC of the latest release client, 3.5.9.1. For the second -- yes, it probably should be which gridcoingresearchd
... I've seen inconsistent references to a gridcoind
in some dialogs and documentation strings, so I wasn't sure what the canonical name of the binary ought to be.
I'll change my conventions elsewhere so that the binary's name is whatever upstream decides it should be.
guess I haven't updated anyone in awhile:
grcpath is now set in a config on my test repo and the config is called for the path information, etc
grcpath is customly setup during the execution of the one line installer. . I opted to not use getent I believe as I didn't wish to allow any kind of compiler access or root access from normal user accounts for security reasons and a config worked better for me.
Also contains code in setup.sh to prevent a second entry in crontab.
you can customise the daemon filename as well.
setup.sh also downloads and installs freegeoip itself.
also the version I have I haven't had any issues with choking on ipv6 ips.
https://github.com/Foggyx420/Netdata-Test/blob/
use what u want.
@Foggyx420 I'm going to merge this in, I'd massively appreciate a pull request from your fork too 👍
@nethershaw Apologies for the late merge, thanks for your hard work!
I've made a few changes in my own fork that I think may be helpful. If the maintainers would like me to refactor the proposed commits differently, I'd be happy to rework this on another branch.
The following changelog applies only to the
getinfo/
tree of the repository:.GridcoinResearch/
directory is required,${GRCPATH}
is set usinggetent passwd gridcoin
and automatically set to the correct absolute path based on the user's actual home folder.chmod +x
thenetdata/charts.d/
script (it doesn't need to be, and shouldn't be, executable; it's included in memory when netdata sources it)jq
no longer chokes on: