Many organizations use SNMP (simple network management protocol) to track the health of their systems. FortiADC supports SNMP v1, v2c, and v3.
SNMP depends on network devices that maintain standard management information bases (MIBs). MIBs describe the structure of the management data maintained on the device. Some MIB definitions are standard for all network devices, and some are vendor and product-family specific.
The FortiADC system runs an SNMP agent to communicate with the SNMP manager. The agent enables the system to respond to SNMP queries for system information and to send SNMP traps (alarms or event messages) to the SNMP manager.
Figure 52 illustrates the basic communication.
With SNMP v1 and v2c managers, you configure SNMP communities to connect FortiADC and the SNMP manager. The SNMP Manager sends the community string along with all SNMP requests. If the community string is correct, the device responds with the requested information. If the community string is incorrect, the device simply discards the request and does not respond.
Fortinet strongly recommends that you do not add FortiADC to the community named public . This default name is well-known, and attackers that attempt to gain access to your network often try this name first. |
With SNMPv3 managers, you configure SNMP users to connect FortiADC and the SNMP manager. Queries and traps include username/password authentication, along with an encryption key. FortiADC implements the user security model described in RFC 3414.
Before you begin:
Settings | Guidelines |
---|---|
System Information | |
SNMP Agent | Enable to activate the SNMP agent, so that the system can send traps and receive queries. |
Description | A description or comment about the system, such as dont‑reboot . The description can be up to 35 characters long, and can contain only letters (a-z, A-Z), numbers, hyphens ( ‑ ) and underscores ( _ ). |
Contact | Contact information for the administrator or other person responsible for this system, such as a phone number (555-5555 ) or name (jdoe ). The contact information can be up to 35 characters long, and can contain only letters (a-z, A-Z), numbers, hyphens ( ‑ ) and underscores ( _ ). |
Location | Physical location of the appliance, such as floor2 . The location can be up to 35 characters long, and can contain only letters (a-z, A-Z), numbers, hyphens ( ‑ ) and underscores ( _ ). |
Threshold | |
CPU |
|
Memory |
|
Disk |
|
Community (SNMP v1 and v2c) | |
Name | Name of the SNMP community to which the FortiADC system and at least one SNMP manager belongs, such as management . You must configure the FortiADC system to belong to at least one SNMP community so that community’s SNMP managers can query system information and receive SNMP traps. 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 system. |
Status | Select to enable the configuration. |
Queries | Port number on which the system listens for SNMP queries from the SNMP managers in this community. The default is 161. Enable queries for SNMP v1, SNMP v2c, or both. |
Traps | Source (Local) port number and destination (Remote) port number for trap packets sent to SNMP managers in this community. The default is 162. Enable traps for SNMP v1, SNMP v2c, or both. |
Events | Select to enable SNMP event reporting for the following thresholds:
|
Host |
|
User (SNMP v3) | |
Name | User name that the SNMP Manager uses to communicate with the SNMP Agent. After you initially save the configuration, you cannot edit the name. |
Status | Enable/disable the configuration. |
Security Level |
|
Queries | Port number on which the system listens for SNMP queries from the SNMP managers for this user. The default is 161. Enable queries for SNMP v3. |
Traps | Source (Local) port number and destination (Remote) port number for trap packets sent to SNMP managers for this user. The default is 162. Enable traps for SNMP v3. |
Events | Select to enable SNMP event reporting for the following thresholds:
|
Host |
|
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. |