Server Monitors
Overview
Monitoring provides a comprehensive overview of the status and performance of the individual real servers. If a monitor is attached to a server, then it will get applied to the server for monitoring purposes as per the health check specified in the monitor. Health Checks computes an overall health state for upstream server in the WAF. Backend(upstream) that responds successfully for the configured number of times is considered healthy. Backend(upstream) that fails to respond successfully for a separate number of times is unhealthy.
How to you Use:
- Go to WAF > Server Farm > Server Monitors
- Click on Add Monitor
- Click on the monitor name to configure the Health Check and click on Save Changes
Parameters | Accepted value | Default |
---|---|---|
Monitor Name | String | Blank |
Enable Health Check | Boolean | False |
Health Check Interval | Integer | 10 |
Fail Threshold | Interger | 1 |
Pass Threshold | Integer | 1 |
Health Check Type | Drop-down | TCP |
Description
Monitor Name
Users are allowed to specify a user friendly name to monitor.
Enable Health Check
Users are allowed to enable to periodically check the health of upstream servers by sending special health‑check requests to each server and verifying the correct response.
Health Check Interval
Set the seconds, say 10, then every 10 seconds WAF sends a request for “/” to each server. If any communication error or timeout occurs (the server responds with a status code other than the expected code) the health check fails. The server is marked as unhealthy, and WAF does not send client requests to it (if attached to server group) until it once again passes a health check.
Fail Threshold
Sets the number of failed attempts that must occur during the heath check interval period for the server to be marked unavailable (default is 1 attempt).
Pass Threshold
Sets the number of passes that must occur during the heath check interval period for the server to be marked available (default is 1 attempt). If set as 2, then the server must pass two consecutive checks to be marked as healthy again instead of the default one.
Health Check Type:
- TCP: Health check attempts to open a TCP connection to the server on the specified port (which are specified in the configuration file).
- SSL HELLO: Health check sends SSL handshake with the server, if failed to do SSL handshake then we make that server as unhealthy.
- HTTP: Health check sends HTTP request, if unable to receive response, then we make that server unhealthy.
- HTTPS: Health check sends HTTPS request, if unable to receive response, then we make that server as unhealthy
Check URI
This option is only visible when Health Check Type is set to HTTP/HTTPs. This option allows user to specify the URI for the health check.
Match Status
This option is only visible when Health Check Type is set to HTTP/HTTPs. This option allows user to specify the HTTP status code that need to be checked during the health check.
Match Content
This option is only visible when Health Check Type is set to HTTP/HTTPs. This option allows users to specify the content to match in the response.