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                                              |
+--------------------+----------------------------------------------------+