FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
mattchow_FTNT
Article Id 271031

Description

 

This article discusses models that do not support temperature sensors and what output will be seen after executing the sensor's command.

 

Scope

 

FortiGate.

 

Solution

 

Historically, entry-level/soho FortiGates such as the 30E, 50E/51E, 60E/61E, 80E, etc., did not have any onboard hardware monitoring/temperature sensors. However, the F-series FortiGates and later have since added onboard hardware/temperature sensors (e.g. 40F, 60F/61F, 80F/81F, 90G/91G).

 

It is worth noting that these onboard sensors are not the same as IPMI sensors (which often contain a richer set of sensor data). Generally speaking, FortiGate models at or above the 300-series (e.g. 300D, 300E, 400F, 600F, etc.) are equipped with IPMI sensors. For more info, see the following KB article: Technical Tip: View and clear IPMI events

 

Only IPMI sensors can provide information via SNMP about the temperature and other parameters.

 

The commands used to check the hardware/temperature sensor are shown below:

 

execute sensor list

execute sensor detail

 

If these commands are run on a FortiGate without onboard temperature sensors then the following error output will be observed as shown below:

 

execute sensor list

command parse error before 'sensor'
Command fail. Return code -61

execute sensor detail

command parse error before 'detail'
Command fail. Return code -61

 

The following example output is taken from a FortiGate-60F and FortiGate-100F respectively

 

FGT60F # exec sensor list
[HW monitor sensors]
1 CPU ON-DIE Temperature ........ 58.6 C
2 B50182 Temperature ............ 55.7 C
3 B50210_1 Temperature .......... 50.2 C
4 B50210_2 Temperature .......... 46.9 C

 

FG100F # exec sensor list
[HW monitor sensors]
1 PSU [1] ....................... OK
2 PSU [2] ....................... LOST
3 SYS Fan1 Speed ................ 4576 RPM
4 SYS Fan2 Speed ................ 4530 RPM
5 TMP1 External Temperature ..... 37.9 C
6 TMP4 ON-DIE Temperature ....... 29.0 C
7 CPU ON-DIE Temperature ........ 42.5 C
8 BCM Switch Temperature ........ 54.6 C
9 B50185 Temperature ............ 66.5 C
10 B50210_1 Temperature .......... 38.0 C
11 B50210_2 Temperature .......... 40.2 C

 

Even if these values are displayed in CLI, this does not mean they can be accessed by SNMP and relayed to the monitoring tool through polling or traps.

 

Related articles:

Technical Tip: SNMP OIDs to poll power supply and fan values