alertcfg command

This command displays and configures the global remote alert settings for the CMM.

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 alertcfg command errors for a list of error messages that are specific to the alertcfg command.

Table 1. alertcfg 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.

Function What it does Command Target (see paths in Command targets)
Display global remote alert settings Displays the global remote alert settings for the CMM. alertcfg
Primary CMM:
  • mm[p]
  • mm[P]
  • mm[x]
  • where x is the primary CMM bay number.
Set remote alert retry delay interval Sets the remote alert retry delay interval. alertcfg -dr delay-rl limit

where delay is from 0.5 minutes to 4.0 minutes, inclusive, in 0.5 minute increments. If you enter a value less than 0.5 minute, the retry interval will be set to 0.5 minute. If you enter a value greater than 4.0 minutes, the retry interval will be set to 4.0 minutes.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
Primary CMM:
  • mm[p]
  • mm[P]
  • mm[x]
  • where x is the primary CMM bay number.
Include / exclude service information with email alerts Enables or disables inclusion of service information with email alerts. alertcfg -si state

where state is enabled or disabled .

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
Primary CMM:
  • mm[p]
  • mm[P]
  • mm[x]
  • where x is the primary CMM bay number.
Set remote alert retry limit Sets the maximum number of times the system will attempt to send a remote alert, if previous attempts were unsuccessful. alertcfg -rl value

where value is from 0 to 8, inclusive. If you enter a value of 0, no retries will be attempted. If you enter a value greater than 8, an error will be displayed.

This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis configuration
See Commands and user authority for additional information.
Primary CMM:
  • mm[p]
  • mm[P]
  • mm[x]
  • where x is the primary CMM bay number.
Example: To view the remote alert configuration, while the Lenovo Flex System chassis is set as the persistent command environment, at the system> prompt, type
alertcfg -T mm[p]
To set the retry interval to 3.5 minutes, include service information in the alert, and set the remote alert retry limit to 7, while the Lenovo Flex System chassis is set as the persistent command environment, at the system> prompt, type
alertcfg -dr 3.5 -si enabled -rl 7 -T mm[p]

The following example shows the information that is returned from these commands:

system> alertcfg -T mm[p]
-dr 2.0
-si disabled
-rl 6
system> alertcfg -dr 3.5 -si enabled -rl 7 -T mm[p]
OK
system> alertcfg -T mm[p]
-dr 3.5
-si enabled
-rl 7
system>