cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring CCMS agent to monitor logfile

Former Member
0 Kudos

Hello Experts,

We are configuring the CCMS agento to read the alert log and search and alert us for ORA-00600 errors. We have configured the sapccmsr.ini file as follows:

### Configuration file for CCMS agents SAPCCMSR and SAPCCM4X

### Format of entries for plugins:

# PlugIn <full path of shared library to load>

### Format of entries for logfile monitoring:

LogFile /usr/sap/tmp/logmon/templatelogmon.ini

# LogFileDir /usr/sap/tmp/logmon/

# LogFile <full path of logfile template>

### Format of entries for the option to delete trees if no corresponding logfile exists:

### This Parameter is optional, if not specified the tree still remains

# LogFileParam DelTree

### Format of entries for mechanism to filter out SAPOSCOL values:

# OsColFile <full path of oscolfile template>

OsColFile /usr/sap/WRQ/oscolfile.txt

The contents of templatelogmon.ini are as follows:

LOGFILE_TEMPLATE

DIRECTORY="/oracle/WRQ/saptrace/background"

FILENAME="alert_WRQ.log"

MTE_CLASS="ORAALERT"

PATTERN_0="ORA-00600"

VALUE_0=RED

MESSAGECLASS_0="SAP-T100"

MESSAGEID_0="rt 01"

However, we are facing syntax errors to read the templatelogmon.ini file. Following is the error in the log file:

Tue Dec 28 19:34:24 2010

ALLOGLIB: WARNING: Logfile Monitoring cannot read template file /usr/sap/tmp/logmon/templatelogmon.ini

ALLOGLIB: WARNING: please check file for syntax errors.

We have checked and confirmed that both the files - sapccmsr.ini and templatelogmon.ini are readable by <sid>adm user and permissions/ownerships are correctly set. We are pretty sure that there are no typo errors in the templatelogmon.ini file since we have taken it from help.sap.com

Please help us to rectify the "syntax error" as reported in the log file. We are unable to proceed with our Solman project.

Thanks.

Warm Regards,

Anup

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

The log file templates follow a naming convention and are should be in a particular directory,

please refer this

[http://help.sap.com/erp2005_ehp_04/helpdata/en/aa/60e143a530d642a4841a45499605e0/frameset.htm|http://help.sap.com/erp2005_ehp_04/helpdata/en/aa/60e143a530d642a4841a45499605e0/frameset.htm]

Jansi

Former Member
0 Kudos

Hi Jansi,

Thanks for your reply. We have checked the link given. We have confirmed that the configuration is as per given in the link. Infact we have used the same template mentioned for Oracle Alert Log monitoring. We have placed the files at the correct location, followed the naming conventions. But still we are getting the syntax error.

I am unable to find any relevant info on marketplace as well. Could this be a bug that we are hitting?

Regards,

Anup

Former Member
0 Kudos

Hi Anup,

please make sure to have a dot (just a dot, nothing else!) in the last line of the templatefile.

Otherwise, the CCMS agent will point out the syntax error.

Kind regards,

Dirk

Former Member
0 Kudos

Hello All,

Adding the dot resolved the issue!! Thanks a ton Dirk!

Former Member
0 Kudos

Just an additional info -- SAP note 535199 mentions the recommendation..

Cheers

Anup..

Answers (0)