# Introduction Sometimes you want to know if something interesting happens in Gridcoin network. Here is instruction how to create graphs for interesting parameters with cacti. It will be looks like that:  # Requirements * Gridcoin research client (RPC also possible) * Linux, Apache, MySQL, php * Cacti (sudo apt-get install cacti) * Script get_gridcoin_info_cli.php from https://github.com/sau412/gridcoin_monitoring # How to setup ## Script Copy get_gridcoin_info_cli.php to your cacti scripts folder, for my ubuntu it is: ```` /usr/share/cacti/site/scripts/ ```` And set your gridcoin folder variable in get_gridcoin_info_cli.php. Also your gridcoin folder should be accessible for user www-data. ## Cacti Cacti is RRDTool-based Graphing Solution. In simple words it can draw graphs. Usually it draw interface load, CPU load, user count. Now we add Gridcoin network stats here. ### Adding data input * Data collection -> Data input methods * Click 'New' (or plus in right top corner) * Name 'Get gridcoin network info' * Input type Script/Command * Command 'php <path_cacti>/get_gridcoin_info.php' * Click 'Save' * Add output fields: 'blocks', 'diff', 'moneysupply', 'netgrcweight' with friendly names ### Adding data source template * Templates -> New (or plus in right top corner) * Name 'Gridcoin - Blocks' * Data input method 'Get gridcoin network info' * Data source type 'GAUGE' for difficulty and net weight, 'COUNTER' for blocks and money supply. * Internal Data Source Name 'blocks' * Click 'Create' * Set 'Output field' to 'blocks' * Click 'Save' * Create data sources for 'diff', 'moneysupply', 'netgrcweight' is the same way ### Adding graph template * Templates -> Graph * Set name 'Gridcoin - Blocks' * Set title 'Gridcoin - Blocks' * Click 'Create' * Add Graph Template Items on the top * Set data source 'Gridcoin - Blocks' * Set color, line or area you want * Click 'Create' * Create grapth templates for 'diff', 'moneysupply', 'netgrcweight' is the same way ### Adding graphs * Create -> New graphs * Select 'Gridcoin - Blocks' and click 'Create' * Select 'Gridcoin - Difficulty' and click 'Create' * Select 'Gridcoin - Money supply' and click 'Create' * Select 'Gridcoin - Net weight' and click 'Create' Done. ### View graphs Open 'Graphs' tap on the top. After 10-20 minutes first strokes should appear on the graphs. In day or two you can open 'Graphs' tab to view your pretty graphs:  Notes: * Money supply currently not changing. I don't know what exactly it means. * In blocks graph you see milliblocks per second:) That's all! Thanks for reading. ___ <p><div class="pull-right">https://steemitimages.com/DQmNSv5FPKWmoZdEgF3GuvNpwAxueoaWZDFv7a48HPpc8WJ/image.png</div><strong><a href="http://gridcoin.us/">Gridcoin</a></strong> is an open source <a href="https://en.wikipedia.org/wiki/Cryptocurrency">cryptocurrency</a> (Ticker: GRC) which securely rewards volunteer computing performed upon the <a href="https://boinc.berkeley.edu/">BOINC platform</a> in a decentralized manner on top of <a href="http://wiki.gridcoin.us/Proof-of-Research#Proof-of-Stake">proof of stake</a>.</p> <p><div class="pull-left">https://steemitimages.com/DQmT2Q7sjXJgyUMRZK78HMztDkzzVZrYu14MzacW9nZj665/image.png</div><strong><a href="https://boinc.berkeley.edu/">BOINC</a></strong> (Berkeley Open Infrastructure for Network Computing) is a distributed Internet platform launched beginning of 2002 and rewards participants with credits for performed work. BOINC is an application available for multiple Operating Systems and utilises the unused CPU and GPU cycles on computers to perform scientific work.</p>
author | sau412 |
---|---|
permlink | gridcoin-network-monitoring-with-cacti |
category | gridcoin |
json_metadata | {"tags":["gridcoin","monitoring","instructions","cacti"],"image":["https://cdn.steemitimages.com/DQmTGtaXVwznK9uu4VYJvVd6yanYd2Kkc84zzgYRgaSGoq8/%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5.png","https://cdn.steemitimages.com/DQmdvaEzRHY9EkZQ3jLZ32EggixN3RuA9bPfZWngASaW9xb/%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5.png","https://steemitimages.com/DQmNSv5FPKWmoZdEgF3GuvNpwAxueoaWZDFv7a48HPpc8WJ/image.png","https://steemitimages.com/DQmT2Q7sjXJgyUMRZK78HMztDkzzVZrYu14MzacW9nZj665/image.png"],"links":["https://github.com/sau412/gridcoin_monitoring","http://gridcoin.us/","https://en.wikipedia.org/wiki/Cryptocurrency","https://boinc.berkeley.edu/","http://wiki.gridcoin.us/Proof-of-Research#Proof-of-Stake"],"app":"steemit/0.1","format":"markdown"} |
created | 2018-08-27 10:29:54 |
last_update | 2018-08-27 10:29:54 |
depth | 0 |
children | 2 |
last_payout | 2018-09-03 10:29:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 5.934 HBD |
curator_payout_value | 1.873 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 3,928 |
author_reputation | 8,198,119,818,978 |
root_title | "Gridcoin network monitoring with cacti" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 69,489,634 |
net_rshares | 5,238,957,532,025 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
hr1 | 0 | 53,410,898,360 | 0.02% | ||
cm-steem | 0 | 623,144,946,405 | 100% | ||
vortac | 0 | 4,467,829,284,898 | 100% | ||
neuralminer | 0 | 3,099,658,004 | 100% | ||
barton26 | 0 | 9,262,922,274 | 100% | ||
sodom | 0 | 2,568,035,167 | 100% | ||
nuad01 | 0 | 836,391,239 | 100% | ||
nexusprime | 0 | 1,902,329,529 | 100% | ||
grider123 | 0 | 2,280,855,891 | 100% | ||
guk | 0 | 1,279,533,870 | 100% | ||
jringo | 0 | 21,752,111,022 | 100% | ||
theissen | 0 | 2,281,657,125 | 100% | ||
steffenix | 0 | 731,228,993 | 100% | ||
parejan | 0 | 9,488,885,231 | 100% | ||
hownixt | 0 | 2,021,440,173 | 100% | ||
h202 | 0 | 6,012,862,039 | 100% | ||
alexmaksto | 0 | 611,016,369 | 100% | ||
rcebike | 0 | 4,114,763,089 | 100% | ||
sau412 | 0 | 2,349,337,879 | 100% | ||
grwd | 0 | 2,186,500,835 | 100% | ||
steemgridcoin | 0 | 4,676,212,413 | 100% | ||
nathanielcwm | 0 | 59,487,573 | 100% | ||
lordofreward | 0 | 428,088,214 | 0.75% | ||
antonova2030 | 0 | 502,546,675 | 100% | ||
igorik | 0 | 511,795,129 | 100% | ||
seniorid | 0 | 513,069,457 | 100% | ||
theeide | 0 | 513,069,457 | 100% | ||
grinmens | 0 | 514,197,884 | 100% | ||
leakingunder | 0 | 503,961,715 | 100% | ||
chucklehead | 0 | 598,050,223 | 100% | ||
windowsyak | 0 | 503,961,715 | 100% | ||
pointsbee | 0 | 503,961,715 | 100% | ||
busroasted | 0 | 503,961,715 | 100% | ||
twitchgoody | 0 | 503,961,715 | 100% | ||
molarwherever | 0 | 503,961,715 | 100% | ||
flatschowder | 0 | 503,961,715 | 100% | ||
moistmidpoint | 0 | 503,961,715 | 100% | ||
soulfulurban | 0 | 503,961,715 | 100% | ||
klintonm | 0 | 503,961,715 | 100% | ||
gridcoin-booster | 0 | 8,436,739,458 | 100% |
Very cool! Have you checked out the old [gridcoin netdata](https://github.com/grctest/GRC-Netdata) implementation? It needs uplifting, but can serve as a simple real-time gridcoin blockchain explorer that users can run alongside their nodes.
author | cm-steem |
---|---|
permlink | re-sau412-gridcoin-network-monitoring-with-cacti-20180827t112910508z |
category | gridcoin |
json_metadata | {"tags":["gridcoin"],"links":["https://github.com/grctest/GRC-Netdata"],"app":"steemit/0.1"} |
created | 2018-08-27 11:29:12 |
last_update | 2018-08-27 11:29:12 |
depth | 1 |
children | 1 |
last_payout | 2018-09-03 11:29:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.026 HBD |
curator_payout_value | 0.002 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 241 |
author_reputation | 58,522,774,254,119 |
root_title | "Gridcoin network monitoring with cacti" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 69,493,384 |
net_rshares | 19,951,022,796 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
barton26 | 0 | 9,092,439,041 | 100% | ||
sodom | 0 | 2,529,514,640 | 100% | ||
grider123 | 0 | 2,235,238,773 | 100% | ||
rcebike | 0 | 4,032,467,827 | 100% | ||
sau412 | 0 | 2,061,362,515 | 100% |
Nice project, added to bookmarks
author | sau412 |
---|---|
permlink | re-cm-steem-re-sau412-gridcoin-network-monitoring-with-cacti-20180827t115439022z |
category | gridcoin |
json_metadata | {"tags":["gridcoin"],"app":"steemit/0.1"} |
created | 2018-08-27 11:54:39 |
last_update | 2018-08-27 11:54:39 |
depth | 2 |
children | 0 |
last_payout | 2018-09-03 11:54:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 32 |
author_reputation | 8,198,119,818,978 |
root_title | "Gridcoin network monitoring with cacti" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 69,495,043 |
net_rshares | 0 |