
Alert Logging for CCMS Agents
Use
You can define an additional log file for every
CCMS agent that logs all alerts that the agent reports. This is especially useful if you do not use the CCMS monitoring architecture (which has its own log) to display alerts, but want to use other system management tools that are to be based on the data provided by the CCMS agents.Features
Installation
If you want to use this alert logging, you must set both of the following parameters in the
SAPCCMSR.INI configuration file for the CCMS agent during the Installation of the CCMS agent.Parameter to Activate Alert Logging
|
Parameter |
Meaning |
Default Value |
|
AlertLog <filename> |
Complete path of the log file (Specify the file name without extension; the extension .log is automatically added) |
|
|
AlertLogLevel <level> |
Scope of the logging: level=0 :No logging level=1 :New and completed alerts level=2 :Also suppressed alerts, new values for MTEs, reset, deleted, or newly created MTEs |
If AlertLog is not set:level=0 if AlertLog is setlevel=1 |

Every day, the log file of the previous day is saved under the following name:
<filename>_<Date in the format YYYYMMDD>.log
Structure of the Log File
Every line of the resulting log file for monitoring the agent has the following structure:
<Alert type> <Timestamp> <Alert ID> < Alert short text> <MTE>
The specified elements have the following meanings:
|
Element |
Meaning |
|
Alert type |
Type of alert; the following values are possible: Type of alert: warning or problem Condition for alert no longer exists |
|
Timestamp |
Time of the alert (not for alert type = ALERT VANISHED) |
|
Alert ID |
Self-explanatory |
|
Alert short text |
Short text of the message assigned to the alert |
|
MTE |
Quadrupel with the structure: <System>\<Context>\...\ |
An example of an alert log file created by a CCMS agent:
# AlertLog file started at 20010520
# Please, do not edit manually.
#
ALERT RED Sun May 20 00:00:58 2001 [ 19|20215] "NiConnect failed, rc: -0010" for MTE BCE\PWDF0487_BCE_26\...\R3Syslog\Communication
ALERT vanished [ 29|20194] for BCE\PWDF0487_BCE_26\...\R3Syslog\Communication
ALERT YELLOW Sun May 20 00:01:58 2001 [ 29|20216]
"88 < 100 Current value below threshold value" for MTE BCE\PWDF0487_BCE_26\...\Dialog\LogonLoadQuality
ALERT vanished [ 38|20196] for MTE BCE\PWDF0487_BCE_26\...\Dialog\LogonLoadQuality
ALERT YELLOW Sun May 20 00:02:58 2001 [ 38|20217] "71% 80% (15 Min.)
SAP buffer hit rate below threshold value" for MTE BCE\PWDF0487_BCE_26\...\Program\HitRatio