Skip to main content

events command

This command manages the Call Home events exclusion list 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 events command errors for a list of error messages that are specific to the events command.

Table 1. events 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)
Display Call Home events list and free spaceDisplays a list of Call Home event IDs that will not be reported by the Call Home feature, and how many more events can be added to this Call Home events exclusion list. This Call Home exclusion list allows a maximum of 20 events.events -che
This command can only be run by users who have one or more of the following command authorities:
  • Supervisor
  • Chassis account management
  • Chassis log management
  • Chassis administration
  • Chassis configuration
  • Blade administration
  • Blade configuration
  • Blade remote presence
  • I/O module administration
  • I/O module 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.
Add a Call Home event to the Call Home Exclusion listAdds a Call Home event to the Call Home exclusion list. Events on this list are specified by an event ID, and are not included in the Call Home reports.
Note
The Service Advisor terms and conditions must first be accepted, or the Automated FTP/TFTP Report of Service Data must be enabled before using this command.
events -che -add event_ID

where event_ID is an eight-digit hexadecimal number with an optional prefix of 0x or 0X.

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.
Remove a Call Home event from the Call Home Exclusion listRemoves a Call Home event from the Call Home exclusion list. Events removed from this list are included in the Call Home reports.
Note
The Service Advisor terms and conditions must first be accepted, or the Automated FTP/TFTP Report of Service Data must be enabled before using this command.
events -che -rm event_ID
where event_ID is
  • an eight-digit hexadecimal number with an optional prefix of 0x or 0X to remove a single Call Home event
  • all to remove all the Call Home events from the exclusion list
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 Call Home exclusion list and the number of remaining events can be added to the list, while the Lenovo Flex System chassis is set as the persistent command environment, at the system:> prompt, type
events -T mm[p] -che
To add Call Home event number 0x00020003 to the Call Home exclusion list, while the Lenovo Flex System chassis is set as the persistent command environment, at the system> prompt, type
events -T mm[p] -che -add 0x00020003

To remove Call Home event number 0x00020001 from the Call Home exclusion list, while the Lenovo Flex System chassis is set as the persistent command environment, at the system> prompt, type

events -T mm[p] -che -rm 0x00020001

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

system> events -T mm[p] -che
A maximum of 20 events can be added to this exclusion list, currently
18 more events can be added.
Call Home Exclusion List is illustrated as follows:
Index Event ID
1 0x00020001
2 0x00020002
system> events -T mm[p] -che -add 0x00020003
OK
system> events -T mm[p] -che
A maximum of 20 events can be added to this exclusion list, currently
17 more events can be added.
Call Home Exclusion List is illustrated as follows:
Index Event ID
1 0x00020001
2 0x00020002
3 0x00020003
system> events -T mm[p] -che -rm 0x00020001
OK
system> events -T mm[p] -che
A maximum of 20 events can be added to this exclusion list, currently
18 more events can be added.
Call Home Exclusion List is illustrated as follows:
Index Event ID
1 0x00020002
2 0x00020003
system>