FortiController/FortiSwitch traps
An SNMP manager can request information from the FortiController/FortiSwitch SNMP agent, or the SNMP agent can send traps when certain pre-defined events occur. To receive FortiController/FortiSwitch SNMP traps, you must load and compile the FORTINETCORE-MIB and FORTINET-FORTISWITCH-MIB into your SNMP manager and configure your FortiController to send traps to your SNMP manager and accept queries from your SNMP manager. All traps sent include the trap message as well as the FortiController serial number (fnSysSerial) and hostname (sysName).
The tables in this section include information about SNMP traps and variables. These tables have been included to help you locate the object identifier number (OID), trap message, and trap description of the FortiController/FortiSwitch trap or variable you require.The name of the table indicates if the trap is located in the Fortinet MIB or the FortiSwitch MIB. The trap message column includes the message included with the trap as well as the SNMP MIB field name to help locate information concerning the trap.
Traps starting with fn such as fnTrapCpuThreshold are defined in the Fortinet MIB. Traps starting with fs such as fsTrapHaSwitch are defined in the FortiSwitch MIB.
The object identifier (OID) is made up of the number at the top of the table with the index then added at the end. For example:
If the OID is 1.3.6.1.4.1.12356.1.3.0 and the index is 4, the full OID is 1.3.6.1.4.1.12356.1.3.0.4
The OID and the name of the object allow SNMP managers to refer to the specific fields and traps from the Fortinet and FortiSwitch MIBs.
Generic Fortinet traps (OID 1.3.6.1.4.1.12356.1.3.0)
Index |
Trap message |
Description |
---|---|---|
.1 |
ColdStart |
Standard traps as described in RFC 1215. |
.2 |
WarmStart |
|
.3 |
LinkUp |
|
.3 |
LinkDown |
Common Fortinet traps (OID1.3.6.1.4.1.12356.100.1.3.0)
Path: fnCoreMib.fnCommon.fnTraps
Index |
Trap |
Description |
---|---|---|
.101 |
fnTrapCpuThreshold |
Indicates that the CPU usage has exceeded the configured threshold. |
.102 |
fnTrapMemThreshold |
Indicates memory usage has exceeded the configured threshold. |
.104 |
fnTrapTempHigh |
A temperature sensor on the device has exceeded its threshold. |
.105 |
fnTrapVoltageOutOfRange |
Power levels have fluctuated outside of normal levels. |
.106 |
fnTrapPowerSupplyFailure |
Power supply failure detected. |
.108 |
fnTrapFanFailure |
A fan failure has been detected. |
.201 |
fnTrapIpChange |
The IP address for an interface has changed.The trap message includes the name of the interface, the new IP address and the serial number of the FortiController. |
FortiSwitch/FortiController traps (OID 1.3.6.1.4.1.12356.106.2.0)
Path: fortinet.fnFortiSwitchMib.fsTraps.fsTrapPrefix
Index |
Trap |
Description |
---|---|---|
.401 |
FsTrapHaSwitch |
The specified cluster member has transitioned from a secondary role to a primary role. |
.403 |
fsTrapHaHBFail |
The specified heartbeat device has failed due to link down or heartbeat loss. |
.404 |
fsTrapHaMemberDown |
The specified device (by serial number) is moving to a down state. |
.405 |
fsTrapHaMemberUp |
A new cluster member has joined the cluster. |
.701 |
fsTrapHBFail |
Indicates no heart beat packets received. |
.702 |
fsTrapHBReceived |
Indicates heart beat packets have been received. |
.703 |
fsTrapMemberDown |
A trunk member has left this trunk. |
.704 |
fsTrapMemberUp |
A trunk member has joined this trunk. |