Health Report Email Push

Last updated: 2021-04-02 16:46:33

    DBbrain supports the feature of health report email push. Users can easily know about the health status of the database instance without logging in to the console.
    To help more relevant business personnel know about the health status of the database instance in time, users can also customize the health reports and the recipients to send to as needed.

    Currently, the health reports are generated by three methods: manual trigger, scheduled tasks and database inspection. All of these reports can be sent via email. Users can send the reports to the specified recipient’s email once the reports are created, or select the historical reports to send to the specified recipient's email.

    Note:

    Currently, health report email push is supported only for TencentDB for MySQL (excluding the basic single-node instance).

    Sending Health Report Generated by Manual Trigger via Email

    1. Log in to the DBbrain console, select Performance Optimization on the left sidebar. On the displayed page, select a database type at the top, select the Health Report tab, and click Create Health Report.
    2. In the pop-up window, enable Send to Specified Email Address, select Contact or Contact Group, and click Confirm. The generated health reports will be sent to the email of the specified contact or contact group.

      Note:

      • You can only select either contact or contact group.
      • You can send the health report to up to 30 contacts at a time.
      • The health report will be sent based on the selected email address. To avoid email block, please add the email allowlist policy in advance: dbbrain@qcloudmail.com.

    Sending Health Report Generated by Scheduled Tasks via Email

    1. Log in to the DBbrain console, and select Performance Optimization on the left sidebar. On the displayed page, select a database type at the top, select the Health Report tab, and click Regular Generation Settings.
    2. In the pop-up window, configure the time to generate the health report, enable Send to Specified Email Address, select the Health Level, select Contact or Contact Group, and click Confirm. The generated health reports will be regularly sent to the email of the specified contact or contact group.

      Note:

      • You can only select either contact or contact group.
      • In Regular Generation Settings, you can send the health report to up to 30 contacts at a time.
      • The health report will be sent based on the selected email address. To avoid email block, please add the email allowlist policy in advance: dbbrain@qcloudmail.com.

    Sending Health Report Generated by Database Inspection via Email

    1. Log in to the DBbrain console, select Monitoring & Alarm > Database Inspection on the left sidebar, and click Email Settings on the top-right corner.
    2. In the pop-up window, enable Send to Specified Email Address, select an existing email template or create a template, and click Confirm. The health report generated by the database inspection will be sent to the email of the contact or contact group specified in the selected template.

      Note:

      • You can select up to 5 database inspection email templates at a time.
      • The Last Modified column displays the information of the last editor of the template, and the health report of the instance will be sent based on the instance permissions of the last editor.
      • The health report will be sent based on the selected email address. To avoid email block, please add the email allowlist policy in advance: dbbrain@qcloudmail.com.

    Creating a template

    1. In the pop-up window of Email Settings in Database Inspection, click Create Template.
    2. In the pop-up window, enter the template name, region, and health level, select contact or contact group, and click Confirm.

      Note:

      • After the region and health level are set, the generated health report will be sent according to the selected region and health level.
      • The health report is sent on the premise that the instance in the region has enabled the database inspection.
      • The health report will be sent based on the selected email address. To avoid email block, please add the email allowlist policy in advance: dbbrain@qcloudmail.com.

    Sending Historical Health Report via Email

    Sending email in database inspection page

    1. Log in to the DBbrain console, select Monitoring & Alarm > Database Inspection on the left sidebar.
    2. In the database inspection list, click Email in the Operation column of an inspection record, or select multiple inspection records and click Batch Send.
    3. In the pop-up window, select the contact or contact group, and click Confirm. The generated health report will be sent to the email of the selected contact or contact group.

    Sending email in health report page

    1. Log in to the DBbrain console, select Performance Optimization on the left sidebar. On the displayed page, select a database type at the top, select the Health Report tab.
    2. In the health report list, click Email in the Operation column of a report, or select multiple health reports and click Batch Send.
    3. In the pop-up window, select the contact or contact group, and click Confirm. The selected health report will be sent to the email of the specified contact or contact group.

    Email History

    1. Log in to the DBbrain console, click Email History in the top-right corner to view email histories of the sent health reports.
    2. In the email history, you can view the recipient, instance basic information, and email sending status.
    • The recipient information includes recipient, email, and sending time. When the recipient is a contact group, click Number of Contacts to view the details of the contacts in the group.
    • The instance basic information includes instance ID/name and report time range.
    • The email sending status includes all succeeded, partially succeeded, and all failed. When the status is partially succeeded or all failed, please check whether the email address is correct.

    Email Content

    After the email of the health report is sent successfully, user will receive an email which involves the instance ID, instance name, health level, type, time range, operation, etc. Click View in the Operation column, and you can directly download the PDF file of the health report for this instance in the email.

    Note:

    The health report is valid for 3 days. Please download it before it expires.