Fortinet white logo
Fortinet white logo

CLI Reference

config firewall ldb-monitor

config firewall ldb-monitor

Configure server load balancing health monitors.

config firewall ldb-monitor

Description: Configure server load balancing health monitors.

edit <name>

set type [ping|tcp|...]

set interval {integer}

set timeout {integer}

set retry {integer}

set port {integer}

set http-get {string}

set http-match {string}

set http-max-redirects {integer}

next

end

config firewall ldb-monitor

Parameter name

Description

Type

Size

type

Select the Monitor type used by the health check monitor to check the health of the server (PING | TCP | HTTP | HTTPS).

option

-

Option

Description

ping

PING health monitor.

tcp

TCP-connect health monitor.

http

HTTP-GET health monitor.

https

HTTP-GET health monitor with SSL.

passive-sip

passive-sip health monitor

interval

Time between health checks (5 - 65635 sec, default = 10).

integer

Minimum value: 5 Maximum value: 65535

timeout

Time to wait to receive response to a health check from a server. Reaching the timeout means the health check failed (1 - 255 sec, default = 2).

integer

Minimum value: 1 Maximum value: 255

retry

Number health check attempts before the server is considered down (1 - 255, default = 3).

integer

Minimum value: 1 Maximum value: 255

port

Service port used to perform the health check. If 0, health check monitor inherits port configured for the server (0 - 65635, default = 0).

integer

Minimum value: 0 Maximum value: 65535

http-get

URL used to send a GET request to check the health of an HTTP server.

string

Maximum length: 255

http-match

String to match the value expected in response to an HTTP-GET request.

string

Maximum length: 255

http-max-redirects

The maximum number of HTTP redirects to be allowed (0 - 5, default = 0).

integer

Minimum value: 0 Maximum value: 5

config firewall ldb-monitor

config firewall ldb-monitor

Configure server load balancing health monitors.

config firewall ldb-monitor

Description: Configure server load balancing health monitors.

edit <name>

set type [ping|tcp|...]

set interval {integer}

set timeout {integer}

set retry {integer}

set port {integer}

set http-get {string}

set http-match {string}

set http-max-redirects {integer}

next

end

config firewall ldb-monitor

Parameter name

Description

Type

Size

type

Select the Monitor type used by the health check monitor to check the health of the server (PING | TCP | HTTP | HTTPS).

option

-

Option

Description

ping

PING health monitor.

tcp

TCP-connect health monitor.

http

HTTP-GET health monitor.

https

HTTP-GET health monitor with SSL.

passive-sip

passive-sip health monitor

interval

Time between health checks (5 - 65635 sec, default = 10).

integer

Minimum value: 5 Maximum value: 65535

timeout

Time to wait to receive response to a health check from a server. Reaching the timeout means the health check failed (1 - 255 sec, default = 2).

integer

Minimum value: 1 Maximum value: 255

retry

Number health check attempts before the server is considered down (1 - 255, default = 3).

integer

Minimum value: 1 Maximum value: 255

port

Service port used to perform the health check. If 0, health check monitor inherits port configured for the server (0 - 65635, default = 0).

integer

Minimum value: 0 Maximum value: 65535

http-get

URL used to send a GET request to check the health of an HTTP server.

string

Maximum length: 255

http-match

String to match the value expected in response to an HTTP-GET request.

string

Maximum length: 255

http-max-redirects

The maximum number of HTTP redirects to be allowed (0 - 5, default = 0).

integer

Minimum value: 0 Maximum value: 5