server status from x10hosting

Mikek

New Member
Messages
246
Reaction score
0
Points
0
You know how cpanel has the service status link?

I was just thinking is it possible for the server status to be displayed as a link in these forums.

This is so when they can't access cpanel/website they know whether something is wrong with the server.
 

Parth

Banned
Messages
194
Reaction score
0
Points
0
Well all is fixed now. Fantastico is included in all accounts now. :D
 

Alejandro

Staff
Staff member
Community Support
Messages
9,436
Reaction score
1
Points
38
I Cpanel, in the left side are your stats under that are the servers start, there's a link there that says Service Status: Click to view.
 

Parth

Banned
Messages
194
Reaction score
0
Points
0
Yes but right now nobody on server 3 can access their cpanel not to even mention their site of offline :angry:
 

Lindsey

New Member
Messages
208
Reaction score
0
Points
0
Parth said:
Well the whole server just crashed AGAIN!
*pats Parth on back* there, there, it'll be alright, i know it's frustrating though and I'm not going to say the phrase that I absolutely loathe hearing in situations like this, but you know you're thinking it :D
 
N

Nathan

Guest
Wait, you mean online/offline, whatever? Meh, I'll code something up in PHP...

Edit:

Nevermind, I realized I coded something like this earlier, I'll get to work on it in a few...

PHP:
<?
error_reporting(0);
$IP = array(
"Login Server" => "SERVER IP + PORT",
); while(list($ServerName,$Host)=each($IP)) {
list($IPAddress,$Port)=explode(":",$Host);
if($fp=fsockopen($IPAddress,$Port,$ERROR_NO,$ERROR  _STR,(float)0.5)) {
echo("<font color=\"white\"><b>Login Server</b>&nbsp;-&nbsp;<font color=\"green\"><b>Online</b></font>");
fclose($fp);
}
else {
echo ("<font color=\"black\"><b>Login Server</b>&nbsp;-&nbsp;<font color=\"red\"><b>Offline</b></font>");
}
echo ("");
}
?>
<p></p>
<?
error_reporting(0);
$IP = array(
"Map Server" => "SERVER IP + PORT",
); while(list($ServerName,$Host)=each($IP)) {
list($IPAddress,$Port)=explode(":",$Host);
if($fp=fsockopen($IPAddress,$Port,$ERROR_NO,$ERROR  _STR,(float)0.5)) {
echo("<font color=\"white\"><b>Map Server</b>&nbsp;&nbsp;-&nbsp;<font color=\"green\"><b>Online</b></font>");
fclose($fp);
}
else {
echo ("<font color=\"black\"><b>Map Server</b>&nbsp;&nbsp;-&nbsp;<font color=\"red\"><b>Offline</b></font>");
}
echo ("");
}
?>
<p></p>
<?
error_reporting(0);
$IP = array(
"Char Server" => "SERVER IP + PORT",
); while(list($ServerName,$Host)=each($IP)) {
list($IPAddress,$Port)=explode(":",$Host);
if($fp=fsockopen($IPAddress,$Port,$ERROR_NO,$ERROR  _STR,(float)0.5)) {
echo("<font color=\"white\"><b>Char Server</b>&nbsp;&nbsp;-&nbsp;<font color=\"green\"><b>Online</b></font>");
fclose($fp);
}
else {
echo ("<font color=\"black\"><b>Char Server</b>&nbsp;&nbsp;-&nbsp;</font><font color=\"red\"><b>Offline</b></font>");
}
echo ("");
}
?>
 
Last edited by a moderator:
Top