Suppose you want to send an email alert to the dbauser having the e-mail id dba@example.com, during core hours when a period event begins and ends.
- In the Monitored Systems portlet, configure TEST1 as a Teradata Active System Management (TASM) system.
- Next to Systems, select , then select Add Teradata System.
- In System Nickname, type TEST1.
- Select the Enable system check box.
- In the TDPID box, type the TDPID of the TEST1 system.
- [Optional] Enter the site ID assigned by Teradata Customer Services.
- Enter a login name and password.
- Click Apply.
- In the Monitored Systems portlet, configure the data collectors.
- From the Systems list, select TEST1.
- From the Setup list, select Data Collectors.
- 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
- Alert Request
- In the Alert Setup portlet, configure delivery settings.
- From the Setup Options list, select Delivery Settings.
- From the Delivery Types list, select Email.
- In the SMTP Host box, type smtp.example.com as the SMTP host address of the outgoing (SMTP) email server.
- Select the Enable email check box.
- From the Port list, select Use default port to use the default port 25.
- In Server Timeout, type 30 seconds.
- Keep the default Anonymous login.
- In the Reply-To box, type doNotReply@example.com.
- Leave the Advanced box blank.
- In the Test Recipient box, type dba@example.com.
- Select Test to verify the SMTP server delivers the email to dba@example.com.
- Click Apply.
- In the Alert Setup portlet, create an Action Set.
- From the Setup Options list, select Alert Presets.
- From the Preset Options list, select Core Hours.
- Verify the core hours are correctly set for your environment.
- Under Database User Alerts, select User Mapping.
- Select the system.
- Enter the username and password.
- Enter the table or view name as configured in the selected Teradata Viewpoint system. Refer Database User Alerts for details.
- Verify the test.
- Click Apply.
- In the Workload Designer portlet, create a period event that triggers the alert email.
- From the For System list, select TEST1.
- Select .
- From the General tab, in the Name box, type TEST1_alert_email.
- Click Save.
- From the ruleset toolbar, click States.
- Hover over Planned Events, and click .
- Select next to Available Events.
- Select Period Event.
- In Event Name, type CoreEnvironment.
- Select Create New Corresponding Planned Environment to automatically create a planned environment that this event triggers.
- Select Day of Week, and select all weekdays.
- Select Start Time, with a 9 am Start Time and 5 pm End Time.
- In the Exceptions, after configuring the exception criteria, select only Abort/Abort Select from Actions.
- Select Notify Database User from Notifications.
- Click OK.
- Select Close.
- Click Save.
- In the Workload Designer portlet, activate the ruleset.
- Under Working, select the TEST1_alert_email .
- Select Make Active.
- In the Confirm Activation Request dialog box, select Activate.
- In the email inbox for the account dba@example.com, check for messages from doNotReply@example.com.The alert collection upon TDWM abort happens from Alert Request Collector rate.