Network & security vendors · 5 min read

Enable SNMP on a Fortinet FortiGate

FortiGate's SNMP configuration lives under System > SNMP in FortiOS, with separate community and host-access settings.

What you'll need

  • Administrator access to FortiOS (GUI or CLI)
  • A Linivo sensor with network access to the FortiGate's management interface
1

Enable SNMP and create a community

From the CLI, create an SNMP community and scope which hosts are allowed to query it, rather than leaving it open to the whole management subnet.

config system snmp community
  edit 1
    set name "linivo"
    set hosts "10.20.0.50/32"
  next
end
2

Enable the SNMP agent globally

SNMP querying only works once the agent itself is turned on for the interface it's reachable from, under System > SNMP > SNMP Agent in the GUI.

3

Add the FortiGate in Linivo

Fortinet's MIB reports interface counters, CPU/memory, session count and HA status; session count in particular is a useful early signal on a firewall approaching capacity.