Author

Topic: Full node info page (Read 245 times)

legendary
Activity: 2954
Merit: 4158
May 30, 2020, 02:09:24 AM
#10
Some time ago I've made a simple stats-page for my little pi-node,
just the basic info like connections, mempool, cpu/memory-load, traffic,
take a look urself.

I'm not much of an expert though, it was more like constant trial and error,  Cheesy
but I also wrote a howto on how I've done it.
Might have to switch some commands here and there and probably even skip some parts (like installing a webserver, if you've already got one) depending on your setup.
This was just made for raspbian, but I see no reason why it shouldn't work on other systems too.

That's very neat. It's pretty ideal for my fairly underpowered system. Will use it for one of my nodes in the future. Thanks!

I've set up a node from a PHP script I found on github[1] and a Bitcointalk thread[2] with a little modification of my own. It's quite a simple page that displays the data without the graph. I've tried statoshi again and unfortunately, it was quite unusable for some reason.

My node is here: http://51.159.55.21/ . Uptime might be a bit spotty while I modify it as I go. I'll make my own status page when I have the time to code Cheesy.


[1] https://github.com/craigwatson/bitcoind-status
[2] https://bitcointalksearch.org/topic/php-bitcoin-node-status-page-916634
legendary
Activity: 3649
Merit: 1412
May 29, 2020, 06:15:24 PM
#9
Some time ago I've made a simple stats-page for my little pi-node,
just the basic info like connections, mempool, cpu/memory-load, traffic,
take a look urself.

I'm not much of an expert though, it was more like constant trial and error,  Cheesy
but I also wrote a howto on how I've done it.
Might have to switch some commands here and there and probably even skip some parts (like installing a webserver, if you've already got one) depending on your setup.
This was just made for raspbian, but I see no reason why it shouldn't work on other systems too.
legendary
Activity: 2184
Merit: 3134
₿uy / $ell
May 29, 2020, 03:09:52 AM
#8
Unless he just missed that the project is open source and even has a tutorial on how to host it for your node: https://jlopp.github.io/statoshi/
I'm aware but the installation process is quite long. I did it once and I don't think I need that much statistics. I'm looking for a more simplistic one like Shorena's [1] but I can't seem to find any way to replicate it. But well, if there's no alternatives then I guess I'll be going with statoshi again.

[1] http://188.68.53.44/

I was actually thinking about this as well, I saw Shorean's a few weeks ago and I thought that maybe I can do the same. I didn't have that much time to research it deeply but please, if you find something let men know. I'll keep an eye on this thread.
BTW Shorena is back online from a long period of inactivity, maybe shoot them a PM.
legendary
Activity: 2954
Merit: 4158
May 28, 2020, 09:12:25 PM
#7
Unless he just missed that the project is open source and even has a tutorial on how to host it for your node: https://jlopp.github.io/statoshi/
I'm aware but the installation process is quite long. I did it once and I don't think I need that much statistics. I'm looking for a more simplistic one like Shorena's [1] but I can't seem to find any way to replicate it. But well, if there's no alternatives then I guess I'll be going with statoshi again.

[1] http://188.68.53.44/
legendary
Activity: 2758
Merit: 6830
May 28, 2020, 04:33:20 PM
#6
~snip~
He just mentioned this above, and then I questioned him why wouldn't he use it. Tongue

I'm thinking of something like statoshi but it isn't really my expertise to design a nice looking site. I'm trying to see if anyone has any better alternatives, or else I'll just make my own.  Grin
It seems like Statoshi uses Grafana, which is what I used to make my Telegram bot stats page a few days ago (and it's great). Why can't you use it?

Unless he just missed that the project is open source and even has a tutorial on how to host it for your node: https://jlopp.github.io/statoshi/
hero member
Activity: 1194
Merit: 573
OGRaccoon
May 28, 2020, 03:17:10 PM
#5
I think this might be worth a look.

https://statoshi.info/

The source is also available on github so you could roll you one local on a PI or something

https://github.com/jlopp/statoshi
legendary
Activity: 2758
Merit: 6830
May 28, 2020, 12:46:57 PM
#4
I'm thinking of something like statoshi but it isn't really my expertise to design a nice looking site. I'm trying to see if anyone has any better alternatives, or else I'll just make my own.  Grin
It seems like Statoshi uses Grafana, which is what I used to make my Telegram bot stats page a few days ago (and it's great). Why can't you use it?

Also, which dedicated server did you buy, if I may ask? Smiley
legendary
Activity: 2954
Merit: 4158
May 28, 2020, 12:36:14 PM
#3
You could make a series of RPC calls every x time that will return information about the current mempool stats.

You should be able to use the requests library to make the RPC calls and matotlib to create a chart (both Python libraries).
I'm thinking of something like statoshi but it isn't really my expertise to design a nice looking site. I'm trying to see if anyone has any better alternatives, or else I'll just make my own.  Grin
copper member
Activity: 1610
Merit: 1898
Amazon Prime Member #7
May 28, 2020, 12:32:01 PM
#2
You could make a series of RPC calls every x time that will return information about the current mempool stats.

You should be able to use the requests library to make the RPC calls and matotlib to create a chart (both Python libraries).
legendary
Activity: 2954
Merit: 4158
May 28, 2020, 09:07:04 AM
#1
I'm trying to set up my own Bitcoin node with another (quite underpowered) dedicated server I just bought. I'm looking for some script to display the statistics of my node (mempool data, traffic etc). Is there any lightweight scripts that does this easily?
Jump to: