Configure summary email notification for multiple profiles
SnapManager enables you to configure a summary email notification for multiple profiles under a repository database.
About this task
You can set the SnapManager server host as a notification host from which the summary notification email is sent to the recipients. If the SnapManager server host name or IP address is changed, then the notification host can also be updated.
You can select any one of the schedule times at which you require an email notification:
-
Hourly: To receive an email notification every hour
-
Daily: To receive an email notification daily
-
Weekly: To receive an email notification weekly
-
Monthly: To receive an email notification monthly
You need to enter a single email address or a comma-separated list of email addresses to receive notifications for operations performed using those profiles. You must ensure that there is no space between the comma and the next email address when you enter multiple email addresses.
SnapManager allows you to add a customized email subject using the following variables:
-
Profile name used for the database operation.
-
Database name
-
SID of the database
-
Name of the host server
-
Start time of the database operation in the yyyymmdd:hh:ss format
-
End time of the database operation in the yyyymmdd:hh:ss format
-
Database operation status
If you select not to add a customized subject, SnapManager displays an error message: Missing value -subject
.
-
Enter the following command:
smsap notification update-summary-notification -repository -port repo_port -dbname repo_service_name -host repo_host -login-username repo_username -email email_address1,email_address2 -subject subject-pattern -frequency {-daily-time daily_time | -hourly-time hourly_time | -monthly-time monthly_time -date {1 |2…|31} | -weekly-time weekly_time -day {1 |2 |3 |4 |5 |6 |7}} -profiles profile1 profile2 -notification-host notification-host
Other options for this command are as follows:
[-force] [-noprompt]
[-quiet | -verbose]
smsap notification update-summary-notification –repository –port 1521 –dbname repo2 –host 10.72.197.133 –login –username oba5 –email-address admin@org.com –subject success –frequency -daily -time 19:30:45 –profiles sales1 -notification-host wales