WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

How To
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Server Connectivity


Question:

I would like to know what function to use to check the connectivity of a server using the client installed on a remote pc. I want write a script which will use the client to check whether server is up & running or not. If it is not running, it should prompt an error message. I would like to know which functions to use to check the server connectivity.

Answer:

You have to define what "server connectivity" means to you.

Do you want to check if the "Ping" service is running? If so you can use the iPing function in the WinInet Extender. Ftp Service? File and printer Sharing? SQL Server? Generally the Ping service will at least tell you the machine is powered on and running *something*

Otherwise you may want to try a more detailed query to see if the machine is doing what you want it to.

Is it an SQL server? Do an SQL Query.
Web Server? Downlaod a web page.
File Storage? Read a file.


Article ID:   W17022
File Created: 2007:07:03:14:27:38
Last Updated: 2007:07:03:14:27:38