Chapter 9 High Availability for FortiOS 5.0 : HA and failover protection : Remote link failover : Adding HA remote IP monitoring to multiple interfaces
  
Adding HA remote IP monitoring to multiple interfaces
You can enable HA remote IP monitoring on multiple interfaces by adding more interface names to the pingserver-monitor-interface keyword. If your FortiGate configuration includes VLAN interfaces, aggregate interfaces and other interface types, you can add the names of these interfaces to the pingserver-monitor-interface keyword to configure HA remote IP monitoring for these interfaces.
For example, enable remote IP monitoring for interfaces named port2, port20, and vlan_234:
config system ha
set pingserver-monitor-interface port2 port20 vlan_234
set pingserver-failover-threshold 10
set pingserver-flip-timeout 120
end
Then configure ping servers for each of these interfaces. In the following example, default values are accepted for all settings other than the server IP address.
config router gwdetect
edit port2
set server 192.168.20.20
next
edit port20
set server 192.168.20.30
next
edit vlan_234
set server 172.20.12.10
end