HAProxy Enterprise Documentation 10.5


This check looks at a real server's availability using an icmp echo request packet as follows:

option icmp check [interval <seconds>] [timeout <seconds>] [source <ip>]

This directive takes the following arguments:

interval <seconds> (optional)

Interval between two checks, in seconds (default: 10 seconds)

timeout <seconds> (optional)

Period after which an attempt without a response from the server is considered as failed (default: 3 seconds)

source <ip> (optional)

Source IP to use when performing the check

Check the availability of a NFS server

director d_nfs
  # ...
  option icmpcheck interval 4s timeout 1s
  server nfs1 check
  server nfs2 check