shorena (OP)
Copper Member
Legendary
Offline
Activity: 1498
Merit: 1530
No I dont escrow anymore.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 28, 2014, 11:59:10 AM |
|
I struggled with MY ISP and their cablemodem long enough and decided its not worth my time and efford to get a local full node working. Thus I bought a VPS a few days ago and now have a working full node on a server that does nothing else. Stats as of today: last known block: 286600 Peers: 20/50 Bandwith: 100MBit, no limits on traffic Bandwith used: day | in (gb) | out (gb) 25 | 0.06 | 0.01 26 | 9.01 | 2.33 27 | 11.71 | 7.22 28 | 0.09 | 3.16
Since I am a bit lazy I dont want to login via ssh everytime I want to see the above (and possible more) stats. I want a html page that shows basic info about the node. I found this script: http://pastebin.com/wKytLZmc but noone running it. Please share a link to your full node or what youd like to see on a stats page regarding your full node. The only thing that should be used for it is HTML. The page can be build by a cronjob via python or ruby in the background though.
|
Im not really here, its just your imagination.
|
|
|
|
shorena (OP)
Copper Member
Legendary
Offline
Activity: 1498
Merit: 1530
No I dont escrow anymore.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 28, 2014, 03:37:58 PM |
|
Thanks, vnstati looks awesome, I thought I had to dump the data from vnstat and feed them into something else "by hand". A textfile came to mind, but Im not that lazy ![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
|
Im not really here, its just your imagination.
|
|
|
deepceleron
Legendary
Offline
Activity: 1512
Merit: 1036
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 28, 2014, 05:48:11 PM |
|
Thanks for running this, it's good that more nodes are up that can send out 100mbps instead of the ~2mbps that most home connections can do. When Bitcoin picks a sad node to download the blockchain from, it delays the user getting caught up. A lot of people only run Bitcoin when they send money, requiring a day or weeks to be downloaded at once. You might as well do something interesting like put up an abe blockchain explorer if you are fronting the bill for services. Also https://insight.bitpay.com/ is newer explorer software. Are the stats for 26th and 27th you downloading the blockchain after installation? That seems like an awful lot of inbound traffic.
|
|
|
|
shorena (OP)
Copper Member
Legendary
Offline
Activity: 1498
Merit: 1530
No I dont escrow anymore.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 28, 2014, 07:13:04 PM Last edit: August 28, 2014, 07:25:32 PM by shorena |
|
Thanks for running this, it's good that more nodes are up that can send out 100mbps instead of the ~2mbps that most home connections can do. When Bitcoin picks a sad node to download the blockchain from, it delays the user getting caught up. A lot of people only run Bitcoin when they send money, requiring a day or weeks to be downloaded at once.
My main problem at home is that I cant get the cable modem/router to properly forward ports to the router I use to configure the network. They somehow "disabled" the DMZ I had. If I enter the URL directly I can still see the DMZ settings, but not change anything. Well some ISPs are just dicks when its their hardware -_- You might as well do something interesting like put up an abe blockchain explorer if you are fronting the bill for services. Also https://insight.bitpay.com/ is newer explorer software. I dont think Ill run anything else there. The server is very limited (50GB disk, 2 GB ram), but I will consider it should I ever upgrade. I initially thought to make the node available via tor. Ill see how the server handles the node, cronjobs for the stats and apache first. Are the stats for 26th and 27th you downloading the blockchain after installation? That seems like an awful lot of inbound traffic.
Yes, the 28th is so low because I didnt start bitcoind when I went to sleep as you can see from the stats below (made with vnstati). ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FXXL7g5t.png&t=665&c=eAtosd0ISBWEsg) Looks like one of the peers I have a connection to is also downloading the complete blockchain as its not yet fully synced (~290k/317k blocks) Edit: Yes getpeerinfo confirms it. I have a connections to two other nodes that are at 224k and 228k blocks $ bitcoind getpeerinfo | grep startingheight -snip- "startingheight" : 224207, -snip- "startingheight" : 288428, -snip-
Next step is to get some nice graphs (currently reading into rrdtool[1]) for the number of connected peers and figure out how many of them the server can handle once fully synced. [1] www.cuddletech.com/articles/rrd/index.html
|
Im not really here, its just your imagination.
|
|
|
vm1990
Legendary
Offline
Activity: 1540
Merit: 1002
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 29, 2014, 12:01:39 PM Last edit: August 29, 2014, 12:31:09 PM by vm1990 |
|
my main problem is how broke dpkg packages are on linux XD id have 2 extra nodes is i could fix the damn things. and people say linux is better than windows YEH RIGHT
well after posting i seemed to have fixed the problem XD blockchain now downloading to my most powerful server and already got 15 connections XD never seen the pretty green bar lit up before
|
|
|
|
|
shorena (OP)
Copper Member
Legendary
Offline
Activity: 1498
Merit: 1530
No I dont escrow anymore.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 01, 2014, 01:04:05 PM |
|
Thanks for the links, but it looks like most of them use PHP, not really into that ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) My current play is to just make a static html page that displays pictures which get updated by shell scripts in the background.
|
Im not really here, its just your imagination.
|
|
|
Justin00
Legendary
Offline
Activity: 910
Merit: 1000
★YoBit.Net★ 350+ Coins Exchange & Dice
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 01, 2014, 03:01:02 PM |
|
Very cool graphs. Do you mind sharing the full commands you use for rrdtool to generate those specific graphs please ? I've only ever played with rrdtools with cacti, but cacti was doing all the work :/ Thanks heaps ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
shorena (OP)
Copper Member
Legendary
Offline
Activity: 1498
Merit: 1530
No I dont escrow anymore.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 01, 2014, 05:09:03 PM |
|
Very cool graphs. Do you mind sharing the full commands you use for rrdtool to generate those specific graphs please ? I've only ever played with rrdtools with cacti, but cacti was doing all the work :/ Thanks heaps ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) I am actually not that far with rrdtool, didnt have much time the last days. The pic above is made with vnstati, which is very convenient because it gathers all the data automatically. I plan to change the colors, I saw a pic somewhere where that was possible. Full command for it is: vnstati -ne -nh -i venet0 -o /var/... -hs --transparent 0 -ru 0
transparent 0 is not needed AFAIK, just have it in there since I plan to mess with the config files.
|
Im not really here, its just your imagination.
|
|
|
zvs
Legendary
Offline
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 05, 2014, 06:34:21 PM |
|
Yeah, I posted about http://176.10.116.242/ a while back, but nobody answered (so I guess it's not public domain)... I imagine it's pretty easy to do, but I wouldn't know how to make something like that.
|
|
|
|
shorena (OP)
Copper Member
Legendary
Offline
Activity: 1498
Merit: 1530
No I dont escrow anymore.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 05, 2014, 07:17:47 PM |
|
Yeah, I posted about http://176.10.116.242/ a while back, but nobody answered (so I guess it's not public domain)... I imagine it's pretty easy to do, but I wouldn't know how to make something like that. You could try to make a post in the german section. Im still working on a rrdtool test setup, update on my traffic: ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FivbPAt4.png&t=665&c=pB0nV2eEQdONZg) It looks like the peers launch bitcoin-core after work/school/etc and shutdown after the/over night.
|
Im not really here, its just your imagination.
|
|
|
zvs
Legendary
Offline
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 06, 2014, 02:58:50 AM |
|
Yeah, I posted about http://176.10.116.242/ a while back, but nobody answered (so I guess it's not public domain)... I imagine it's pretty easy to do, but I wouldn't know how to make something like that. You could try to make a post in the german section. Im still working on a rrdtool test setup, update on my traffic: ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FivbPAt4.png&t=665&c=pB0nV2eEQdONZg) It looks like the peers launch bitcoin-core after work/school/etc and shutdown after the/over night. I was looking at that, but doesn't seem to be a way to limit it to show traffic by progamid (or by port, incoming port 8333 + outgoing port 8333).... so it shows all my other traffic too, not just including bitcoind. May be something other than vnstat out there that will do that, but I couldn't find anything.. ed: well, the internal stats that bitcoin keeps would work. which could probably be added if something like what is on 176.10.116.242 was done
|
|
|
|
Newar
Legendary
Offline
Activity: 1358
Merit: 1001
https://gliph.me/hUF
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 06, 2014, 05:58:46 AM |
|
[...], but it looks like most of them use PHP, not really into that ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) [..] They work out of the box. I can personally confirm that no PHP knowledge is needed. ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) Yeah, I posted about http://176.10.116.242/ a while back, but nobody answered (so I guess it's not public domain)... I'm looking into it. I was looking at that, but doesn't seem to be a way to limit it to show traffic by progamid (or by port, incoming port 8333 + outgoing port 8333).... so it shows all my other traffic too, not just including bitcoind.
May be something other than vnstat out there that will do that, but I couldn't find anything..
ed: well, the internal stats that bitcoin keeps would work. which could probably be added if something like what is on 176.10.116.242 was done
nethogs shows traffic by PID, I don't know how to put that info on a web page though.
|
|
|
|
shorena (OP)
Copper Member
Legendary
Offline
Activity: 1498
Merit: 1530
No I dont escrow anymore.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 06, 2014, 11:27:53 AM |
|
-snip-
I was looking at that, but doesn't seem to be a way to limit it to show traffic by progamid (or by port, incoming port 8333 + outgoing port 8333).... so it shows all my other traffic too, not just including bitcoind.
May be something other than vnstat out there that will do that, but I couldn't find anything..
ed: well, the internal stats that bitcoin keeps would work. which could probably be added if something like what is on 176.10.116.242 was done
Yeah, but the internal stats are messured per peer, or is there a central data point? Since my server does nothing but run bitcoind I doubt there is much traffic otherwise. Well besides me checking the stats and connecting via ssh.
|
Im not really here, its just your imagination.
|
|
|
mrflibblehat
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 350
Merit: 250
★YoBit.Net★ 350+ Coins Exchange & Dice
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 07, 2014, 12:02:32 PM Last edit: September 08, 2014, 09:00:47 AM by mrflibblehat |
|
I found this post interesting and thought I would make an info page for my node. I got a few ideas by looking around at different pages and came up with this. http://188.165.242.83/node/I created the script in Python and use cron to run it every 1 minute for autoupdate. If you are interested you can download it from here - https://www.dropbox.com/s/3g6qho1e2q0z6p6/FullNode.zip?dl=0This contains the python script and the css file for formatting (the css file goes with the create HTML file) The script uses 2 external dependencies hurry.filesize (pip install hurry.filesize) python-bitcoinrpc ( https://github.com/jgarzik/python-bitcoinrpc) You can install this by cloning it and running "python setup.py install" you will need to edit the script and change the following text to what you want. RPCUSER RPCPASS IPADDRESS LOCATION In the coming days I plan to add some graphs, history and make it look a little prettier. If you would like to donate my address is 1QF271jjauFrfojG42b8frfLz4eNRkzpDy Hope this is useful to someone
|
|
|
|
zvs
Legendary
Offline
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 10, 2014, 01:15:22 AM |
|
I found this post interesting and thought I would make an info page for my node. I got a few ideas by looking around at different pages and came up with this. http://188.165.242.83/node/I created the script in Python and use cron to run it every 1 minute for autoupdate. If you are interested you can download it from here - https://www.dropbox.com/s/3g6qho1e2q0z6p6/FullNode.zip?dl=0This contains the python script and the css file for formatting (the css file goes with the create HTML file) The script uses 2 external dependencies hurry.filesize (pip install hurry.filesize) python-bitcoinrpc ( https://github.com/jgarzik/python-bitcoinrpc) You can install this by cloning it and running "python setup.py install" you will need to edit the script and change the following text to what you want. RPCUSER RPCPASS IPADDRESS LOCATION In the coming days I plan to add some graphs, history and make it look a little prettier. If you would like to donate my address is 1QF271jjauFrfojG42b8frfLz4eNRkzpDy Hope this is useful to someone ah, looking good. like a clone of 176.10.116.242, but not so polished yet. =p I guess you were syncing with blockchain, w/ those downloaded amounts... shame about the BQS nodes.. things like that are one of the reasons ppl complain about slow syncs. I think it takes .. 3 minutes? ... before it asks another peer for those blocks. I sent .01 to 13qDi8k6cPvwAEDVGL7TYrGcAgEtKb22jt a while back (176.10.116.242 fellow).. slick it up some and I'd send $5 or $10 or something. =p I prefer the gray/white/black color scheme... also, re: 176.10.116.242 and the ping times... if you could have it adjust those to ms that'd be a step up. Another thing it's lacking is total amount sent & total amount received (which would include the peers it has connected to & disconnected from). I *think* that information is available in bitcoin-cli, but not positive. also, there sure are a lot of dead nodes that just receive info and never send anything out (on 176.10.116.242, 130.253.21.121, 195.113.161.13, 219.243.208.60 amongst others appear to just be wasting inbound slots)... *boggle*
|
|
|
|
shorena (OP)
Copper Member
Legendary
Offline
Activity: 1498
Merit: 1530
No I dont escrow anymore.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 10, 2014, 07:54:31 AM |
|
I still cant get rrdtool to accept the number of connections. It allways displays NaN even though I follow the tutorial [1] Get the value and put it in variable "$speed" rrdtool update speed.rrd N:$speed
And when I return $con to std:out it shows as number -_- frustrating. I modified the apache default page a bit to show some infos for now [2]. Keep in mind its a work in progress. I might have some hours tomorrow to battle with rrd again. Did any of you ever use it? It looks like a simple and powerfull tool, I probably just miss something. [1] http://oss.oetiker.ch/rrdtool/tut/rrdtutorial.en.html[2] http://213.165.91.169/
|
Im not really here, its just your imagination.
|
|
|
mrflibblehat
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 350
Merit: 250
★YoBit.Net★ 350+ Coins Exchange & Dice
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 10, 2014, 02:42:27 PM |
|
I found this post interesting and thought I would make an info page for my node. I got a few ideas by looking around at different pages and came up with this. http://188.165.242.83/node/I created the script in Python and use cron to run it every 1 minute for autoupdate. If you are interested you can download it from here - https://www.dropbox.com/s/3g6qho1e2q0z6p6/FullNode.zip?dl=0This contains the python script and the css file for formatting (the css file goes with the create HTML file) The script uses 2 external dependencies hurry.filesize (pip install hurry.filesize) python-bitcoinrpc ( https://github.com/jgarzik/python-bitcoinrpc) You can install this by cloning it and running "python setup.py install" you will need to edit the script and change the following text to what you want. RPCUSER RPCPASS IPADDRESS LOCATION In the coming days I plan to add some graphs, history and make it look a little prettier. If you would like to donate my address is 1QF271jjauFrfojG42b8frfLz4eNRkzpDy Hope this is useful to someone ah, looking good. like a clone of 176.10.116.242, but not so polished yet. =p I guess you were syncing with blockchain, w/ those downloaded amounts... shame about the BQS nodes.. things like that are one of the reasons ppl complain about slow syncs. I think it takes .. 3 minutes? ... before it asks another peer for those blocks. I sent .01 to 13qDi8k6cPvwAEDVGL7TYrGcAgEtKb22jt a while back (176.10.116.242 fellow).. slick it up some and I'd send $5 or $10 or something. =p I prefer the gray/white/black color scheme... also, re: 176.10.116.242 and the ping times... if you could have it adjust those to ms that'd be a step up. Another thing it's lacking is total amount sent & total amount received (which would include the peers it has connected to & disconnected from). I *think* that information is available in bitcoin-cli, but not positive. also, there sure are a lot of dead nodes that just receive info and never send anything out (on 176.10.116.242, 130.253.21.121, 195.113.161.13, 219.243.208.60 amongst others appear to just be wasting inbound slots)... *boggle* Thanks ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Yeah I got the idea from that site, Im currently in the process of upgrading it, I think il add a feature to be able to choose a different css file (so it can have multiple themes)! also I plan on adding the ping time but all mine are currently 0?!?! I know bitcoind gets it ping value from network ping and processing backlog. I should have something nicer and clearer up in the next couple of days ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
zvs
Legendary
Offline
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 10, 2014, 04:15:37 PM |
|
I still cant get rrdtool to accept the number of connections. It allways displays NaN even though I follow the tutorial [1] Get the value and put it in variable "$speed" rrdtool update speed.rrd N:$speed
And when I return $con to std:out it shows as number -_- frustrating. I modified the apache default page a bit to show some infos for now [2]. Keep in mind its a work in progress. I might have some hours tomorrow to battle with rrd again. Did any of you ever use it? It looks like a simple and powerfull tool, I probably just miss something. [1] http://oss.oetiker.ch/rrdtool/tut/rrdtutorial.en.html[2] http://213.165.91.169/haha, that 1st page is making my brain hurt. re: mrflibblehat, that rrd thing should be able to convert those ping times to ms as well. my bitcoin-cli for example shows; "pingtime" : 0.13562600 "pingtime" : 2.79798200, "pingtime" : 0.05269900, "pingtime" : 0.19598100, etc... which I believe are 135ms, 2.8s, 52ms, and 196ms? the 2.8s one also has a "pingwait" : 582.27381700 ... i'm guessing he's DLing the blockchain and computer is overloaded or something. oh, i thought the charts on #2 looked cool.. just not something I could use, since it's still just taking all traffic & I have many things running heh
|
|
|
|
|