![]() |
Server availability indicator
Since we have had a recurring issue with server availablity and the 2250 message, I would suggest that we get a server status indicator on the top of the forum somewhere.
It would make it easier for everyone, newcomer and veteran alike, to see what is going on. It could be a simple icon or image that changes color (red, green, orange), or something like that. PM |
Excellent idea!
|
Show me how to do that and I'll toss it in...
:smile: |
You can find a perl script that gets the info for you. It has to be set up properly, and you have to test the right url, but shouldn't be to big a problem.
See this site for a script that can be fixed: [url]http://www.nathandickman.com/[/url] PM |
Okay...
We have indicators for [url]www.mersenne.org[/url] and opteron.mersenneforum.org set up... Hopefully they don't hit mersenne.org's server too hard... On opteron.mersenneforum.org the load is minimal, even with it on every page... I don't know how to link to PrimeNet directly... What URL can we use that queries it? If mersenne.org is up does that mean that PrimeNet is up? Can PrimeNet handle being hit this hard? Do we need an indicator for ftp.mersenne.org? |
Xyzzy,
you can use either an address like mersenne.org, or the IP address in the call to the cgi script. PM |
A 'server-up' test URL that actually threads through the PrimeNet logic:
[url]http://mersenne.org/cgi-bin/pnHttp.ex_?args[/url] where args is the string "ps&4&.&." and the .ex_ is '.exe'. You will get a response like this if the client transaction systems are operating nominally: [SIZE=1]pnResult=0 versionNumber=4 buildID=4.0.031 primenetServerName=PrimeNet Server ©1997-2003 Entropia, Inc. adminEmailAddr=primenet@mersenne.org, [url]http://mersenne.org/primenet[/url][/SIZE] Prime95 performs this URL hit before initiating a series of transactions. Try it in a browser, too. I have previously used the same URL for a pager alerting system hooked into the server. |
I can't make that PrimeNet URL work with the Perl script... :sad:
Any ideas? Here is how to test the script... [code]http://www.teamprimerib.com/cgi-bin/serverstatus.cgi?[url]http://www.yahoo.com/[/url][/code]Replace the Yahoo with whatever you want... |
try a backslash before the question mark
|
| All times are UTC. The time now is 08:22. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.