Configuring alerts for runtime events

You can set alerts to be notified by e-mail messaging at the occurance of runtime events such as, when projects or jobs start, complete, or generate an error message. To set these alerts on the engine you are connected to, select Tools | Alert Manager from the ETL Development UI. The Alert and Event Configuration window appears:

StepsCreating an alert for an event

  1. Select the engine on which you want to configure the alert.

  2. Select the event type.

  3. In the Alerts pane, click the Add icon.

  4. Provide a unique name for the new alert and click OK.

  5. In the Alert Definition pane, specify e-mail preferences and filter conditions for the new alert.

    • E-mail Preferences:

      1. Enter appropriate values in the “To,” “CC,” and “BCC” fields.

      2. You can manually enter the content in the subject or the body field, or click the “Select Event Property” icon to select event properties. For example, if you select the [Job Name] event property, when the alert is triggered, the event property is replaced with “Job 1,” which is your real job name.

      3. Click Test Mail to test the e-mail preferences.

        NoteThe content of the subject and body in the test mail is generated automatically by the system.

    • Filter:

      1. Click the “Select Project or Job” icon and choose the project or job that should invoke the alert. Click OK.

        The filter condition is generated automatically. However, if required, you can manually edit the filter condition.

        If you are entering the filter condition manually, click the “Select Event Properties” icon to choose the event properties.

      2. Select Include to be notified when the events for the project or job match the filter condition. Select Exclude to be notified when the filter conditions are not met.

      3. Select “Enable alert during simulation” to be notified of an event during simulation. This option is available only for project events.

    Click Save.

StepsEditing an alert

  1. In the Alerts pane, click the alert.

  2. Modify the alert preferences and click Save.

StepsDeleting an alert

  1. Select the alert to remove and click the Delete icon.

StepsCopying an alert (Save As)

  1. Select the alert you want to copy.

  2. Click the Save As icon.

  3. Enter a name for the new alert.

  4. Modify the e-mail preferences and filter conditions for the alert, if required. Click Save.

NoteSybase recommends that you set up e-mail alert notifications on one machine. You can then manually copy the alert configuration file across different grid engines running on the network. Use a text editor to define the alerting configuration in the “SMTP” section of the default.ini file in the etc directory.