cancel
Showing results for 
Search instead for 
Did you mean: 

CCMS create a file?

Former Member
0 Kudos

Hi,

Does anyone know if it's possible to create an autoreaction on a CCMS alert that will create a log file on the system?

Lee

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Lee,

you could execute operating system commands using the function module SALO_EXECUTE_SYSTEM_COMMAND(_V2). Details about this can be found in [note 536535|http://service.sap.com/sap/support/notes/536535] and [note 703025|http://service.sap.com/sap/support/notes/703025].

Regards, Michael

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks everyone. The ossnotes that Michael referenced are really the solution here. Testing with transactions SM49 and SM69 helped me debug me setup. By default the file gets written into the work directory. No settings required.

Lee

Former Member
0 Kudos

Thanks Michael that very helpful.

I updated the ini file with the AlertLog and AlertLogLevel. Do I need to recycle the agent for this to take effect? I'm still not seeing a log getting created. The ossnote says that it will put the log in DIR_HOME which is currently pointing to my work directory. Is that how it works?

Lee

lakshminarayanan_m
Contributor
0 Kudos

Hi lee,

As per your message concern, there is no such option for creating an ccms log file for ABAP-stack(RZ20).

Only we are having an option for JAVA-Stack, since there is no such option for seeing the log file in the java system so the file log file will store in the location where we are locating in OS path.

Regards

MLN.

Former Member
0 Kudos

Hello Lee,

> Do I need to recycle the agent for this to take effect?

sure. The agent will read sapccmsr.ini only at startup.

Regards, Michael

Former Member
0 Kudos

Thanks for the help. I'm not seeing the log file get created in the directory /usr/sap/<SID>/DVEBMGS01/log/sapccm4x

Do I have to update the ini file in that directory to tell it to write the logs? The ossnotes, although helpful, do not contain enough configuration information on how to send all yellow alerts to a log file on the CEN.

Any more help that can be offered on this?

Thanks,

Lee

Former Member
0 Kudos

Hello Lee,

let's have a look at the Online documentation: [Alert Logging for CCMS Agents|http://help.sap.com/saphelp_nw70/helpdata/EN/b6/058ea0ccd532478b13b017afb7d9b6/frameset.htm].

Regards, Michael

lakshminarayanan_m
Contributor
0 Kudos

Hi,

The log will create in the directory \usr\sap\SID\DVEBMGSXX\log\ - folder name called sapccm4x. Their u can find the log details for the ccms.

Regards

Lakshminarayanan M