• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Chess Brain: Experimental internet accessible peernode monitor

sciencewhiz

Diamond Member
I've been messing with one of the perl peernode monitors to cause it to write to a webpage. I currently have it availible at http://sciencewhiz.is-a-geek.com/peernodestats.html..

This shows the stats from the peernode monitor running at 63.205.137.201.

There are obviously a bunch of issues with alignment, and stuff, but I want to see if other people can connect to it, and if the page updates.

So, if a few people could set their netmon=63.205.137.201 and help me test it out.

There aren't any guarantees on how long it will be running, etc, or whether that IP will continue to point to my computer. If it doesn't work, try going to http://www2.hunter.com/~skh/scripts/dnslookup.html and putting in sciencewhiz.is-a-geek.com to get my updated IP.

I'm off to bed now, but I hope a few people can try it out 🙂

edit: fixed link, thanks JetBlack 🙂

edit2: see below for new server information
 
Apparently my ISP filters port 3434, so I can't run a server on it. I can run web and ftp servers just fine, but not 3434 😡

I may get this running on a friends machine, or if someone here has a server with web and perl (It shouldn't be restricted to linux, but it might be), let me know.
 
I'm new to perl but i have a server here with apache and perl under 2k that i can run it on if u want, only thing is i'm on 56K...

EDIT: Have jus confirmed that port 3434 is unblocked by my isp so if u want me 2 host it, jus send a pm or email 🙂
 
I'm running it on my 2K machine but it doesent seem to be updating 🙁
I'll have to talk to sciencewhiz some more about it...
 
The problem on my computer is that it isn't internet accessible, so I stopped pointing my internal clients at it.

I think the problem with the one that I sent Coolkid is that I don't fully understand what I need to do in perl to get it working in win2k. I haven't finished trying to troubleshoot it yet. Time difference between Los Angeles and Australia makes it difficult ;-)

If anyone has a linux server and can open port 3434 to the world, I'd like to try again.
 
it updates everytime a client sends data, which means that it won't scale very well. Now that I got it working on an internet accessible PC, I'll start making updates again.
 
Thanks sciencewhiz and CoolKid 🙂

I was talking to CoolKid earlier, about getting my computers to connect, and I was having a few troubles getting a couple of my clients to talk to the peernode monitor using the DNS name as opposed to the IP address.

CoolKid (with some persuasion and prodding on my behalf), emailed me the script, and I have it up and running on my machine at home (http://teamanandtech.d2g.com/cb) on my cable connection 🙂

If anyone else wants to try it out, or indeed sciencewhiz wants to test out any updated scripts, let me know, and i'll be happy to help 🙂


Garry
 
Been playing some 🙂 (If you get a 403 Access Denied error try again in a minute or so, it's just me playing 😉)


Would be good if more people could connect to my server and help me test it out 🙂


Garry
 
I have been doing some serious playing 🙂

The perl script (right click -> Save As) now writes to a php file which allows it to show the current time. In addition to this, I have also changed the percentage values so that they accurately reflect what they should (they were 100x too small before 😉) I shall be trying next to get the "Last CheckIn" to be the actual time since the last time it connected, but haven't looked at that yet 🙂

I have also added a couple of options for logging. It has the option to show the work on the Perl program screen, and/or into a log file log.txt The output into the text file is the same as is shown Verbose on the screen, and each is independant of the other (ie you can have one or the other, or both if you wish). When closing/opening the program, it will add to the existing log file, or if the log doesn't exist, will create a new one if needed 🙂

Please feel free to point you clients at it and help me test it 🙂


Garry
 
With 10 clients connected, the log file has grown to over 300k in just 7hrs! 🙂:Q

Therefore when I do some more playing later I shall turn off the log...however the option for logging will still be left in in case someone wants it 🙂


Garry
 
I made some changes to the one that confused did. Most of it is formatting of the html output. I also made the output file and log file names variables, as well as the title. I also included the ability to turn off php output, in case you don't have php installed.

My version is availible at http://sciencewhiz.is-a-geek.com/peernode_file.pl (save-as)

Coolkid is already running the new version. You can see it here: http://coolkidsserver.no-ip.com:12380/

A few more features that I would like to add:

[*]better looking output (CSS)
[*]sort hosts by nodes (or rate, or something)
[*]add users section
[*]recover from when monitor is shutdown
[*]add "forward" feature. Process incoming data and also send it to another peernode monitor


The first is something that I'd like help with. I'm only slightly proficient with HTML and CSS, and I have no design skills. If someone would like to make a template, that has all the right information in it, I can modify the perl program to use that template.

As for the other things, I don't know much perl, and I'm learning as I'm going, so I don't know how long it will take me to implement the other things. I'm very much open to suggestions, or people who know (or want to learn) perl.

edit: added another feature
 
"last checkin counter relative to now when using php output" has been added 🙂

Links same as above for updated version, v0.30 now 🙂

Will look at some of the stuff in sciencewhiz's list in post above this 🙂


Garry
 
Back
Top