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:
- Navigate to System > SNMP on the device.
- Toggle to enable the SNMP Agent.
- Provide a description of the agent.
- Provide the location of the FortiGate unit.
- Provide the details for a contact or administrator for the SNMP agent or the FortiGate unit.
- 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.
-
On this page
- Configuring the SNMP agent
- Configuring SNMP credentials