Check Website (Service Check)
- 02 Aug 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
Check Website (Service Check)
- Updated on 02 Aug 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Service Check Category: Web Checks
Passive: No
Description
Queries a web page for either a match to a user-provided regular expression or a 200 HTTP response.
To test for a regex pattern, enter a valid regular expression in the REGEX PATTERN field. Leave that field empty to test for a 200 HTTP response.
Check-specific Configuration Fields
(See Service Check for generic configuration parameters.)
- PROTOCOL - (Required) Specify the protocol type of the web page to be tested. Valid protocols are: http or https (if SSL is used).
- HOST/IP - (Optional) If the web page to be tested has an IP address that is different from that of the device to which this check is assigned, enter that IP here. If no address is specified, the IP address of the device is used. If a specific port is required, specify the port after the address separated by a colon (:) - e.g.,
192.168.1.1:8443
- URI FOR THE ADDRESS - (Optional) If a specific web page is to be tested, indicate the directory structure here. Valid URIs must being with a forward slash (/).
- REGEX PATTERN TO TEST FOR ON THE SITE THAT LOADS - (Optional) Specify a regular expression to match on the web page to be tested. If there is no match on the web page, the check becomes critical. If this field is left empty, the check will instead query for a 200 HTTP response. Any other response will cause the check to become critical.
- DESCRIPTION - (Required) This field specifies a name for this check. The name entered must be unique among service check names on the host it is added to (the name may used again only on a different host). It is used to identify this specific check from among other service checks added to the same host.
Was this article helpful?