Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

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

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.

interval

Time between health checks .

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 .

integer

Minimum value: 1 Maximum value: 255

retry

Number health check attempts before the server is considered down .

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 .

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 .

integer

Minimum value: 0 Maximum value: 5

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

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.

interval

Time between health checks .

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 .

integer

Minimum value: 1 Maximum value: 255

retry

Number health check attempts before the server is considered down .

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 .

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 .

integer

Minimum value: 0 Maximum value: 5