SNMP agent
The SNMP agent sends SNMP traps originating on the FortiPortal system to an external monitoring SNMP manager defined in a SNMP community. Typically an SNMP manager is an application on a local computer that can read the SNMP traps and generate reports or graphs from them.
The SNMP manager can monitor the FortiPortal system to determine if it is operating properly, or if there are any critical events occurring. The description, location, and contact information for this FortiPortal system will be part of the information an SNMP manager will have — this information is useful if the SNMP manager is monitoring many devices, and it will enable faster responses when the FortiPortal system requires attention.
To set up an SNMP agent, use the following CLI syntax:
config system snmp sysinfo
set status {enable | disable}
set description <description>
set engine-id <string>
set fortianalyzer-legacy-sysoid {enable | disable}
set location <location>
set contact-info <string>
set trap-high-cpu-threshold <percentage>
set trap-low-memory-threshold <percentage>
set trap-cpu-high-exclude-nice-threshold <percentage>
end
Variable |
Description |
---|---|
status {enable | disable} |
Enable/disable the SNMP agent. Default: |
description <description> |
Enter a description of this FortiPortal system to help uniquely identify this unit. Character limit: 35. |
engine-id <string> |
Local SNMP engine ID string. Character limit: 24. |
fortianalyzer-legacy-sysoid {enable | disable} |
Enable the legacy FortiAnalyzer sysObjectOID. |
location <location> |
Enter the location of this FortiPortal system to help find it in the event it requires attention. Character limit: 35. |
contact-info <string> |
Enter the contact information for the person in charge of this FortiPortal system. Character limit: 35. |
trap-high-cpu-threshold <percentage> |
CPU usage when trap is set. Default: 80. |
trap-low-memory-threshold <percentage> |
Memory usage when trap is set. Default: 80 |
trap-cpu-high-exclude-nice-threshold <percentage> |
CPU high usage excludes nice when the trap is sent. |
Example
This example shows how to set up an SNMP agent, and add basic SNMP information.
config system snmp sysinfo
set status enable
set contact-info 'System Admin ext 245'
set description 'Internal network unit'
set location 'Server Room A121'
end