使用 configure healthmonitor 命令配置特定于 SIP 的运行状况监控器。
configure healthmonitor 命令接受以下字段:
type – health_monitor_sip
sip_monitor
sip_request_code
sip_response
sip_monitor_transport
以下是使用其他选项配置特定于 SIP 的运行状况监控器的 CLI 示例:
[admin:10-X-X-X]: > configure healthmonitor System-Sip-custom [admin:10-X-X-X]: healthmonitor> type health_monitor_sip Overwriting the previously entered value for type [admin:10-X-X-X]: healthmonitor> send_interval 10 Overwriting the previously entered value for send_interval [admin:10-X-X-X]: healthmonitor> receive_timeout 4 Overwriting the previously entered value for receive_timeout [admin:10-X-X-X]: healthmonitor> successful_checks 2 Overwriting the previously entered value for successful_checks [admin:10-X-X-X]: healthmonitor> failed_checks 2 Overwriting the previously entered value for failed_checks [admin:10-X-X-X]: healthmonitor> sip_monitor [admin:10-X-X-X]: healthmonitor:sip_monitor> sip_request_code sip_options Overwriting the previously entered value for sip_request_code [admin:10-X-X-X]: healthmonitor:sip_monitor> sip_response "SIP" Overwriting the previously entered value for sip_response [admin:10-X-X-X]: healthmonitor:sip_monitor> save [admin:10-X-X-X]: healthmonitor> save
+--------------------+----------------------------------------------------+ | Field | Value | +--------------------+----------------------------------------------------+ | uuid | healthmonitor-25bb24ce-9f5e-4c44-9d4b-2848e774343e | | name | System-Sip-custom | | send_interval | 10 sec | | receive_timeout | 4 sec | | successful_checks | 2 | | failed_checks | 2 | | type | HEALTH_MONITOR_SIP | | sip_monitor | | | sip_request_code | SIP_OPTIONS | | sip_response | SIP | | is_federated | False | | tenant_ref | admin | +--------------------+----------------------------------------------------+