Set a threshold value for the monitors bound to a service 编辑

April 19, 2021 Contributed by:  C S

Set a threshold value for the monitors bound to a service

The Citrix ADC appliance designates a service as UP only when the sum of the weights of all monitors bound to it and that are UP is equal to or greater than the threshold value configured on the service. The weight for a monitor specifies how much that monitor contributes to designating the service to which it is bound as UP.

By default, the monitor threshold is set to 0 and monitor weights are set to 1. All monitors have equal weightage then and a service can go DOWN when any one of the monitors goes DOWN.

For example, assume that three monitors, named Monitor-HTTP-1, Monitor-HTTP-2, and Monitor-HTTP-3 respectively, are bound to Service-HTTP-1, and that the threshold configured on the service is three. Suppose the following weights are assigned to each monitor:

  • The weight of Monitor-HTTP-1 is 1.
  • The weight of Monitor-HTTP-2 is 3.
  • The weight of Monitor-HTTP-3 is 1.

The service is marked UP only when one of the following is true:

  • Monitor-HTTP-2 is UP.
  • Monitor-HTTP-2 and Monitor-HTTP-1 or Monitor-HTTP-3 are UP
  • All three monitors are UP.


To set the monitor threshold value on a service by using the CLI

At the command prompt, type:

set service <name> -monThreshold <Value><!--NeedCopy-->

Example:

set service Service-HTTP-1 -monThreshold 100<!--NeedCopy-->


To set the monitor threshold value on a service by using the GUI

  1. Navigate to Traffic Management > Load Balancing > Services, and open a service.
  2. In Advanced Settings, select Thresholds & Timeouts, and select Monitor Threshold.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:2 次

字数:2188

最后编辑:7年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文