cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure sm21, st22 monitoring

SAPSupport
Employee
Employee
0 Kudos

Hello, 

This is PERSON_NAME.

I'd like to know how to monitor critical error in sm21, st22 in real time.

Is there any solution to get an alarm when critical error occurred in sm21, st22 in real time?

please let me know.

 

thanks  


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.
View Entire Topic
SAPSupport
Employee
Employee
0 Kudos

Dear customer,

Greeting from SAP Support.

As for SM21 System Log monitoring, in standard template "SAP ABAP 7.10 and higher" on Instance Level, there is alert "Errors in ABAP System Log" which consists of following metrics:

  • Frequency of System Log messages [/min]
  • Number of specific ABAP System Log Messages
  • Total number of ABAP System Log Messages

You can use the metric 'Total number of ABAP System Log Messages' to check for errors in transaction SM21.

According to Audit and logging documentation -> https://help.sap.com/docs/ABAP_PLATFORM_NEW/56bf1265a92e4b4d9a72448c579887af/c769bcbaf36611d3a651000...

There are 4 severity types:

  • Very high priority = 01
  • High priority = 02 
  • Warning = 04
  • Information = 08

In the data collection tab of your metric, you can set the MESSAGE_SEVERITY parameter to the type of sm21 message you want to monitor, in this case '01' and '02'. The data collection frequency is 5 minutes.

As for ST22 dump monitoring, in standard template "SAP ABAP 7.10 and higher" on Instance Level, we provide following metrics

  • Frequency of Short Dumps [\min]
  • Number of Short Dumps on instance
  • Number of Short Dumps on instance (Today)
  • Number of Short Dumps on instance (Yesterday)

If you want to monitor the real time situation, please consider using the metric "Number of Short Dumps on instance" with collection frequency 5 minutes. 

Best regards,

Ava Wang

SAP Support