Skip to main content
yloo
Staff
Staff
Oct 23, 2025 9:07 AM UTC

Troubleshooting Tip: SNMP Error code when querying a non-existent OID

  • Apr 16, 2026 12:00 PM UTC
  • 0 replies
  • 932 views
  • Translate All
Description This article describes the error code returned by FortiGate as a result of the SNMP server queries for non-existent OIDs.
Scope FortiGate.
Solution

Run these debugging commands in FortiGate's command line interface (CLI) or while connected to FortiGate via SSH:

 

diagnose debug reset

diagnose debug application snmpd -1

diagnose debug enable

 

To stop the debug:

 

diagnose debug reset

diagnose debug disable

 

zabbix.jpg

 

Debug output:

 

snmpd: <msg> 42 bytes 192.168.50.202:63156 -> 192.168.50.252/192.168.50.252:161 (itf 3.3)

snmpd: checking if community "Public" is valid

snmpd: checking against community "Public"

snmpd: request 1(root)/3/192.168.50.202 == comm 1/0/192.168.50.202/255.255.255.255

snmpd: matched community "Public"

snmpd: get     : mib-2.25.1 -> () -> 3

snmpd: snmp_get failed  : 3

snmpd: </msg> 1

 

SNMP error code 3 means noSuchName.

This error indicated that the requested Object Identifier (OID) is not recognized by the FortiGate SNMP agent.

To resolve this issue, verify the OID against the MIB files to ensure its validity and support.

 

Related article:

Technical Tip: Download FortiOS and FortiCore MIB files 

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024