Generating the test alarm from CLI

Last Updated : Dec 15, 2020 |

Procedure

  1. Log in to the computer where System Manager is installed.
  2. At the command prompt, perform the following:
    1. To check the status of spiritAgent service, type service spiritAgent status and press Enter.

      The system displays SPIRIT Agent is running.

      Note:

      If the system displays SPIRIT Agent is not running, then start spiritAgent service.

    2. To start spiritAgent service, type service spiritAgent start and press Enter.

      The utils directory contains spiritAgent service command line utilities.

  3. To navigate to the utils directory, at the prompt, type cd $SPIRIT_HOME/scripts/utils/and press Enter.
  4. Do one of the following:
    • To generate the test alarm for System Manager, type sh generateTestAlarm.sh and press Enter.

    • To generate the clear alarm for System Manager, type sh generateTestAlarm.sh -c and press Enter.

    • To generate alarms on other products, repeat steps 1 to 4. You can use the Generate Test Alarm button on the System Manager web console Manage Serviceability Agents page for generating test alarms for all elements, including System Manager, with a click.