craigwatson / bitcoind-status

PHP application to display status and information from the Bitcoin node daemon.
https://odin.vikingserv.net
Apache License 2.0
82 stars 77 forks source link

Setting up [Node Links] #27

Closed DemonRx closed 8 years ago

DemonRx commented 8 years ago

Hi Craig,

Sorry forgot to ask you how to setup the 'Node Links" in the config.php

I just want to put the DigiCube Logo and link it to Bitcointalk Thread

craigwatson commented 8 years ago

There should be enough information in the Readme to get that working.

What have you tried so far?

DemonRx commented 8 years ago

I understand this is the format >

_``` 'nodelinks' => array ( array ( 'name' => 'Bitnodes.21.co http://Bitnodes.21.co', 'image'=> 'img/bitnodes.21.co.png', 'link' => 'https://bitnodes.21.co/nodes/[IP]-[PORT]/ https://bitnodes.21.co/nodes/[IP]-[PORT]/' ), array ( ... ) ),

```

The way it's in my config.php:

'node_links' => array( 'name'=> 'DigiCube', 'image'=> 'node/img/cube.png', 'link' => 'https://bitcointalk.org/index.php?topic=1211692.new;topicseen#new' ),

however, this doesn't seem to work

On Sun, Jul 10, 2016 at 6:49 PM, Craig Watson notifications@github.com wrote:

There should be enough information in the Readme to get that working.

What have you tried so far?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/craigwatson/bitcoind-status/issues/27#issuecomment-231615649, or mute the thread https://github.com/notifications/unsubscribe/ARlCrmREEBwQlrhBObFHJD9xJtDXaBKpks5qUXb_gaJpZM4JI7zJ .

craigwatson commented 8 years ago

Is the path to the image correct? Also, there should be two arrays, as per the readme example.

DemonRx commented 8 years ago

/var/www/clients/client0/web1/web/node/img/cube.png

that's its location. and config.php is in node/php

craigwatson commented 8 years ago

TBH that path means nothing to me, because I don't know how your webserver is configured. Use of the script sssumed a certain amount of skills in working with web servers.

As per the readme, there should be two arrays, not one.

DemonRx commented 8 years ago

K, Working now :) > https://cryptostakers.com/node

Now to figure out why the peer chart isn't showing ?

On Sun, Jul 10, 2016 at 7:25 PM, Craig Watson notifications@github.com wrote:

TBH that path means nothing to me, because I don't know how tote webserver is configured. Use of the script sssumed a certain amount of skills in working with web servers.

As per the readme, there should be two arrays, not one.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/craigwatson/bitcoind-status/issues/27#issuecomment-231617242, or mute the thread https://github.com/notifications/unsubscribe/ARlCrt-CILntSlM8fmQFMGBL8aFH_D9-ks5qUX9hgaJpZM4JI7zJ .

craigwatson commented 8 years ago

Again, as per the readme, you need a minimum number of data points, so the cron needs to be set up and running successfully, and display_peer_chart In php/config.php should be true.

DemonRx commented 8 years ago

Node Stats Page

/5 * * * * curl -Ssk http://127.0.0.1/node/stats.php > /dev/null /5 * * * * curl -Ssk http://127.0.0.1/node/peercount.php > /dev/null

yup setup in cron and working. I forgot to add the peercount to cron, thanks for the reminder. Now i just wait for the chart to show.

On Mon, Jul 11, 2016 at 4:09 AM, Craig Watson notifications@github.com wrote:

For the peer chart, you need a minimum number of data points, so the cron needs to be set up and running successfully.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/craigwatson/bitcoind-status/issues/27#issuecomment-231668063, or mute the thread https://github.com/notifications/unsubscribe/ARlCrt6WxXM0yPPYZOTMW_hPXNFvTQLMks5qUfocgaJpZM4JI7zJ .

DemonRx commented 8 years ago

When i set display_ip, display_version, display_bitnodes_info => true they don't show any values

craigwatson commented 8 years ago

The Bitnodes display looks up your IP address against bitnodes.21.co - if you're running an altcoin your nodes won't be listed as they only crawl the Bitcoin node network.

The other switches rely on data being retrieved over RPC, so if the data isn't being provided in the correct format, it will be ignored, and I don't support RPC issues or altcoins.

DemonRx commented 8 years ago

Oh ok, then otherwise everything is working fine for what I need for this node. Thanks for all your help Craig, appreciate it!