Description | This article describes the issue with the event log: SNMP_v2c Failed to match community, and how to troubleshoot this. |
Scope | FortiWeb. |
Solution |
If SNMP settings are configured on the FortiWeb, there is a chance of getting event logs with below error:
type=event subtype="system" pri=warning trigger_policy="N/A" user=system ui=system action=snmp-query status=failure msg="SNMP_v2c Failed to match community.
These event logs will show up if the SNMP settings permit access only from designated hosts, which are configured under the SNMP settings:
Any attempt to query SNMP from an unauthorized host or an IP which are not in the list will trigger this event log.
To further check this, the user can perform a packet capture on the FortiWeb, specifically filtering for the UDP port 161, to identify which hosts are attempting an SNMP query. |
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.