Monitoring your system : SNMP traps & queries : Configuring an SNMP community
 
Configuring an SNMP community
An SNMP community is a grouping of equipment for network monitoring purposes. You must configure your FortiADC appliance to belong to at least one SNMP community so that community’s SNMP managers can query the FortiADC appliance’s system information and receive SNMP traps from the FortiADC appliance.
On FortiADC, SNMP communities are also where you enable the traps that will be sent to that group of hosts.
You can add up to three SNMP communities. Each community can have a different configuration for queries and traps, and the set of events that trigger a trap. You can also add the IP addresses of up to eight SNMP managers to each community to designate the destination of traps and which IP addresses are permitted to query the FortiADC appliance.
To add an SNMP community to the FortiADC appliance’s SNMP agent
1. Go to System > Config > SNMP.
To access this part of the web UI, your administrator's account access profile must have Read-Write permission to items in the System category. For details, see “Permissions”.
2. If you have not already configured the agent, do so before continuing. See “To configure the SNMP agent”.
3. Click Create New.
A dialog appears.
4. Configure these settings:
Setting name
Description
Name
Type the name of the SNMP community to which the FortiADC appliance and at least one SNMP manager belongs, such as managment.
The FortiADC appliance will not respond to SNMP managers whose query packets do not contain a matching community name. Similarly, trap packets from the FortiADC appliance will include community name, and an SNMP manager may not accept the trap if its community name does not match.
Caution: Fortinet strongly recommends that you do not add FortiADC to the community named public. This popular default name is well-known, and attackers that gain access to your network will often try this name first.
Hosts
 
 
IP Address
Type the IP address of the SNMP manager that, if traps or queries are enabled in this community:
will receive traps from the FortiADC appliance
will be permitted to query the FortiADC appliance
SNMP managers have read-only access. You can add up to 8 SNMP managers to each community.
To allow any IP address using this SNMP community name to query the FortiADC appliance, enter 0.0.0.0. For security best practice reasons, however, this is not recommended.
Caution: FortiADC sends security-sensitive traps, which should be sent only over a trusted network, and only to administrative equipment.
Note: If there are no other host IP entries, entering only 0.0.0.0 effectively disables traps because there is no specific destination for trap packets. If you do not want to disable traps, you must add at least one other entry that specifies the IP address of an SNMP manager.
 
Interface
Select either ANY or the name of the network interface from which the FortiADC appliance will send traps and reply to queries.
Note: You must select a specific network interface if the SNMP manager is not on the same subnet as the FortiADC appliance. This can occur if the SNMP manager is on the Internet or behind a router.
Note: This option only configures which network interface will send SNMP traps. To configure which network interface will receive queries, see “Configuring the network interfaces”.
Queries
Type the port number (161 by default) on which the FortiADC appliance listens for SNMP queries from the SNMP managers in this community, then enable queries for either or both SNMP v1 and SNMP v2c.
Traps
Type the port number (162 by default) that will be the source (Local) port number and destination (Remote) port number for trap packets sent to SNMP managers in this community, then enable traps for either or both SNMP v1 and SNMP v2c.
SNMP Event
Enable the types of SNMP traps that you want the FortiADC appliance to send to the SNMP managers (Hosts) in this community.
While most trap events are described by their names, the following events occur when a threshold has been exceeded:
CPU Overusage CPU usage has exceeded 80%.
Memory LowMemory (RAM) usage has exceeded 80%.
Log disk space lowDisk space usage for the log partition or disk has exceeded 90%.
For more information on supported traps and queries, see “MIB support”.
5. Click OK.
Disabled traps or queries will have a grey icon in the list of communities.
6. To verify your SNMP configuration and network connectivity between your SNMP manager and your FortiADC appliance, be sure to test both traps and queries (assuming you have enabled both). Traps and queries typically occur on different port numbers, and therefore verifying one does not necessarily verify that the other is also functional. To test queries, from your SNMP manager, query the FortiADC appliance. To test traps, cause one of the events that should trigger a trap.