Sun Management Center 3.6.1 User's Guide

ProcedureExample: To Send an Email

This example sets up an email to be sent when the system load average exceeds the threshold.

Before You Begin

When an alarm condition is met, sending an email message is a good solution in most situations. However, if a router or an uninterruptible power supply (UPS) is down, your email message would not be sent.

You might consider setting up a pager alarm to send an alarm message to a terminal and to a pager through a modem for such failures. For more information, investigate quick paging or instant paging solutions.

  1. Click the Module Browser tab in the Details window.

  2. Click the expansion icon next to the Operating System icon in the hierarchy tree view.

    The Operating System modules are displayed.

  3. Click the expansion icon next to the Kernel Reader icon.

    The Kernel Reader properties are displayed.

  4. Double-click the System Load Statistics icon.

    The System Load Statistics properties table is displayed in the contents view.

  5. Select the table cell for Load Averages Over the Last 5 Minutes.

  6. Click the Attributes button.

    The Attribute Editor window is displayed.

  7. Click the Actions tab.

    The Action Selection screen appears.

  8. Click the Email radio button to activate the To and Message fields.

  9. Type the usernames in the To field and the message in the Message field.

  10. Click OK to accept the changes that you made and close this window.

    The following email is sent to the usernames whenever the load averages alert alarm occurs.


    Date: Wed, 30 Jun 2000 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}