Configure monitor parameters to determine the service health 编辑
Configure monitor parameters to determine the service health
You can configure the following monitoring parameters to mark a service as DOWN based on the monitoring probes.
Retries
Maximum number of probes to send to establish the state of a service for which a monitoring probe fails.
failureRetries
Number of retries that must fail, out of the number specified for the Retries parameter, for a service to be marked as DOWN. For example, if the Retries parameter is set to 10 and the Failure Retries parameter is set to 6, out of the 10 probes sent, at least six probes must fail if the service is to be marked as DOWN.
alertRetries
Number of consecutive probe failures after which the appliance generates an SNMP trap called monProbeFailed.
Setting alertRetries to a value higher than the Retries value
The alertRetries parameter, which specifies the maximum number of consecutive monitoring-probe failures after which the Citrix ADC appliance generates an SNMP trap called monProbeFailed, can now be set to a value higher than the Retries value (which specifies the maximum number of probes to send to establish the state of a service for which a monitoring probe failed). If the alertRetries value is higher than the Retries value, the SNMP trap is not sent until after the service is DOWN.
For example, if you set Retries to 3, alertRetries to 12, and the time interval to 5 seconds, the service is marked DOWN after 15 seconds (35), but no alert is generated. If the monitor probes are still failing after 60 seconds (125), the Citrix ADC appliance generates a monProbeFailed trap. If a probe succeeds at some time between 15 and 60 seconds, the service is marked UP and no alert is generated.
Setting the alertRetries value to a value higher than the Retries value helps in generating only genuine alerts and avoid false positives during scheduled restarts.
To set the alertRetries parameter value to a higher value than the Retries value by using the command line interface
At the command prompt, type:
add lb monitor <monitorName> [-retries <integer>] [-alertRetries <integer>]<!--NeedCopy-->
Example:
add lb monitor monitor-HTTP-1 HTTP -retries 3 -alertRetries 12
To set the alertRetries parameter value to a higher value than the Retries value by using the GUI
- Navigate to Configuration > Traffic Management > Load Balancing > Monitors.
- Click Add to add a new monitor or select an existing monitor and click Edit.
- In the Retries box, type the value for the Retries parameter.
- In the SNMP Alert Retries box, type the value for the
alertRetries
parameter.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论