Web Hosting Talk







View Full Version : custom server status script


MartynD
10-14-2007, 10:54 PM
looking for a custom server status script...

something you can add the ip:port to? and looks neat and tidy, i've been looking aorund the net, can't really find any basic scripts.. could just be used with ping i suppose?

htb
10-14-2007, 11:24 PM
looking for a custom server status script...

something you can add the ip:port to? and looks neat and tidy, i've been looking aorund the net, can't really find any basic scripts.. could just be used with ping i suppose?
Maybe you need to find someone to do the script or try all search engine :)

Slothie
10-15-2007, 01:41 PM
This would be fairly easy to do :P

zacharooni
10-16-2007, 04:00 AM
This is fairly easy to do in PHP, if you would like me to write a custom one for you, that can be arranged. :)

nobodyinc
10-16-2007, 07:58 PM
Here is some code I have used in the past:


$fp = fsockopen($host, $port,$errno,$errstr, 4);
if (!$fp){
//Server offline
} else {
//Server online
fclose($fp);
}

SagoMax
10-17-2007, 11:56 AM
You might want to specify what "status" you are looking for? Are you looking for a server-level monitor(does it ping?) or a service-level monitor(does Apache answer and provide content?).

A little more information would go a long way towards providing you a script that does what you are looking for.

charleyboy
10-17-2007, 12:02 PM
If you google "Free Server Status Script" the first few pages have some great free ones available. Just read and install.

toatee
10-17-2007, 12:42 PM
Have a look on hotscripts.com there are a few there