mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Lounge

Reply
 
Thread Tools
Old 2003-11-25, 13:57   #1
Prime Monster
 
Prime Monster's Avatar
 
Aug 2002

22×5×13 Posts
Lightbulb 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
Prime Monster is offline   Reply With Quote
Old 2003-11-25, 14:50   #2
edorajh
 
edorajh's Avatar
 
Oct 2003
Croatia

23×3×19 Posts
Thumbs up

Excellent idea!
edorajh is offline   Reply With Quote
Old 2003-11-25, 16:41   #3
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

23×3×313 Posts
Default

Show me how to do that and I'll toss it in...

Xyzzy is offline   Reply With Quote
Old 2003-11-25, 16:56   #4
Prime Monster
 
Prime Monster's Avatar
 
Aug 2002

22·5·13 Posts
Default

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: http://www.nathandickman.com/

PM
Prime Monster is offline   Reply With Quote
Old 2003-11-26, 00:47   #5
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

165308 Posts
Default

Okay...

We have indicators for www.mersenne.org 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 is offline   Reply With Quote
Old 2003-11-26, 00:58   #6
Prime Monster
 
Prime Monster's Avatar
 
Aug 2002

22×5×13 Posts
Default

Xyzzy,
you can use either an address like mersenne.org, or the IP address in the call to the cgi script.

PM
Prime Monster is offline   Reply With Quote
Old 2003-11-26, 01:47   #7
Old man PrimeNet
 
Old man PrimeNet's Avatar
 
Jan 2003
Altitude>12,500 MSL

101 Posts
Default

A 'server-up' test URL that actually threads through the PrimeNet logic:
http://mersenne.org/cgi-bin/pnHttp.ex_?args
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:
pnResult=0 versionNumber=4 buildID=4.0.031 primenetServerName=PrimeNet Server ©1997-2003 Entropia, Inc. adminEmailAddr=primenet@mersenne.org, http://mersenne.org/primenet

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.
Old man PrimeNet is offline   Reply With Quote
Old 2003-11-26, 06:33   #8
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

23·3·313 Posts
Default

I can't make that PrimeNet URL work with the Perl script...

Any ideas?

Here is how to test the script...

Code:
http://www.teamprimerib.com/cgi-bin/serverstatus.cgi?http://www.yahoo.com/
Replace the Yahoo with whatever you want...
Xyzzy is offline   Reply With Quote
Old 2003-11-26, 07:15   #9
garo
 
garo's Avatar
 
Aug 2002
Termonfeckin, IE

AB816 Posts
Default

try a backslash before the question mark
garo is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Skylake AVX-512: Google Cloud has announced general availability GP2 Cloud Computing 63 2017-06-14 06:29
Jan Otto Munch Pedersen Availability EdH Aliquot Sequences 11 2015-11-27 03:53
New server! Xyzzy Lounge 8 2005-08-29 15:30
Doing ECM through a server jasong Factoring 3 2005-08-28 03:41
New Server Hardware and price quotes, Funding the server Angular PrimeNet 32 2002-12-09 01:12

All times are UTC. The time now is 08:56.

Thu Jun 4 08:56:21 UTC 2020 up 71 days, 6:29, 0 users, load averages: 0.96, 1.23, 1.31

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.