fortios_system_link_monitor
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Collection: fortinet.fortios
Full Name: fortinet.fortios.fortios_system_link_monitor
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_token | str | |||
| enable_log | bool | false | ||
| member_path | str | |||
| member_state | str | |||
| state | str | yes | ||
| system_link_monitor | dict | |||
| vdom | str | root |
Example
yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_system_link_monitor:
access_token: '{{ fortios_access_token }}'
state: present
system_link_monitor:
addr_mode: ipv4
class_id: "0"
fail_weight: "0"
failtime: "5"
ha_priority: "1"
interval: "500"
name: default_name_15
packet_size: "124"
port: "0"
probe_count: "30"
probe_timeout: "500"
protocol: ping
recoverytime: "5"
security_mode: none
server_config: default
server_list:
- id: "31"
port: "0"
protocol: ping
weight: "0"
server_type: static
service_detection: enable
source_ip: 84.230.14.43
status: enable
update_cascade_interface: enable
update_policy_route: enable
update_static_route: enable
vdom: root
name: Configure Link Health Monitor.