Example: Defining an Exception in the Workload Designer Portlet to Send an Alert

Teradata® Viewpoint User Guide

brand
Analytical Ecosystem
prodname
Teradata Viewpoint
Teradata Workload Management
vrm_release
16.20
category
User Guide
featnum
B035-2206-107K
Suppose that you want to send an email alert to dba@example.com during core hours when a period event begins and ends.
  1. In the Monitored Systems portlet, configure TEST1 as a Teradata Active System Management (TASM) system.
    1. Click next to Systems and select Add Teradata System.
    2. In System Nickname, type TEST1.
    3. Select the Enable system check box.
    4. In the TDPID box, type the TDPID of the TEST1 system.
    5. [Optional] Enter the site ID assigned by Teradata Customer Services.
    6. Enter a login name and password.
    7. Click Apply.
  2. In the Monitored Systems portlet, configure the data collectors.
    1. From the Systems list, click TEST1.
    2. From the Setup list, click Data Collectors.
    3. From the Data Collectors list, select the following collectors, enable them, and click Apply for each:
      • TASM Config
      • TASM Distribution
      • TASM Exception
      • TASM State
      • TASM Summary
  3. In the Alert Setup portlet, configure delivery settings.
    1. From the Setup Options list, click Delivery Settings.
    2. From the Delivery Types list, click Email.
    3. In the SMTP Host box, type smtp.example.com as the SMTP host address of the outgoing (SMTP) email server.
    4. Select the Enable email check box.
    5. From the Port list, select Use default port to use the default port 25.
    6. In Server Timeout, type 30 seconds.
    7. Keep the default Anonymous login.
    8. In the Reply-To box, type doNotReply@example.com.
    9. Leave the Advanced box blank.
    10. In the Test Recipient box, type dba@example.com.
    11. Click Test to verify that the SMTP server delivers the email to dba@example.com.
    12. Click Apply.
  4. In the Alert Setup portlet, create an Action Set.
    1. From the Setup Options list, click Alert Presets.
    2. From the Preset Options list, click Core Hours.
    3. Verify that the core hours are correctly set for your environment.
    4. From the Preset Options list, click Action Sets.
    5. Click next to Action Sets.
    6. Type an Action Set Name, such as CoreHours.
    7. From the Times list, select the Core check box, and clear both the Evening and Weekend check boxes.
    8. Under Actions, make sure the Include in Alert Viewer check box is selected. This option is selected by default so you can view alerts for this action set in the Alert Viewer portlet.
    9. From the Actions list, select the Email recipients check box.
    10. Select the Email recipients check box, click Bcc or To , and in the Email box, type dba@example.com.
    11. Click Apply.
  5. In the Workload Designer portlet, create a period event that triggers the alert email.
    1. From the For System list, select TEST1.
    2. Click .
    3. From the General tab, in the Name box, type TEST1_spool.
    4. Click Save.
    5. From the ruleset toolbar, click States.
    6. Hover over Planned Events, and click .
    7. Click next to Available Events.
    8. Select Period Event.
    9. In Event Name, type CoreEnvironment.
    10. Select Create New Corresponding Planned Environment to automatically create a planned environment that this event triggers.
    11. Select Day of Week, and select all weekdays.
    12. Select Start Time, with a 9 am Start Time and 5 pm End Time.
    13. In the Send Alert row under Configure Notifications, click Start Action and End Action, and select CoreHours from the list.
    14. Click OK.
    15. Click Close.
    16. Click Save.
  6. In the Workload Designer portlet, activate the ruleset.
    1. Under Working, click the TEST1_alert_email .
    2. Click Make Active.
    3. In the Confirm Activation Request dialog box, click Activate.
  7. In the email inbox for the account dba@example.com, check for messages from doNotReply@example.com.