Skip to main content

monalerts command

This command displays and configures alerts that are monitored by 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 monalerts command errors for a list of error messages that are specific to the monalerts command.

Table 1. monalerts 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 monitored alert statesDisplays the state of all alerts being monitored by the CMM.monalerts
Primary CMM:
  • mm[p]
  • mm[P]
  • mm[x]
  • where x is the primary CMM bay number.
Set state for enhanced legacy alert categoriesEnables enhanced legacy alert categories.
  • If enhanced legacy alert categories are enabled, alerts are configured using the monalerts command.
  • If enhanced legacy alert categories can not be disabled once they have been enabled.
monalerts -ec state

where state is enabled .

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 monitoring state for all critical alertsEnables or disables monitoring of all critical alerts.monalerts -ca 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 monitoring state for node device critical alertsEnables or disables monitoring of node device critical alerts.monalerts -cb 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 monitoring state for I/O-module critical alertsEnables or disables monitoring of I/O-module critical alerts.monalerts -ciom 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 monitoring state for chassis or system management critical alertsEnables or disables monitoring of chassis or system management critical alerts.monalerts -ccsm 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 monitoring state for cooling device critical alertsEnables or disables monitoring of cooling device critical alerts.monalerts -ccd 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 monitoring state for power supply critical alertsEnables or disables monitoring of power supply critical alerts.monalerts -cpm 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 monitoring state for all warning alertsEnables or disables monitoring of all warning alerts.
Note
When installed in a Lenovo Flex System Carrier-Grade chassis, this command option sets the monitoring state for major and minor events.
monalerts -wa 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 monitoring state for node device warning alertsEnables or disables monitoring of node device warning alerts.
Note
When installed in a Lenovo Flex System Carrier-Grade chassis, this command option sets the monitoring state for major and minor events.
monalerts -wb 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 monitoring state for I/O-module warning alertsEnables or disables monitoring of I/O-module warning alerts.
Note
When installed in a Lenovo Flex System Carrier-Grade chassis, this command option sets the monitoring state for major and minor events.
monalerts -wiom 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 monitoring state for chassis or system management warning alertsEnables or disables monitoring of chassis or system management warning alerts.
Note
When installed in a Lenovo Flex System Carrier-Grade chassis, this command option sets the monitoring state for major and minor events.
monalerts -wcsm 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 monitoring state for event log warning alertsEnables or disables monitoring of event log warning alerts.
Note
When installed in a Lenovo Flex System Carrier-Grade chassis, this command option sets the monitoring state for major and minor events.
monalerts -wel 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 monitoring state for cooling device warning alertsEnables or disables monitoring of cooling device warning alerts.
Note
When installed in a Lenovo Flex System Carrier-Grade chassis, this command option sets the monitoring state for major and minor events.
monalerts -wcd 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 monitoring state for power supply warning alertsEnables or disables monitoring of power supply warning alerts.
Note
When installed in a Lenovo Flex System Carrier-Grade chassis, this command option sets the monitoring state for major and minor events.
monalerts -wpm 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 monitoring state for all informational alertsEnables or disables monitoring of all informational alerts.monalerts -ia 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 monitoring state for node device informational alertsEnables or disables monitoring of node device informational alerts.monalerts -ib 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 monitoring state for I/O-module informational alertsEnables or disables monitoring of I/O-module informational alerts.monalerts -iiom 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 monitoring state for chassis or system management informational alertsEnables or disables monitoring of chassis or system management informational alerts.monalerts -icsm 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 monitoring state for power state informational alertsEnables or disables monitoring of power state (on/off) informational alerts.monalerts -ipon 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 monitoring state for inventory change informational alertsEnables or disables monitoring of inventory change (installed components) informational alerts.monalerts -iinv 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 monitoring state for event log informational alertsEnables or disables monitoring of event log informational alerts.monalerts -iel 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 monitoring state for network change informational alertsEnables or disables monitoring of network change informational alerts.monalerts -inc 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 monitoring state for user activity informational alertsEnables or disables monitoring of user activity informational alerts.monalerts -iua 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 monitoring state for cooling device informational alertsEnables or disables monitoring of cooling device informational alerts.monalerts -icd 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 monitoring state for power supply informational alertsEnables or disables monitoring of power supply informational alerts.monalerts -ipm 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.
Example: To enable monitoring of all critical alerts and event log warning alerts and disable monitoring of all informational alerts, while the Lenovo Flex System chassis is set as the persistent command environment, at the system> prompt, type
monalerts -ca enabled -wel enabled -ia disabled -T mm[p]

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

system> monalerts -ca enabled -wel enabled -ia disabled -T mm[p]
OK
system>