| Description |
This article describes a scenario in which SNMP queries to a FortiGate do not return any values, even though SNMP configuration, authentication parameters, and network reachability are correct. |
| Scope | FortiGate. |
| Solution |
Issue: Administrators may observe:
Attempts to troubleshoot authentication or privacy parameters may not resolve the issue because the underlying cause is related to where the walk begins in the OID tree.
Cause: When the SNMPwalk is initiated using an OID root that does not contain valid MIB objects on the FortiGate (for example, `.1`), the device has no applicable data to return, resulting in 'timeout' or empty responses.
Once the query is issued using a valid subtree such as '.1.3', the FortiGate immediately responds with standard system information and other SNMP data.
Solution: Start SNMP polling from a valid MIB branch, for example, '.1.3':
Example (SNMPv3):
SnmpWalk -r:<FG_IP> -v:3 -sn:<user> -ap:SHA -aw:<auth_pwd> -pp:AES128 -pw:<priv_pwd> -os:.1.3 Example output: OID=.1.3.6.1.2.1.1.1.0 ... Alternative valid starting points: `.1.3`
Use case scenario: When performing SNMPwalk tests toward FortiGate using only '.1', it returned a timeout and no system information. However, when the same SNMPwalk was executed using '.1.3', the device returned expected values (system description, uptime, hostname). The issue was resolved by adjusting the starting OID, without any configuration changes on the FortiGate.
Additional notes:
Summary: Even when SNMP is reachable and configured correctly, FortiGate may not return data if polling begins at an incorrect OID root. Starting the SNMPwalk from a valid MIB subtree, such as '.1.3', resolves the issue and allows the FortiGate to respond normally. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.