C H A P T E R  8

Managing System Alerts

Topics

Description

Links

Review the prerequisites

Manage alert rule configurations

Generate test alerts to confirm alert configuration is working

Send a test email alert before saving an alert rule

Review the CLI commands you need to use when managing alert rule configurations

Notify recipient of system alerts using email

Download SNMP MIBs directly from ILOM



Related Topics

For ILOM

Chapter or Section

Guide

  • Concepts
  • System Monitoring and Alert Management

Oracle Integrated Lights Out Manager (ILOM) 3.0 Concepts Guide (820-6410)

  • Web interface
  • Managing System Alerts

Oracle Integrated Lights Out Manager (ILOM) 3.0 Web Interface Procedures Guide (820-6411)

  • IPMI and SNMP hosts
  • Inventory and Component Management

Oracle Integrated Lights Out Manager (ILOM) 3.0 Management Protocols Reference Guide (820-6413)

The ILOM 3.0 Documentation Collection is available at: http://docs.sun.com/app/docs/prod/int.lights.mgr30#hic.



Managing Alert Rule Configurations


Topics

Description

Links

Platform Feature Support

Review the prerequisites

  • x86 system server SP
  • SPARC system server SP
  • CMM

Configure alert configurations

Generate test alerts to confirm alert configuration is working

Send a test email alert to a specific destination before saving the alert rule

Notify recipient of system alerts via email


Before You Begin


procedure icon  Create or Edit Alert Rules

Follow these steps to configure an alert rule:

1. Establish a local serial console connection or SSH connection to the server SP or CMM.

2. Type one of the following command paths to set the working directory:

3. 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:

4. 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 path:

->set /SP/alertmgmt/rules/1 type=ipmipet


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



procedure icon  Disable an Alert Rule

Follow these steps to disable an alert rule:

1. Establish a local serial console connection or SSH connection to the server SP or CMM.

2. Type one of the following command paths to set the working directory:

Where n equals a specific alert rule number, which can be 1 to 15.

[BLn refers to the server module (blade) slot number.]

3. To disable the alert rule, type the following command:

->set level=disable

procedure icon  Generate Test Alerts

Follow these steps to generate test alerts:

1. Establish a local serial console connection or SSH connection to the server SP or CMM.

2. Type one of the following command paths to set the working directory:

3. Type the following command to generate a test alert for each enabled alert rule configuration:

->set testalert=true

procedure icon  Send Test Email Alert to a Specific Destination

Follow these steps to send a test email alert:

1. Establish a local serial console connection or SSH connection to the server SP or CMM.

2. Type one of the following command paths to set the working directory:

3. Type the following command to send a test email alert for each alert rule configuration:

->set testrule=true


CLI Commands for Managing Alert Rule Configurations

The following table describes the CLI commands that you will need to use to manage alert rule configurations using the ILOM CLI.


TABLE 8-1 CLI Commands for Managing Alert Rule Configurations

CLI Command

Description

show

The show command enables you to display any level of the alert management command tree by specifying either the full or relative path.

Examples:

  • To display an alert rule along with its properties using a full path, you would type the following at the command prompt:
-> show /SP/alertmgmt/rules/1

/SP/alertmgmt/rules/1

Properties:

community_or_username = public

destination = 129.148.185.52

level = minor

snmp_version = 1

type = snmptrap

Commands:

cd

set

show

 

  • To display a single property using the full path, you would type the following at the command prompt:
  -> show /SP/alertmgmt/rules/1 type
/SP/alertmgmt/rules/1
Properties:
        type = snmptrap
   Commands:
        set
        show 

 

  • To specify a relative path if the current tree location is /SP/alertmgmt/rules, you would type the following at the command prompt:
  -> show 1/
  /SP/alertmgmt/rules/1
    Targets:
    Properties:
        community_or_username = public
        destination = 129.148.185.52
        level = minor
        snmp_version = 1
        type = snmptrap
    Commands:
        cd
        set
        show

cd

The cd command enables you to set the working directory. To set alert management as a working directory on a server SP, you would type the following command at the command prompt:

  -> cd /SP/alertmgmt

set

The set command enables you to set values to properties from any place in the tree. You can specify either a full or relative path for the property depending on the location of the tree. For example:

  • For full paths, you would type the following at the command prompt:
-> set /SP/alertmgmt/rules/1 type=ipmipet
  • For relative path (tree location is /SP/alertmgmt), you would type the following command path at the command prompt:
-> set rules/1 type=ipmipet
  • For relative path (tree location is /SP/alertmgmt/rules/1), you would type the following command path at the command prompt:
-> set type=ipmipet


Configuring SMTP Client for Email Notification Alerts


Topics

Description

Links

Platform Feature Support

Notify recipient of system alerts using email

  • x86 system server SP
  • SPARC system server SP
  • CMM

Before You Begin


procedure icon  Enable SMTP Client

Follow these steps to enable the SMTP client:

1. Establish a local serial console connection or SSH connection to the server SP or CMM.

2. Type one of the following command paths to set the working directory:

3. Type the show command to display the SMTP properties.

For example, accessing the SMTP properties for the first time on an SP would appear as follows:


-> show
/SP/clients/smtp
Targets
  Properties
  address = 0. 0. 0. 0
  port = 25
  state = enabled
Commands:
  cd
  set
  show

4. Use the set command to specify an IP address for the SMTP client or to change the port or state property value.

For example:

->set address=222.333.44.5

5. Press Enter for the change to take effect.

For example, if you typed set address=222.333.44.5 the following result would appear:

Set ‘address=222.333.44.5’


Downloading SNMP MIBs Directly From ILOM


Topics

Description

Links

Platform Feature Support

Download SNMP MIBs directly from ILOM

  • x86 system server SP
  • SPARC system server SP
  • CMM

Before You Begin


procedure icon  Download SNMP MIBs

Follow these steps to download SNMP MIBs:

1. Log in to the ILOM SP CLI or the CMM CLI.

2. Use the show command to display the SNMP MIBs.

For example:


-> show /SP/services/snmp/mibs
 
 /SP/services/snmp/mibs
    Targets:
 
    Properties:
        dump_uri = (Cannot show property)
 
    Commands:
        cd
        dump
        set
        show

3. To download the files, type either of the following commands:

-> dump -destination URI /SP/services/snmp/mibs

or

-> set /SP/services/snmp/mibs dump_uri=URI

Where URI specifies the target to which the files are downloaded.

A zip file containing the MIBs are transferred to the destination server.