Using Enterprise Manager Management Application in Java CAPS

Managing Alert Codes

The Manage Alert Codes tab displays the alert codes that are currently deployed. You can install new alert codes from this tab. To install new alert codes, create a properties file and then upload the file.

Figure 1–7 Manage Alert Codes Tab

Manage Alert Codes Tab

Properties File Format

Java CAPS enables you to generate custom alerts in a Java-based Collaboration. Use the custom method of the alerter node. The first argument of the custom method is the new alert code. For detailed instructions, see the document at the following URL http://dlc.sun.com/pdf/820-0952/820-0952.pdf.

Create a text file that includes one entry for each new alert code that you specify. The entry contains three parts

To enter a comment line, start the line with a pound sign (#).

When you are done, save the file with the .properties file extension.

Here is a sample properties file:


# This file contains new alert codes.

MY-00001=alert message 1
MY-00002=alert message 2
MY-00003=alert message 3
MY-00004=alert message 4

Uploading the Properties File

After you create the properties file, upload the file to Enterprise Manager.

ProcedureTo Upload the Properties File

  1. Go to Enterprise Manager.

  2. Navigate to Manage Alert Codes tab.

  3. Click Browse.

  4. Select the properties file and click Open.

  5. Click Install.

    The new alert codes are displayed.

Removing Alert Codes

You can remove a set of alert codes.

ProcedureTo Remove Alert Codes

  1. Go to Enterprise Manager.

  2. Navigate to Manage Alert Codes tab.

  3. Click Remove next to the set of alert codes that you want to remove.

  4. When prompted to confirm the removal, click OK.