URL
From ServersCheck Wiki
Contents |
Description
The first check we are going to outline is the URL or HTTP Content Check. The purpose of this check is to monitor if a certain URL returns a predefined string. This means that ServersCheck will connect to the specified URL, will grab the HTML page and will then check to see if the required string can be found in the content. If this is not the case then an alert will be generated.
Next to knowing if the site is up and running you can also check with this feature typical issues like internal server errors when they occur.
Definition
Beside general settings for each check, which are similar for all checks, there are following Check Specific Settings which also need to be setup. In the Check Specific Settings, there are following fields you need to supply with parameters:
- URL - The full URL that needs to be monitored. The location of the page. Should be preceded with http://
- String to find - The string that needs to be found in the content of that page.
You can also specify Authentication settings if needed:
- username and password for websites requiring authentication,
- a proxy server in the event that your computer connects to the web through a proxy server (with username and password if needed). Syntax: http://proxy:port
Returned Results
This check returns three results:
- Was a connection made to the server and could the string be found
- What was the HTTP status code returned by the server.
- What was the download time of the HTML page (not including graphics and other referenced content).
If you have Fail On Value 1 activated then it will check against the HTTP Status Code. For example you could generate an alert when the returned code is higher than 304. If you have Fail On Value 2 activated then it will track the download time against the reference or target value.
Graphs
When the graphing option is activated then ServersCheck will produce for this check 4 graphs: Service Level, Availability, Status Code and Download Time. Following are sample graphs for this check.

