system : snmp sysinfo
 
snmp sysinfo
Use this command to enable the FortiGate SNMP agent and to enter basic system information used by the SNMP agent. Enter information about the FortiGate unit to identify it. When your SNMP manager receives traps from the FortiGate unit, you will know which unit sent the information. Some SNMP traps indicate high CPU usage, log full, or low memory.
Syntax
config system snmp sysinfo
set contact-info <info_str>
set description <description>
set engine-id <engine-id_str>
set location <location>
set status {enable | disable}
set trap-high-cpu-threshold <percentage>
set trap-log-full-threshold <percentage>
set trap-low-memory-threshold <percentage>
end
Variable
Description
Default
contact-info <info_str>
Add the contact information for the person responsible for this FortiGate unit. The contact information can be up to 35 characters long.
No default.
description <description>
Add a name or description of the FortiGate unit. The description can be up to 35 characters long.
No default.
engine-id <engine-id_str>
Each SNMP engine maintains a value, snmpEngineID, which uniquely identifies the SNMP engine. This value is included in each message sent to or from the SNMP engine. In FortiOS, the snmpEngineID is composed of two parts:
Fortinet prefix 0x8000304404
the optional engine-id string, 24 characters maximum, defined in this command
Optionally, enter an engine-id value.
No default.
location <location>
Describe the physical location of the FortiGate unit. The system location description can be up to 35 characters long. Note: XSS vulnerability checking is disabled, so XSS characters such as ‘(‘ and ‘)’ are permitted.
No default.
status {enable | disable}
Enable or disable the FortiGate SNMP agent.
disable
trap-high-cpu-threshold <percentage>
Enter the percentage of CPU used that will trigger the threshold SNMP trap for the high-cpu.
There is some smoothing of the high CPU trap to ensure the CPU usage is constant rather than a momentary spike. This feature prevents frequent and unnecessary traps.
80
trap-log-full-threshold <percentage>
Enter the percentage of disk space used that will trigger the threshold SNMP trap for the log-full.
90
trap-low-memory-threshold <percentage>
Enter the percentage of memory used that will be the threshold SNMP trap for the low-memory.
80