Follow the steps below to modify an alert rule configuration using the CLI.
Establish a local serial console connection or SSH connection to the server SP or CMM:
Local Serial Console Connection
Attach a serial console to the serial port on the server or CMM.
For more information, consult the user documentation provided with the Sun server platform.
or
Remote - Secure Shell (SSH) Connection
Establish a Secure Shell connection to the server SP or CMM.
From the remote client, establish a secure connection as root to the server SP or active CMM.
For example, you can establish a secure connection from a remote SSH client to the server SP by typing the following:
ssh -l root <server_ip_address>
Password:
changeme
The default command prompt appears (->).
Type one of the following command paths to set the working directory:
For a rackmount server: cd /SP/alertmgmt
For a blade server module: cd /SP/alertmgmt
For a chassis CMM: cd /CMM/alertmgmt
Type the show command to view properties associated with an alert rule.
For example, to view the properties associated with the first alert rule, you would type one of the following:
For a rackmount server: show /SP/alertmgmt/rules/1
For a blade sever module: show /CH/BLn/SP/alertmgmt/rules/1
For a chassis CMM: show /CMM/alertmgmt/CMM/rules/1
Type the set command to assign values to properties associated with an alert rule.
For example, to set IPMI PET as the alert type for rule 1, you would type the following command paths:
set type=ipmipet
To enable an alert rule configuration, you must specify a value for the alert type, alert level, and alert destination. If you are defining an SNMP alert type, you can optionally define a value for authenticating the receipt of SNMP trap alerts.
For more information about each of the property values you can define for an alert rule, see Properties for Defining Alert Rules.