fortios_system_snmp_user
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_snmp_user
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_snmp_user | dict | |||
| vdom | str | root |
Example
yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_system_snmp_user:
access_token: '{{ fortios_access_token }}'
state: present
system_snmp_user:
auth_proto: md5
events: cpu-high
ha_direct: enable
interface_select_method: auto
name: default_name_10
priv_proto: aes
queries: enable
query_port: "161"
security_level: no-auth-no-priv
source_ip: 84.230.14.43
status: enable
trap_lport: "162"
trap_rport: "162"
trap_status: enable
vdoms:
- name: default_name_25 (source system.vdom.name)
vrf_select: "0"
vdom: root
name: SNMP user configuration.