SnapManager for SAP

Configure email notification for an existing profile


When you are updating an profile, you can configure to receive an email notification on completion of the database operation.

What you’ll need

  • You must configure the email address from which the alerts are sent.

  • You must enter a single email address or multiple email addresses to which alerts will be sent.

    You can use a comma-separated list for multiple addresses. You must ensure that there is no space between the comma and the next email address. Optionally, you can add a subject to the email as well.

    Note You must ensure that you enter the set of multiple email addresses within double quotation marks.
  1. Enter the following command:

    smsap profile update -profile profile [-profile-password profile_password][-database -dbname db_dbname -host db_host [-sid db_sid] [-login -username db_username -password db_password -port db_port]] [{-rman{-controlfile | {-login -username rman_username -password rman_password -tnsname rman_tnsname}}} | -remove-rman] [-retain [-hourly [-count n] [-duration m]] [-daily [-count n] [-duration m]] [-weekly [-count n] [-duration m]] [-monthly [-count n] [-duration m]]] [-comment comment][-snapname-pattern pattern][[ [ ]]| [[]] [-notification [-success -email email_address1,email_address2 -subject subject_pattern] [-failure -email email_address1,email_address2 -subject subject_pattern]]

    You can use the success option to receive a notification only for successful database operations and the failure option to receive a notification only for failed database operations.