Title: Full node info page Post by: ranochigo on May 28, 2020, 01:07:04 PM 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?
Title: Re: Full node info page Post by: PrimeNumber7 on May 28, 2020, 04:32:01 PM 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). Title: Re: Full node info page Post by: ranochigo on May 28, 2020, 04:36:14 PM You could make a series of RPC calls every x time that will return information about the current mempool stats. 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. ;DYou should be able to use the requests library to make the RPC calls and matotlib to create a chart (both Python libraries). Title: Re: Full node info page Post by: TryNinja on May 28, 2020, 04:46:57 PM 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. ;D 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? :) Title: Re: Full node info page Post by: DaCryptoRaccoon on May 28, 2020, 07:17:10 PM 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 Title: Re: Full node info page Post by: TryNinja on May 28, 2020, 08:33:20 PM ~snip~ He just mentioned this above, and then I questioned him why wouldn't he use it. :PI'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. ;D 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/ Title: Re: Full node info page Post by: ranochigo on May 29, 2020, 01:12:25 AM 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/ Title: Re: Full node info page Post by: TheBeardedBaby on May 29, 2020, 07:09:52 AM 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. Title: Re: Full node info page Post by: lassdas on May 29, 2020, 10:15:24 PM 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 (http://lassdas.mooo.com/) urself. I'm not much of an expert though, it was more like constant trial and error, :D but I also wrote a howto (http://lassdas.mooo.com/howto_bitcoin_full_node_statistics.php) 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. Title: Re: Full node info page Post by: ranochigo on May 30, 2020, 06:09:24 AM Some time ago I've made a simple stats-page for my little pi-node, 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!just the basic info like connections, mempool, cpu/memory-load, traffic, take a look (http://lassdas.mooo.com/) urself. I'm not much of an expert though, it was more like constant trial and error, :D but I also wrote a howto (http://lassdas.mooo.com/howto_bitcoin_full_node_statistics.php) 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. 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 :D. [1] https://github.com/craigwatson/bitcoind-status [2] https://bitcointalk.org/index.php?topic=916634.0 |