fmgr_system_snmp_community_hosts
Manage FortiManager through native controller JSON-RPC and httpapi inventory
Collection: fortinet.fortimanager
Full Name: fortinet.fortimanager.fmgr_system_snmp_community_hosts
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage FortiManager through native controller JSON-RPC and httpapi inventory
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_token | str | |||
| bypass_validation | bool | false | ||
| community | str | yes | ||
| enable_log | bool | false | ||
| forticloud_access_token | str | |||
| proposed_method | str | |||
| rc_failed | list | |||
| rc_succeeded | list | |||
| state | str | yes | ||
| system_snmp_community_hosts | dict | |||
| workspace_locking_adom | str | |||
| workspace_locking_timeout | int | 300 |
Example
yaml
- fortinet.fortimanager.fmgr_system_snmp_community_hosts:
bypass_validation: true
community: 1
state: present
system_snmp_community_hosts:
id: 1
interface: port1
ip: 222.222.222.3/32
name: Allow hosts configuration.