System monitoring : SNMP traps & queries
 
SNMP traps & queries
You can configure the FortiRecorder appliance’s simple network management protocol (SNMP) agent to allow queries for system information and to send traps (alarms or event messages) to the computer that you designate as its SNMP manager. In this way you can use an SNMP manager to monitor the FortiRecorder appliance.
Before you can use SNMP, you must activate the FortiRecorder appliance’s SNMP agent and add it as a member of at least one community. You must also enable SNMP access on the network interface through which the SNMP manager connects. (See “SNMP”.)
On the SNMP manager, you must also verify that the SNMP manager is a member of the community to which the FortiRecorder appliance belongs, and compile the necessary Fortinet-proprietary management information blocks (MIBs) and Fortinet-supported standard MIBs. For information on MIBs, see “MIB support”.
 
Failure to configure the SNMP manager as a host in a community to which the FortiRecorder appliance belongs, or to supply it with required MIBs, will make the SNMP monitor unable to query or receive traps from the FortiRecorder appliance.
To configure the SNMP agent via the web UI
1. Add the MIBs to your SNMP manager so that you will be able to receive traps and perform queries. For instructions, see the documentation for your SNMP manager.
2. Go to System > Configuration > SNMP.
3. Configure the following:
Setting name
Description
SNMP agent enable
Enable to activate the SNMP agent, so that the FortiRecorder appliance can send traps for the communities in which you enabled queries and traps. To receive queries, also SNMP on a network interface.
For more information on communities, see “Configuring an SNMP community”.
Description
Type a comment about the FortiRecorder appliance, 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 ( _ ).
Location
Type the physical location of the FortiRecorder 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 ( _ ).
Contact
Type the contact information for the administrator or other person responsible for this FortiRecorder appliance, 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 ( _ ).
4. If you want to use non-default thresholds to trigger SNMP traps such as high CPU usage, memory (RAM) usage, or disk/partition usage, click the disclosure arrow next to SNMP Threshold to expand the area, then configure these settings for each trap type:
Setting name
Description
Trigger
Click to edit, then type the percentage that when met or exceeded will be considered an event.
Threshold
Click to edit, then type the number of events that must be exceeded during the sample period in order to cause the SNMP trap.
Sample Period (s)
Click to edit, then type the amount of time in seconds during which the appliance will count the number of trigger-exceeding events. If the count exceeds the threshold number, the SNMP trap will be sent.
Note: This must be equal to or greater than Sample Freq (s), so that one or more samples are taken per time period.
Sample Freq (s)
Click to edit, then type the interval in seconds between measurements of the trap condition. If the trigger value is exceeded, this counts as an event. You will not receive traps faster than this rate, depending on the selected sample period.
Note: This must be equal to or less than Sample Period (s), so that one or more samples are taken per time period.
5. Click Apply.
6. Create at least one SNMP community to define which hosts are allowed to query, and which hosts will receive traps. See “Configuring an SNMP community”.
7. If using SNMPv3, see “Configuring SNMP v3 users”.
See also
Configuring an SNMP community
Configuring SNMP v3 users