Skip to Content
Author's profile photo Kat Johnston

Solution Manager Technical Monitoring for Email (SCOT/SOST)

Purpose:

Currently email monitoring is not delivered in a standard SAP delivered Technical Monitoring template. Below are the steps for setting up two custom metrics and one custom alert in Solution Manager Technical Monitoring for monitoring failed and queued email messages. Steps are based on a SolMan 7.1 SP14 system.

References:

Configuration:

Managed System

By default the SAPconnect data is not collected in CCMS. It must be enabled first so that it can be used in Solution Manager

1. Tx RZ21, under Methods, select Method definitions. Click Display Overview

2. Search for SAPconnect – create it if it doesn’t exist or edit the existing with the following

Name: SAPconnect

Description: Data Collection method for SAPconnect

Function Module: BCOMAL_SXDS

5-27-2016 12-47-38 PM.jpg

5-27-2016 12-47-57 PM.jpg
Parameters:
Optional – refer to note 683974. The example below is based on monitoring two clients for email. our scenario we are interested in      failed and queued messages going back a week.

CLIENT: Client(s) to be monitored.

MONITOR: W – Status Waiting, E – Status Error

ADDR_TYPES: INT – Email

STARTDAY_E: Number of days back to Monitor

5-27-2016 12-55-32 PM.jpg

3. Tx RZ20 > SAP CCMS Technical Expert Monitors > All Monitoring Contexts

4. Look for entry BusinessCommunication. If an entry exists:

    • Menu Extras > Activate maintenance function
    • Select the BusinessCommunication node
    • Menu Edit > Nodes (MTE) > Reset. Confirm Yes and Continue.
    • Select the BusinessCommunication node again.
    • Menu Edit > Notes (MTE) > Delete. Select Option 4 and confirm with Yes.
    • The BusinessCommuncation node will be removed.

    Note: Anytime changes are made to the SAPconnect Method you need to Reset and Delete the Businss Communcation node.

5. To start the initial collections go to tx SCOT. Menu Utilities > Alert Monitor > Start Data Collection Method.

6. View the data collections from SCOT. Menu Utilities > Alert Monitor > Display. Select SAPConnect.

    Note: Alternatively use tx RZ20 to view

    Note: The collector will run automatically every 10 minutes. This can be viewed/updated in the properties

5-27-2016 1-14-21 PM.jpg

7. Verify the data in the collectors is correct. If the data is incorrect then the data sent to SolMan will also be incorrect. Sometimes the collectors need to run     a few times before they are right – or they need to be deleted and recreated again.

SolMan Technical Monitoring

1. Tx SM_WORKCENTER > SAP Solution Manager: Configuration > Technical Monitoring (System Monitoring)

2. Go to Step > Template Maintenance

3. In the Templates section Open up Technical System > Open the SAP ABAP Custom Template. Example below is RH1-SAP ABAP 7.10 and higher:

          5-27-2016 1-22-00 PM.jpg

4. Switch to Edit Mode and open Expert Mode

Create Custom Metrics

1. Create Custom Metric

5-27-2016 1-42-57 PM.jpg

2. Enter the following values for Failed Email messages

         

  Note: The Data Collector values are from the SAPconnect CCMS monitor and are case/space sensitive! For failed messages – SAPconnect Error

          5-27-2016 1-25-06 PM.jpg

5-27-2016 1-25-51 PM.jpg5-27-2016 1-26-06 PM.jpg

3. Create a second Metric for Queued Messages (SAPconnect Queue):

          5-27-2016 1-31-36 PM.jpg

          5-27-2016 1-31-46 PM.jpg

     Note: Thresholds may need to be adjusted based on the frequency of your email send job.

          5-27-2016 1-44-06 PM.jpg

Test Custom Metrics

Test the Metrics to confirm they are working as expected:

5-27-2016 1-52-29 PM.jpg

5-27-2016 1-53-07 PM.jpg

Create Custom Alert

1. Create a Custom Alert with the following properties

          5-27-2016 1-56-40 PM.jpg

     Note: Select Do not Group Individual Occurrences so alerts are continually generated until the issue is resolved. This means an email will eventually come          out when the email server comes back online.

              

              

2. Save and apply the configuration to the managed object.

3. Save and Apply and Activate:

         

Monitoring

The data should show up in Technical monitoring within 10 minutes.

Note: There will be some delay for data to reflect SOST – the collector in the managed system runs every 10 minutes and the collector in SolMan runs every 10 minutes.

         

Assigned Tags

      8 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Nice Doc. exactly what I needed .Was looking for something like this so implemented it, its working for me 🙂

      Author's profile photo Former Member
      Former Member

      Thanks for this information, however I am having a problem with the CCMS.

      Initially the data shows in the node but one the second run it becomes obsolete, any ideas why? I have checked the notes provided and gone over the config multiple times.

      CCMS - Emails.jpg

      Author's profile photo Kat Johnston
      Kat Johnston
      Blog Post Author

      I'm not sure why this is happening - I didn't come across this issue during my setup.

      Author's profile photo Roland Weber
      Roland Weber

      I did the setup as described in the tutorial and I get the same issue like your record. The node INT becomes obsolete after a few minutes. Did you resolved this issue?

       

      Author's profile photo Former Member
      Former Member

      I have created a message to SAP and the processor told me the Solution:

      You have to select Data collection Method in Release Tab.

      Author's profile photo Nitesh Ranjan
      Nitesh Ranjan

      Very helpful document !!!

      Author's profile photo Vishal Ranjan
      Vishal Ranjan

      @Kat Johnston

      I really appreciate your efforts in creating this document. I used it word by word and was able to do the custom metric setup.

      Thanks a lot.

      Vishal Ranjan

      Author's profile photo Sonam Shahi
      Sonam Shahi

      It was a very useful document,

       

      However, I have a concern, we did the configuration and the alerts are getting triggered for email that are in error or are in waiting status, but we are getting SOLMAN alert emails in every 15 mins for the same failed emails even though we confirmed them in SOLMAN, we want to get alert and email only when a new waiting or in error entry comes in SOST. Can anyone have any idea of this Delta threshold or any other settings that we need to do.