SNMP buffer limitations
Description
SNMP has a buffer limitation of 1400 bytes. This is a hard limitation of the SNMP on FortiGate. This in effect means that if bulk requests are made towards the FortiGate which exceed this response buffer the response values to the OIDs will be Null.
Scope
FortiGate, all versions.
Solution
This limitation can be identified within a packet capture. This can either done via GUI (Using the packet capture tool) for port 161 or CLI with the following command.
diagnose sniffer packet any 'port 161' 6 0 a
When inspecting the response send out by FortiGate we see the error message 'tooBig'. This indicates that the out buffer was surpassed and hence the responses are the Null value.

The solution to this issue is to limit the bulk requests made by the SNMP client.
