UDP Health Monitor
This article covers the specific configuration for UDP monitor type. Refer Overview of Health Monitors article for general monitor information, implementation, and other monitor types.
UDP Health monitors send a UDP datagram to the server, then match the server’s response against the expected response data.
Configuring General Monitor
- Send Interval - Frequency at which the health monitor initiates a server check in seconds.
- Receive Timeout - Maximum amount of time before the server must return a valid response to the health monitor in seconds.
- Successful Checks - Number of consecutive health checks that must succeed before Avi Vantage marks a down server as being back up.
Failed Checks - Number of consecutive health checks that must fail before Avi Vantage marks an up server as being down.
Note: Default System-UDP health monitor will detect failure only when ICMP unreachable is received. It will keep the server UP until it receives ICMP unreachable for the defined UDP port. Hence it does not detect the failure:
- If the UDP health monitor request gets dropped or blackholed before reaching the server.
- If ICMP unreachable response packets are being dropped.
- If the backend UDP server does not send ICMP unreachable.
Configuring UDP Health Monitor
- Client Request Data - Enter an appropriate send string applicable for the server application.
- Server Response Data - Enter the expected response from the server. Avi Vantage checks to see if the server response data is contained within the first 2KB of data returned from the server.
- Health Monitor Port - Specify a port that should be used for the health check. When this setting is blank, the default port configured for the server will be used. When it is specified, clients may be directed to a different port than what is monitored.
Server Maintenance Mode
Custom server response can be used to mark a server as disabled. During this time, health checks will continue, and servers operate the same as if manually disabled, which means existing client flows are allowed to continue, but new flows are sent to other available servers. Once a server stops responding with the maintenance string it will be brought online, being marked up or down as it normally would be based on the server response data.
This feature allows an application owner to gracefully removes all connections from a server prior to taking the server offline without the requirement to log into Avi Vantage to first place the server in disabled state.
- Maintenance Server Response Data - If the defined string is seen in the server response, place the server in maintenance mode.