Fortinet white logo
Fortinet white logo

Administration Guide

SNMP traps

SNMP traps

Fortinet devices share SNMP traps, but each type of device also has traps specific to that device type. For example FortiManager units have FortiManager specific SNMP traps. To receive Fortinet device SNMP traps, you must load and compile the FORTINET-CORE-MIB into your SNMP manager.

Traps sent include the trap message as well as the unit serial number (fnSysSerial) and host name (sysName). The Trap Message column includes the message that is included with the trap, as well as the SNMP MIB field name to help locate the information about the trap.

Event

Trap Name

Description

HA Failover

ha_switch

fmTrapHASwitch FortiManager HA cluster has been re-arranged. A new master has been selected and asserted.
High Licensed Log GB/day
lic-gbday
fmTrapLicGbDayThreshold Indicates that the used log has exceeded the licensed GB/Day.

Log Alert

log-alert

fmTrapLogAlert Trap is sent when a log based alert has been triggered. Alert description included in trap.

CPU usage exclude NICE threshold

cpu-high-exclude-nice

fmTrapCpuThresholdExcludeNice

Indicates that the CPU usage excluding nice processes has exceeded the threshold.

This threshold can be set in the CLI using the following commands:

config system snmp sysinfo

set trap-cpu-high-exclude-nice-threshold <percentage value>

end

High licensed device quota
lic-dev-quota
fmTrapLicDevQuotaThreshold Indicates that the used device quota has exceeded the licensed device quota.
Log Data Rate
log-data-rate
fmTrapLogDataRateThreshold

Indicates that the incoming log data rate has exceeded the threshold.

The peak data rate is calculated using the peak log rate x 512 bytes (average log size).

Log Rate

log-rate

fmTrapLogRateThreshold

Indicates that the incoming log rate has exceeded the threshold.

To determine the peak log rate, use the following CLI command: get system loglimits

System Restart
sys_reboot
fmTrapPowerStateChange Trap is sent when there is a change in the status of the power supply, if present.

CPU Overuse

cpu_high

fnTrapCpuThreshold

Indicates that the CPU usage has exceeded the configured threshold.

This threshold can be set in the CLI using the following commands:

config system snmp sysinfo

set trap-high-cpu-threshold <percentage value>

end

Memory Low
mem_low

fnTrapMemThreshold

Indicates memory usage has exceeded the configured threshold.

This threshold can be set in the CLI using the following commands:

config system snmp sysinfo

set trap-low-memory-threshold <percentage value>

end

Log Disk Space Low

disk_low

fnTrapLogDiskThreshold Log disk usage has exceeded the configured threshold. Only available on devices with log disks.

Interface IP changed

intf_ip_chg

fnTrapIpChange Indicates that the IP address of the specified interface has been changed. The trap message includes the name of the interface, the new IP address and the serial number of the Fortinet unit. You can use this trap to track interface IP address changes for interfaces with dynamic IP addresses set using DHCP or PPPoE.

SNMP traps

SNMP traps

Fortinet devices share SNMP traps, but each type of device also has traps specific to that device type. For example FortiManager units have FortiManager specific SNMP traps. To receive Fortinet device SNMP traps, you must load and compile the FORTINET-CORE-MIB into your SNMP manager.

Traps sent include the trap message as well as the unit serial number (fnSysSerial) and host name (sysName). The Trap Message column includes the message that is included with the trap, as well as the SNMP MIB field name to help locate the information about the trap.

Event

Trap Name

Description

HA Failover

ha_switch

fmTrapHASwitch FortiManager HA cluster has been re-arranged. A new master has been selected and asserted.
High Licensed Log GB/day
lic-gbday
fmTrapLicGbDayThreshold Indicates that the used log has exceeded the licensed GB/Day.

Log Alert

log-alert

fmTrapLogAlert Trap is sent when a log based alert has been triggered. Alert description included in trap.

CPU usage exclude NICE threshold

cpu-high-exclude-nice

fmTrapCpuThresholdExcludeNice

Indicates that the CPU usage excluding nice processes has exceeded the threshold.

This threshold can be set in the CLI using the following commands:

config system snmp sysinfo

set trap-cpu-high-exclude-nice-threshold <percentage value>

end

High licensed device quota
lic-dev-quota
fmTrapLicDevQuotaThreshold Indicates that the used device quota has exceeded the licensed device quota.
Log Data Rate
log-data-rate
fmTrapLogDataRateThreshold

Indicates that the incoming log data rate has exceeded the threshold.

The peak data rate is calculated using the peak log rate x 512 bytes (average log size).

Log Rate

log-rate

fmTrapLogRateThreshold

Indicates that the incoming log rate has exceeded the threshold.

To determine the peak log rate, use the following CLI command: get system loglimits

System Restart
sys_reboot
fmTrapPowerStateChange Trap is sent when there is a change in the status of the power supply, if present.

CPU Overuse

cpu_high

fnTrapCpuThreshold

Indicates that the CPU usage has exceeded the configured threshold.

This threshold can be set in the CLI using the following commands:

config system snmp sysinfo

set trap-high-cpu-threshold <percentage value>

end

Memory Low
mem_low

fnTrapMemThreshold

Indicates memory usage has exceeded the configured threshold.

This threshold can be set in the CLI using the following commands:

config system snmp sysinfo

set trap-low-memory-threshold <percentage value>

end

Log Disk Space Low

disk_low

fnTrapLogDiskThreshold Log disk usage has exceeded the configured threshold. Only available on devices with log disks.

Interface IP changed

intf_ip_chg

fnTrapIpChange Indicates that the IP address of the specified interface has been changed. The trap message includes the name of the interface, the new IP address and the serial number of the Fortinet unit. You can use this trap to track interface IP address changes for interfaces with dynamic IP addresses set using DHCP or PPPoE.