Configuration of Mail alerts through CCMS
This document describes how to
configure mail alerts for DB BACKUP FAILURE.
The same procedure can be used to
configure mail alert for any CCMS monitoring context
Pre-requisites
- SMTP must be configured in client 000 in order to send mail
alerts through CCMS - CCMS Method definition.
Procedure
Defining method
Logon into the central instance of the system for which you want to configure the alerts (Logging on to the central instance provides you more monitoring options)
Enter transaction RZ21
Click on --> Display overiew ( under methods tab)
Navigate to method "CCMS_OnAlert_Email_V2"
Tick in the check box beside as shown above.
And copy by clicking on copy button (shift+f8) --> give the name as starting with “Z” and rest as desired and copy
Once the screen is opened --> go to edit mode --> navigate to tab Release and select the checkbox auto-reaction as shown below
Now navigate to tab parameters and give the desired values.
You may go through note 176492 for further details.
Sender = DIALOG USER from 000 client. (Email id must be maintained for this user in
000 client)
Recipient = internet address, group name (to whom the alert must be sent)
Recipient type id = Depends on recipient (please refer note 176492)
And other parameters can also be included as per the requirement
Here are the parameters configured as per our current scenario requirement.
Thoroughly check the parameters and navigate to control tab as shown below.
Here you can set your desired value and click on save.
Now you can proceed to assign this
method to the monitoring context (Here ORA BACKUP FAILURE)
To progess, go to transaction RZ20
Click on Extras --> activate maintenance function
Expand "ALL" --> Public sets --> Sap CCMS Monitoring templates --> Double click on Database
Below screen should appear
Check the box backup status and click on properties (or press Shift+f7)
Once the below screen opens --> go to edit mode --> click on methods tab --> Method assignment
(Note:- You can set the threshold under general tab.)
Below screen opens after clicking on method assignment
Click on Auto-reaction tab --> and go to edit mode
Under the method allocation area, select on method name
radio button and give the method that was created earlier
Click on save.
Once saved go back to initial screen à check box on backup status
and click on save as shown below
Completion of the above process will trigger you an yello alert on "start of DB backup" and red alert if "DB backup fails"
Hope this helps