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 , including details about which general file properties are to be monitored. You do this by setting appropriate parameters in the log file template. These parameters are described below.
This section describes these file properties, which you can monitor with agents. These are as follows:
Technically, in this case, you are monitoring the age of the last inode change. This has a different meaning depending on the platform you are using:
You can use the following parameters of the log file template to determine which file properties are to be monitored:
MONITOR_FILESIZE_KB=<size> (Default: Log File Size is not created) You can use this optional parameter to monitor the file size in a node called Log File Size, and to have an alert generated if the size exceeds a defined threshold value:
|
MONITOR_FILESIZE_BELOW_KB=<size> (Default: Log File Size is not created) You can use this optional parameter to monitor the file size in a node called Log File Size, and to have an alert generated if the size falls below a defined threshold value:
|
MONITOR_LAST_FILE_MODIF=[0,1] (Default = 0) You can define here whether a separate performance node File Time Stamp is to be created, which then monitors the last change time point of the file (1), or whether the last change time point is not to be displayed (0) |
MONITOR_FILE_AGE_MINUTES=<age> (Default: File Age is not created) You can use this optional parameter to monitor the time that has passed since the file was last changed (note the background information above), and have an alert generated if the threshold value is exceeded:
|
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: