How do I check if a server is alive when ping is disabled?

2

2

If I'm on a Windows 7 or for example on a standard Ubuntu machine and I want to check if a server is up, what are alternatives to ping? If ping is disabled and does not answer, what can I then use?

Svish

Posted 2011-01-31T13:52:55.627

Reputation: 27 731

What do you mean by "what can I then use"? What can you then use to do what exactly? – Matthieu Cartier – 2011-01-31T14:01:59.793

1you could try connecting to whatever sevice that server provides? – TZHX – 2011-01-31T14:24:00.657

@neurolysis: Check if the machine is alive and "in range" in the network. – Svish – 2011-02-01T11:45:21.563

Answers

4

Maybe you could use a port scanner, so if a port is open (for example netbios, http or anything else) you will get reply and know that machine is alive.

Or if you know username or password, can use SNMP or WMI and try to get information about machine.

Halil Bozdogan

Posted 2011-01-31T13:52:55.627

Reputation: 618

Yup, that'll do it. Or if you know what's running on the server (FTP, SMTP, etc) you could try to telnet onto the relevant port assuming it's the default port – Ciaran – 2011-01-31T22:45:46.617

1

You also can use telnet with the proper port (if you know which service is serving by this server)

if the server is yours and is invisible from internet, you can create automated script on the server to put a file with timestamp somewhere on public ftp server from time to time and check that file.

If the server is invisible from internet and you own a visible web server somewhere, you can create automated script on the server to get some page (even non existing one) from the web server and monitor web server's log files for the pattern.

jet

Posted 2011-01-31T13:52:55.627

Reputation: 2 675