Show TOC

 Defining the Node Properties for File MonitoringLocate this document in the navigation structure


You can use SAP NetWeaver management agents to monitor files, for example, for their size, their existence, their last change date, or their content. You define all of this in Log File Templates .

You can also specify the node properties for the file monitoring subtrees in these log file templates. These parameters have no effect on which files are monitored, or which alerts are generated when.

The following options are available:

  • You can influence the naming of the MTE names and classes. Use this function, for example, if you want to create your own rule-based monitors, in which only particular monitored files are to be displayed.
  • You can assign Methods to the node in the log file template.

    More information about the nodes for file monitoring in the alert monitor: Log File Monitoring Monitor .


You can use the following log file template parameters to determine the properties of the nodes in the alert monitor generated by file monitoring:

MONITOR_CONTEXT="<context name>"        (Default: Files_of_<host name>)

You can set the name of the monitoring context in which the log file agent writes the results of the monitoring here. Regardless of whether or not you set this parameter, the MTE class of the monitoring context is always CcmsFileMonitoring. By specifying this MTE class, you can define a rule-based monitor that contains the subtrees for all monitored log files (more information: Creating and Changing Monitors ).

In this way you can, for example, store monitored files for different components in different contexts, to further group the results. Like the PREFIX parameter (see below), this function allows you to differentiate between the different monitored files, but, unlike PREFIX, provides an additional hierarchical level to group the monitored files. Use this parameter only if you require this additional hierarchical level.

MTE_CLASS=<MTE class>                              (Default = CcmsFile<file name>)

You can use this parameter to set the MTE class of the monitoring object that the system creates for the monitored file. The associated monitoring attributes have the MTE class <MTE class of the monitoring object>.<attribute abbreviation>.


Note that the default value for the MTE class contains the name of the monitored file.

PREFIX=<character string>                      (Optional parameter)

You can use this parameter to define a prefix for the MTE name that is then displayed in the alert monitor. This allows you to differentiate between different files with different paths but the same name.

AUTOREACTION_CEN="<method name>"        (Default: no method)

You can use this to set the central auto-reaction method assigned to the nodes Lines found for Pattern and File Existence (if they exist).

You can use this to directly assign a central auto-reaction method to the above nodes using the log file template. This means that even if an agent has only just been registered or a log file that meets the FILENAME condition from a log file template has only just been created, the corresponding node is assigned the specified auto-reaction method from the time it is created.

This ensures quicker processing of the alert; since the assignment of the central auto-reaction method is otherwise performed by the program SAPMSSYT, which only runs once an hour, by default. In extreme cases, it is even possible that with traditional method assignment, the auto-reaction method would not even be executed for the first alerts of the relevant node.

AUTOREACTION_LOC="<method name>" (Default: no method)

You can use this parameter to set the local auto-reaction method assigned to the nodes Lines found for Pattern and File Existence (if they exist). (For the traditional assignment of the method, see Assigning Methods to MTE Classes or Individual MTEs )

Like the parameter AUTOREACTION_CEN, the purpose of this parameter is to speed up the assignment of the auto-reaction method to the node that you have just created. This ensures quicker processing of the corresponding alerts or the execution of the auto-reaction method.

ANALYZEMETHOD="<method name>" (Default: no method)

You can set the analysis method assigned to the alert here.


If you want to use file monitoring with SAP NetWeaver management agents, create one or more log file templates. Specify this log file template in Configuration File SAPCCMSR.INI .


If you create a log file template, take account of the information in Structure of the Log File Templates for Monitoring Files , which contains a short summary of all possible parameters. Other parameters of log file templates are described by topic in the following sections: