Example: Define Exception in Workload Designer to Send Alert | Viewpoint - Example: Defining an Exception to Send an Alert - Teradata Viewpoint - Teradata Workload Management

Teradata® Viewpoint User Guide - 23.04

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Viewpoint
Teradata Workload Management
Release Number
23.04
Published
April 2023
Language
English (United States)
Last Update
2023-05-05
dita:mapPath
cxb1678987903668.ditamap
dita:ditavalPath
tky1501004671670.ditaval
dita:id
B035-2206
Product Category
Analytical Ecosystem
Suppose 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. Next to Systems, select "", then 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, select TEST1.
    2. From the Setup list, select Data Collectors.
    3. From the Data Collectors list, select the following collectors, enable them, and select 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, select Delivery Settings.
    2. From the Delivery Types list, select 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. Select Test to verify 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, select Alert Presets.
    2. From the Preset Options list, select Core Hours.
    3. Verify the core hours are correctly set for your environment.
    4. From the Preset Options list, select Action Sets.
    5. Select "" 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. Select "".
    3. From the General tab, in the Name box, type TEST1_alert_email.
    4. Click Save.
    5. From the ruleset toolbar, click States.
    6. Hover over Planned Events, and click "".
    7. Select "" 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. Select Close.
    16. Click Save.
  6. In the Workload Designer portlet, activate the ruleset.
    1. Under Working, select the TEST1_alert_email "".
    2. Select Make Active.
    3. In the Confirm Activation Request dialog box, select Activate.
  7. In the email inbox for the account dba@example.com, check for messages from doNotReply@example.com.