ADC

Bind monitors to services

After creating a monitor, you bind it to a service. You can bind one or multiple monitors to a service. If you bind one monitor to a service, that monitor determines whether the service is marked UP or DOWN.

If you bind multiple monitors to a service, the NetScaler appliance checks the state of all the monitors and then decides the state of the service. You can configure different weights to a monitor. The weight of a monitor specifies how much that monitor contributes to designating the service as UP or DOWN. A monitor with a greater weight has a higher preference in marking the service UP or DOWN. Default weight is 1. Therefore, even if one of the monitors fails, the service is marked as DOWN. For more information, see Set a threshold value for the monitors bound to a service.

Note: The destination IP address of a monitor probe can be different than the server IP address and port.

To bind a monitor to a service by using the CLI

At the command prompt, type:

bind service <name> (-monitorName <string>)
<!--NeedCopy-->

Example:

bind service s1 -monitorName tcp
<!--NeedCopy-->

To bind a monitor to a service by using the GUI

  1. Navigate to Traffic Management > Load Balancing > Services.
  2. Open the service, and add a monitor.
Bind monitors to services