This command acknowledges or unacknowledges alarms, clears alarms, or creates custom alarms for the specified command target.
If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or alarm command errors for a list of error messages that are specific to the alarm command.
Function | What it does | Command | Target (see paths in Command targets) |
---|---|---|---|
Acknowledge alarm | Acknowledge the specified alarm ID for the command
target. Note: View alarms and their IDs using the health command.
|
alarm -ack -i value where value is the 8-digit hexadecimal alarm ID shown by the health command. This
command can only be run by users who have one or more of the following
command authorities:
|
Lenovo Flex System
chassis:
Note: Specifying a command target is optional. All alarm
commands are processed at the chassis (system target)
level.
|
Clear alarm | Clear the specified alarm ID for the command target. Note: View
alarms and their IDs using the health command.
|
alarm -clear -i value where value is the 8-digit hexadecimal alarm ID shown by the health command. This
command can only be run by users who have one or more of the following
command authorities:
|
Lenovo Flex System
chassis:
Note: Specifying a command target is optional. All alarm
commands are processed at the chassis (system target)
level.
|
Unacknowledge alarm | Unacknowledge the specified alarm ID for the command
target. Note: View alarms and their IDs using the health command.
|
alarm -unack -i value where value is the 8-digit hexadecimal alarm ID shown by the health command. This
command can only be run by users who have one or more of the following
command authorities:
|
Lenovo Flex System
chassis:
Note: Specifying a command target is optional. All alarm
commands are processed at the chassis (system target)
level.
|
Create alarm | Creates an alarm request for the specified target, including an alarm severity level and description. | alarm -create -s level -p
" desc" where
This command can only be run by users who have one or more
of the following command authorities:
|
Lenovo Flex System
chassis:
Note: Specifying a command target is optional. All alarm
commands are processed at the chassis (system target)
level.
|
alarm -ack -i 00000450
The following example shows the information that is returned from this command.
system> alarm -ack -i 00000450 OK system>