FortiWeb
A FortiWeb can be configured to join a Security Fabric through the root or downstream FortiGate.
gsharma
Staff
Staff
Article Id 394680
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:

 

SNMPhost.jpg

 

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.