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

  1. SMTP must be configured in client 000 in order to send mail
    alerts through CCMS
  2. 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

 
/wp-content/uploads/2014/08/1_526957.png

Click on –> Display overiew ( under methods tab)

/wp-content/uploads/2014/08/2_526979.jpg

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

/wp-content/uploads/2014/08/3_526980.png

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)

/wp-content/uploads/2014/08/4_526981.png

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.

/wp-content/uploads/2014/08/5_527012.png

Thoroughly check the parameters and navigate to control tab as shown below.

Here you can set your desired value and click on save.

/wp-content/uploads/2014/08/17_527023.png

           

Now you can proceed to assign this
method to the monitoring context (Here ORA BACKUP FAILURE)

   

To progess, go to transaction RZ20

/wp-content/uploads/2014/08/7_527013.png

  
Click on Extras –> activate maintenance function

/wp-content/uploads/2014/08/8_527014.png

Expand “ALL” –> Public sets –> Sap CCMS Monitoring templates –> Double click on Database

/wp-content/uploads/2014/08/9_527025.png

Below screen should appear

/wp-content/uploads/2014/08/10_527026.png

    
Check the box backup status and click on properties (or press Shift+f7)

/wp-content/uploads/2014/08/11_527030.png
     

Once the below screen opens –> go to edit mode –> click on methods tab –> Method assignment

(Note:- You can set the threshold under general tab.)

/wp-content/uploads/2014/08/12_527031.png       
     

Below screen opens after clicking on method assignment

/wp-content/uploads/2014/08/13_527032.png

   
Click on Auto-reaction tab –> and go to edit mode

/wp-content/uploads/2014/08/14_527036.png    
     

Under the method allocation area, select on method name
radio button and give the method that was created earlier

/wp-content/uploads/2014/08/15_527037.png

      Click on save.

Once saved go back to initial screen à check box on backup status
and click on save as shown below

/wp-content/uploads/2014/08/15_1_527038.png

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

To report this post you need to login first.

4 Comments

You must be Logged on to comment or reply to a post.

  1. Alwina Enns

    Hello Naga,

    one small remark:

    You have assigned the autoreaction method directly to MTE, this assignement can be lost after a system restart. It is better to assign an autoreaction to the MTE class. If you display properties of the MTE, then choose “Methods” tab and then choose “Goto –> Method assignement for MTE class”, you will get this screen:

    mte_class.PNG

    and you should assign your autoreaciton method from here to MTE class. This will be more stable.

    Regards,
    Alwina

    (0) 
  2. Rajarshi Chatterjee

    Hi Naga,

    Well documented having steps which can be easily followed. Just a suggestion – The pre-requisites section can have more information like the jobs that need to run for CCMS alerts to be sent. Also in previous versions of NetWeaver like NW 7.0 you need to register CCMS agent. Couple of lines regarding the CCMS agents would also be good.

    Thanks,

    Raj

    (0) 
  3. Seshu Koti

    Hi Naga,

    Very good document and which can help to configure CCMS alerts locally.

    Note 176492 regarding recipients is nice one.

    Thanks

    Seshu

    (0) 

Leave a Reply