HTTP default checks and policies
Summarize
Summary of HTTP Default Checks and Policies
The Agent Client Collector in ServiceNow offers policies for HTTP health monitoring, enabling customers to verify the functionality and performance of HTTP endpoints through various checks. These checks are crucial for maintaining service reliability and ensuring optimal performance.
Show less
Key Features
- HTTP Entry Point Events Policy: Includes checks such as
util.check-http-follow-redirectto verify redirection links andutil.check-http-responseto monitor URL response times against critical and warning thresholds. - HTTP Entry Point Metrics Policy: Utilizes
util.metrics-http-curlto retrieve performance metrics for HTTP endpoints, requiring a proxy agent.
Key Outcomes
By implementing these policies, ServiceNow customers can:
- Monitor and ensure the reliability of HTTP services through detailed checks and responses.
- Receive alerts for performance issues based on defined thresholds, facilitating proactive management.
- Gather comprehensive metrics for analysis to optimize HTTP endpoints' performance.
Agent Client Collector provides the following policies for HTTP health monitoring. Policies come with the checks specified in the tables below.
| Type | Check | Description | Usage and Usage Example | Output |
|---|---|---|---|---|
| Event | util.check-http-follow-redirect | Verifies that redirection links can be followed in a set number of requests. | Usage check-head-redirect.rb (options):
Usage example: |
Check Head Redirect OK |
| Event | util.check-http-response | Verifies URL response time and raises a CRITICAL/WARNING event if elapsed time exceeds provided CRITICAL/WARNING thresholds. Otherwise, it raises an OK event. | Usage: check-head-redirect.rb (options)
Usage example: |
Check Head Redirect OK |
| Type | Check | Description | Usage and Usage Example | Output |
|---|---|---|---|---|
| Metric | util.metrics-http-curl | Retrieves metrics on HTTP endpoints using curl. This check requires a proxy agent. |
Usage:
Usage example: |
Check run successfully. Output: ws10.curl_timings.time_total 0.219622 1642749209 ws10.curl_timings.time_namelookup 0.145494 1642749209 ws10.curl_timings.time_connect 0.151103 1642749209 ws10.curl_timings.time_pretransfer 0.168569 1642749209 ws10.curl_timings.time_redirect 0.095899 1642749209 ws10.curl_timings.time_starttransfer 0.219351 1642749209 ws10.curl_timings.http_code 200 1642749209 |