By: Gary Monk
In my first post in this blog series, I covered how you can create a new alert based on a super metric. The new alert will work like any other alert and is based on a newly created symptom that we created. In this blog post, I will provide insight into two additional steps — Configure the Standard Email Plugin and Create a Notification — to finalize your custom alert.
Configure the Standard Email Plugin
- Navigate to administration, outbound settings
- Click on the green plus sign to bring up the add/edit outbound instance window
- Select “Standard Email Plugin” for the plugin type
- Provide an instance name (in this example, I am configuring a Gmail account so I called it “Gmail”)
- Check the Use Secure Connection box
- Check the Requires Authentication box
- Enter the SMTP Host for Gmail
- Enter the Gmail port for SMTP (the port will depend on the Secure Connection Type you choose)
- Select from the dropdown the Secure Connection Type
- Enter the email address that the alert will be sent from
- Enter the password for the above email address (if you are using a Gmail account with two-step authentication, remember to create an application password and use it in place of your normal password)
- Enter the sender email address (this is the email address that appears on the notification message)
- Enter the sender name
- Click on the Test button to ensure that everything was entered correctly
- Click on the Save button to save the outbound instance
Create a Notification
- Navigate to content, notifications
- Click on the green plus sign to open the “Add Rule” window
- Enter a name for the notification
- Select the notification method of “Standard Email Plugin” from the “Select Plug-in Type” dropdown
- Additional boxes will appear after selecting the plug-in type
- Select the “Gmail” instance that we created above in the “Select Instance” dropdown
- Enter the email addresses of the DBAs that will receive the alert email in recipient(s)
- In the Filtering Criteria:
- Select “Alert Definition” in the Notification Trigger dropdown
- Click on “Select an Alert Definition”
- Find the alert definition that you created in step “Create Alert Definition”.
- Click on the select button
- Click on the save button
We have completed all of the required tasks to email a custom alert. For more information on alerts, check out these resources: