Using the shelf manager CLI
Generating SNMP traps for shelf manager system events
FortiGate-5140B Chassis Guide
01-500-156415-20151104
69
name: 1.3.6.1.4.1.3183.1.1.1 (SNMPv2-
SMI::enterprises.3183.1.1.1)
valueType: value (0)
value: simple (4294967295)
simple: string-value (1)
Value: Hex-STRING: 54 FA FC B6 41 50 11 DD 00 80 00
50 C2 3F F0 9A 00 4F 13 C8 C3 75 00 00 20
20 02
20 09
00 00 A6 14 07 00 00 00 00 00 19 0A 40 00
00 00 00 80 53 01 74 65 73 74 20 61 6C 65 72 74
20 6D 65 73 73 61 67 65 00 C1
Packet bytes :
0000 00 0c 29 3c 55 c0 00 e0 16 5f cc 97 08 00 45 00
..)<U...._....E.
0010 00 a3 00 00 40 00 3e 11 4f 60 c0 a8 b5 42 c0 a8
....@.>.O`...B..
0020 b6 56 04 00 00 a2 00 8f 6a 28 30 81 84 02 01 00
.V......j(0.....
0030 04 06 70 75 62 6c 69 63 a4 77 06 09 2b 06 01 04
..public.w..+...
0040 01 98 6f 01 01 40 04 c0 a8 b5 42 02 01 06 02 04
..o..@....B.....
0050
00 f0 6f 06
43 04 75 c3 c8 13 30 55 30 53 06 0a
..o.C.u...0U0S..
0060 2b 06 01 04 01 98 6f 01 01 01 04 45 54 fa fc b6
+.....o....ET...
0070 41 50 11 dd 00 80 00 50 c2 3f f0 9a 00 4f 13 c8
AP.....P.?...O..
0080 c3 75 00 00 20
20 02 20 09
00 00 a6 14 07 00 00 .u.. .
........
0090 00 00 00 19 0a 40 00 00 00 00 80 53 01 74 65 73
.....@.....S.tes
00a0 74 20 61 6c 65 72 74 20 6d 65 73 73 61 67 65 00 t alert
message.
00b0 c1
Some releases of the Shelf Manager allow selecting between three PET formats. The
values are defined as follows:
0 = the default IPMI format defined by IPMI Platform Event Trap Format v1.0
specification.
1 = plain text format; all the event details are sent as plain ASCII text in a single
variable.
2 = multi-variable format; each event field is encoded as a separate variable
Removing and inserting a fan tray
You could also test traps by removing and then inserting fan tray 1 (the central fan tray of
a FortiGate-5140 chassis). When removed, it caused a state change (M4 -> M7) and a
SNMP trap sent with byte 4 of specific trap field = 07. Byte 29 of variable binding fields
was equal to 06 = FRU 4 hot swap sensor.
# clia fru 20 4
20: FRU # 4
Entity: (0x1e, 0x61)
Hot Swap State: M4 (Active), Previous: M3 (Activation In
Process), Last State Change