MPCMM0001 Chassis Management Module Software Technical Product Specification 95
The Command Line Interface (CLI)
criticalaction
majoraction
minoraction
normalaction
Used to configure user-defined
actions when events occur.
This dataitem is used with a
target (–t) parameter specified
sensor and a value (-v)
parameter. When an event
happens for that particular
sensor, then the script defined
in the –v parameter will be
executed. The script to be
executed must be located in
the /home/scripts/ directory on
the CMM and the /home/scripts
path should be omitted when
specifying the script.
Example:
cmmset -l blade9 -t +5V -d
minoraction -v
“powerdownblade 9”
In this example,
/home/scripts/powerdownblade
will be executed with a
parameter of 9 when the +5V
sensor on blade1 generates a
minor event.
Both
If set, the full path of the script e.g. /
home/scripts/EventScript.
If not set, output is ““ (null).
"<ScriptName> arg1
arg2 …argN"
Where Script name
(not full path) is the
script file name and
arg1-argN are the
parameters to the
script.
Use “none” to
remove an existing
entry.
eventaction
Used to trigger a script based
on event code of a health
event. Refer to Section 18,
“CMM Scripting” on page 164
Set N/A
“<event
code>:<ScriptName
> arg1 arg2...argN”
Where event code
is the event code
associated with the
event to associate
with the script.
ScriptName (not full
path) is the name of
the script file, and
arg1..argN are any
parameters required
with the script.
Use
“<eventcode>:none”
to remove an
existing entry.
ledcolorprops
Gets a FRU LED’s valid color
set. This command returns a
comma separated list of
supported colors, the default
local control color, and the
default override color. This
command should be issued
before a ledstate set command.
Implements the Get LED Color
Capabilities command. See
PICMG 3.0 table 3-24.
Get
Color properties of the LED
"<ledtarget> supports <colors>
Default local control color is
<colorList>
Default override color is <color>"
Where:
<ledtarget> is One of the valid LEDs
(hsled, led1, led2, led3, userled1-
userled251)
<colorList> is Comma-separated list
of <color> items
<color> is one of blue, red, green,
amber, orange, white
N/A
Table 30. Dataitem Keywords Used with the Target Parameter (Sheet 2 of 4)
dataitem Description
Get/
Set
CLI Get Output Valid Set Values