Sun Management Center 3.6.1 User's Guide

ProcedureTo Define a Response for an Alarm

The following procedure describes how to define an action to take when an alarm occurs.

  1. Select a data property, for example, System Load Statistics, from the Host Details Browser page.

  2. Select an appropriate item in the Value column, for example, the value associated with Load Average Over Last Five Minutes .

    The Attribute Editor Info page is displayed.

  3. Click the Actions tab.

    The Actions page is displayed.

  4. Click the Action button for the alarm level for which you want to define the action.

    A window appears on which you choose the type of action and provide appropriate information.

    • To notify users through an email, click the Email radio button. Type a comma-separated list of email addresses and a message.

    • To run a script, click the Other radio button. Choose a script from the list of available scripts. Then, supply appropriate arguments as needed. See To Define and Use an Alarm Action Script.

    • To clear the alarm, click the Clear radio button.

  5. Click OK to apply your changes and close this page.

    If you choose to send an email, a message is sent to the specified users whenever the specified alarm occurs. This message might be similar to the following message.


    Date: Wed, 30 Jun 1999 15:25:39 -0800
    From: root@MachineB (0000-Admin(0000))
    Subject: Sun Management Center - Alert Alarm Action
    Mime-Version: 1.0
    
    Sun Management Center alarm action notification ... 
    {Alert: machineB Kernel Reader Load Average Over The Last 5 Minutes > 0.01Jobs}