Setthreshold - Fortinet FortiGate-5060 Chassis Manual

Hide thumbs Also See for FortiGate-5060:
Table of Contents

Advertisement

Using the shelf manager CLI

setthreshold

FortiGate-5060 Chassis Guide
01-400-129494-20110912
http://docs.fortinet.com/
Feedback
setthreshold <IPMB-address> <sensor-name> <threshold-type> [-r]
<value>
setthreshold <IPMB-address> [<lun>:]<sensor-number> <threshold-
type> [-r] <value>
Where <IPMB-address> can be board <board-number> or shm <shelf-
manager-number>.
<threshold-type> can be:
upper_non_recoverable (can be abbreviated to unr)
upper_critical (can be abbreviated to uc)
upper_non_critical (can be abbreviated to unc)
lower_non_recoverable (can be abbreviated to lnr)
lower_critical (can be abbreviated to lc)
lower_non_critical (can be abbreviated to lnc)
By default, the target value is specified in real units (for example, in Volts for voltage
sensors or in Celsius degrees for temperature sensors). Option –r means that a raw value
is used instead (usually a byte-size quantity, converted according to sensor-specific rules).
Using this command you can qualify the sensor number with the logical unit number (LUN)
if the target controller supports sensors on multiple LUNs. <lun> can take the value 0, 1
or 3. (LUN 2 is reserved.) If the LUN is omitted, the command applies to the sensor with
the specified sensor number on the lowest LUN. (For example, if the command specifies
sensor 3 without explicit LUN qualification, and the target controller exposes sensor 3 on
LUN 1 and another sensor 3 on LUN 3, the command is applied to the sensor 3 on LUN
1.)
This command can also be issued on the backup Shelf Manager; in that case, threshold
values can only be set for sensors that are local to the backup Shelf Manager.
Use the following example to set the upper non-critical threshold value for the temperature
sensor "emulated temp" on IPM controller 88 to 99 degrees Celsius.
# clia threshold 88 2
Pigeon Point Shelf Manager Command Line Interpreter
88: LUN: 0, Sensor # 2 ("emulated temp")
Type: Threshold (0x01), "Temperature" (0x01)
Lower Non-Critical Threshold, Raw Data: 0x03, Processed Data:
3.000000 degrees C
Lower Critical Threshold, Raw Data: 0x14, Processed Data:
20.000000 degrees C
Lower Non-Recoverable Threshold, Raw Data: 0xfb, Processed
Data: -5.000000 degrees C
Upper Non-Critical Threshold, Raw Data: 0x46, Processed Data:
70.000000 degrees C
Upper Critical Threshold, Raw Data: 0x50, Processed Data:
80.000000 degrees C
Upper Non-Recoverable Threshold, Raw Data: 0x5a, Processed
Data: 90.000000 degrees C
# clia setthreshold
88
0:2 unc 99
setthreshold
53

Advertisement

Table of Contents
loading

Table of Contents