Michdd Posted January 4, 2009 Share Posted January 4, 2009 How would I go about making something that would check if a server is online, or offline? I'm going to make this into a Php-GD image, but I can do all that, I just need to know a good method for checking if the server is online.. Link to comment https://forums.phpfreaks.com/topic/139410-determining-server-status/ Share on other sites More sharing options...
jonsjava Posted January 4, 2009 Share Posted January 4, 2009 which method do you want to use? I can give you multiple examples, all depending on how you want to do so. One method is ping, but that is assuming it responds to ping. Another method is telnet connection to a given service (more accurate, to check to see if a given service is running, but can take a little longer than a simple ping). Or you can do SNMP, but that's assuming that you have SNMP on that server, and know the pertinent OIDs. Link to comment https://forums.phpfreaks.com/topic/139410-determining-server-status/#findComment-729239 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.