How can I enable SNMP on FortiGate network devices?

SNMP enables you to monitor the devices within your network. You can configure the FortiGate device to report system information and send traps (alarms or event messages) to the On-Premise Poller by enabling the FortiGate SNMP agent.

You can follow the steps given in this document if your FortiGate device uses OS version 7.2. For FortiGate devices using other OS versions, please refer here

Configuring the SNMP agent

To configure the SNMP agent through the GUI:

  1. Navigate to System > SNMP on the device.
  2. Toggle to enable the SNMP Agent.
  3. Provide a description of the agent.
  4. Provide the location of the FortiGate unit.
  5. Provide the details for a contact or administrator for the SNMP agent or the FortiGate unit.
  6. Then click Apply.

To configure the SNMP agent through the CLI, execute the following commands:

config system snmp sysinfo
set status enable
set description <string>
set contact-info <string>
set location <string>
end

Configuring SNMP credentials

SNMP v1/v2c and SNMP v3 credentials are required for user authentication on FortiGate devices. SNMP v3 provides a higher level of security than that available in SNMP v1/v2c. You can add one or more SNMP v1/v2c communities or add SNMP v3 users, as required.

For more information on enabling SNMP on FortiGate devices, please refer to Fortinet's official documentation. 

Was this document helpful?
Thanks for taking the time to share your feedback. We’ll use your feedback to improve our online help resources.