Skip to main content

alarm command

This command acknowledges or unacknowledges alarms, clears alarms, or creates custom alarms for the specified command target.

Note
  • The alarm command applies only to CMMs installed in a Lenovo Flex System Carrier-Grade chassis.
  • All alarm commands are processed at the chassis (system target) level. Specifying a command target (-T target_name) is optional: alarm commands issued to any command target will be accepted and processed.

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.

Table 1. alarm command.

The command table is a multi-row, four-column table where each row describes a CMM CLI command option: column one lists command function, column two provides a detailed command description, column three shows command-option syntax, and column four lists valid command targets.

FunctionWhat it doesCommandTarget (see paths in Command targets)
Acknowledge alarmAcknowledge 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:
  • Supervisor
  • Chassis configuration (for CMM, power supply, or fan module)
  • Blade configuration (for compute node)
  • I/O module configuration (for I/O module)
See Commands and user authority for additional information.
Lenovo Flex System chassis:
  • system
Note
Specifying a command target is optional. All alarm commands are processed at the chassis (system target) level.
Clear alarmClear 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:
  • Supervisor
  • Chassis configuration (for CMM, power supply, or fan module)
  • Blade configuration (for compute node)
  • I/O module configuration (for I/O module)
See Commands and user authority for additional information.
Lenovo Flex System chassis:
  • system
Note
Specifying a command target is optional. All alarm commands are processed at the chassis (system target) level.
Unacknowledge alarmUnacknowledge 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:
  • Supervisor
  • Chassis configuration (for CMM, power supply, or fan module)
  • Blade configuration (for compute node)
  • I/O module configuration (for I/O module)
See Commands and user authority for additional information.
Lenovo Flex System chassis:
  • system
Note
Specifying a command target is optional. All alarm commands are processed at the chassis (system target) level.
Create alarmCreates an alarm request for the specified target, including an alarm severity level and description.alarm -create -s level -p " desc"

where

  • level is the severity level:
    • CRT (critical)
    • MJR (major)
    • MNR (minor)
  • desc is a quote-delimited description of the alarm up to 63 characters in length.
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration (for CMM, power supply, or fan module)
  • Blade configuration (for compute node)
  • I/O module configuration (for I/O module)
See Commands and user authority for additional information.
Lenovo Flex System chassis:
  • system
Note
Specifying a command target is optional. All alarm commands are processed at the chassis (system target) level.
Example: To acknowledge a power alarm with an ID of 00000450 for the power supply in bay 2, while the Lenovo Flex System Enterprise Chassis is set as the persistent command environment, at the system> prompt, type
alarm -ack -i 00000450

The following example shows the information that is returned from this command.

system> alarm -ack -i 00000450
OK
system>