to test port 80 via command line / How to test Internet connection ...
SLCheck can monitor your
webserver by requesting a certain URL periodically, e.g. once a
-p 80 -a www.website.com -u / -r "HTTP/1.1 200 OK"
tries to establish a connection to server www.website.com
sends a HTTP GET request. The results are logged in file
SLReport.csv. In dependence of the answer one of the following batch
files will be executed:
if the GET request was successfull. That means that the
webserver has answered with the right answer string "HTTP/1.1
within 2000ms. Thats the
default timeout, you can change it with option -w. If you don't
want a batch file to be executed if the attempt is successful
you can add option -NoOkBatch.
eout.cmd if the server doesn't answer within 2000ms.
if the servers answers with a different answer string, e.g.
404 Not Found"
you don't want any batch files to run (only logging) you can add
option -NoBatch. Use -NoErrorBatch to suppress the execution of CheckTim
eout.cmd and CheckMismatch.cmd.
There's another article about the
Telnet SMTP commands.
Read how to check
your Webserver (port 80)
with the telnet command.
Citrix Server Monitoring