on 12-29-2010 3:52 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.