Janu
ary 201
9
402 Legrand PDU User Guide
config:#
sensor externalsensor <n> <sensor type> lowerWarning <option>
Set the deassertion hysteresis for an environmental sensor:
config:#
sensor externalsensor <n> <sensor type> hysteresis <hy_value>
Set the assertion timeout for an environmental sensor:
config:#
sensor externalsensor <n> <sensor type> assertionTimeout <as_value>
Variables:
<n> is the ID number of the environmental sensor that you want to configure. The ID number is available
in the Legrand PDU web interface or using the command "
show
externalsensors
<n>
" in the CLI. It is
an integer between 1 and 32.
<sensor type> is one of these sensor types:
temperature, absoluteHumidity, relativeHumidity,
airPressure, airFlow
or
vibration
.
Note: If the specified sensor type does not match the type of the specified environmental sensor, this
error message appears: "Specified sensor type 'XXX' does not match the sensor's type (<sensortype>),"
where XXX is the specified sensor type, and <sensortype> is the correct sensor type.
<option> is one of the options:
enable
,
disable
or a numeric value.
Option
Description
enable
Enables the specified threshold for a specific
environmental sensor.
disable
Disables the specified threshold for a specific
environmental sensor.
A numeric
value
Sets a value for the specified threshold of a
specific environmental sensor and enables this
threshold at the same time.
<hy_value> is a numeric value that is assigned to the hysteresis for the specified environmental sensor.
See
"To De-assert" and Deassertion Hysteresis
(on page 513).
<as_value> is a number in samples that is assigned to the assertion timeout for the specified
environmental sensor. It ranges between 1 and 100. See
"To Assert" and Assertion Timeout
(on page
511).
Examples
This section illustrates several environmental sensor threshold configuration examples.
Example 1 - Upper Critical Threshold for a Temperature Sensor
The following command sets the Upper Critical threshold of the environmental "temperature" sensor with the
ID number 2 to 40 degrees Celsius. It also enables the upper critical threshold if this threshold has not been
enabled yet.
config:#
sensor externalsensor 2 temperature upperCritical 40