Generate Alert Tests Using the CLI

You can test each enabled alert rule configurations in ILOM by sending a test alert. To generate test alerts to destinations specified in ILOM’s alert rule configurations follow this procedure.

What to Do

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

    • 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 (->).

  2. Use the cd command to set the working directory to a the alert management rules

    For example:

    • For a rack mount server SP, type: cd /SP/alertmgmt/rules

    • For a blade server SP, type: cd /CH/BLn/SP/alertmgmt/rules

    • For a chassis CMM, type: cd /CMM/alertmgmt/CMM/rules where n equals a specific alert rule number, which can be 1 to 15.

  3. Type the following command to generate a test alert:

    set testalert=true

Related Tasks