Fortinet white logo
Fortinet white logo

CLI Reference

execute health-check-verify

execute health-check-verify

Use this command to use the specified health check to check the status of any IP address.

Syntax

execute health-check-verify health-check <hc_name> dest-address <ip address> count <integer> timeout <integer> interval <integer> port <integer>

health-check <hc name>

The name of the health check object.

Note: The health check MUST be an existing Health Check in FortiADC.

dest-address <ip address>

The IP address of the health check object.

count <integer>

Optional: Specify the count. Range is 1 - 1000 (default = 1).

timeout <integer>

Optional: Specify the timeout period between health checks, in seconds (1 - 3600, default = 3).

interval <integer>

Optional: Specify the amount of time after the previous health check before this health check executes, in seconds (1 - 3600, default = 5).

port <integer>

Optional: Specify the port value.

Example

execute health-check-verify health-check LB_HLTHCK_ICMP dest-address 10.0.0.1

execute health-check-verify

execute health-check-verify

Use this command to use the specified health check to check the status of any IP address.

Syntax

execute health-check-verify health-check <hc_name> dest-address <ip address> count <integer> timeout <integer> interval <integer> port <integer>

health-check <hc name>

The name of the health check object.

Note: The health check MUST be an existing Health Check in FortiADC.

dest-address <ip address>

The IP address of the health check object.

count <integer>

Optional: Specify the count. Range is 1 - 1000 (default = 1).

timeout <integer>

Optional: Specify the timeout period between health checks, in seconds (1 - 3600, default = 3).

interval <integer>

Optional: Specify the amount of time after the previous health check before this health check executes, in seconds (1 - 3600, default = 5).

port <integer>

Optional: Specify the port value.

Example

execute health-check-verify health-check LB_HLTHCK_ICMP dest-address 10.0.0.1