-
Technical Assistance
Request product support from SAP
-
Non-Technical Assistance
Request non-product support or provide feedback on SAP Support Portal site
Technical Assistance
Request product support from SAP
Non-Technical Assistance
Request non-product support or provide feedback on SAP Support Portal site
The technical prerequisites depend on which of the monitoring templates you want to use.
Template | Technical Prerequisites |
---|---|
File (Diagnostic Agent) | A current version of the Diagnostics agent must be installed on the host where the file is located. Please refer to SAP note 1858920 to find out how to install the latest version of the Diagnostics agent and how to access PAM to check if the Diagnostics agent is available for the operating system the host is running on. |
File (ABAP) | The following technical prerequisites need to be fulfilled to use this monitoring template:
To use this monitoring template the respective managed system (i.e. the system in which the data collector is executed) requires file level access to the folder containing the file to be monitored. To test whether the collector can access this folder, you can check whether folder and file are visible in transaction AL11 of the managed systems. In addition, the user executing the data collection (user maintained in the TMW RFC destination to the managed system) needs to have the authorization to access files (authorization object S_CTS_ADMI, field CTS_ADMFCT = EPS1). See SAP note 1267908 for further details. |
File (Remote) | The following technical prerequisites need to be fulfilled to use this monitoring template:
|
Monitoring Template: File (Diagnostic Agent)
The metrics are provided via a data collector on the Diagnostics agent. This agent can be deployed on numerous types of hosts and operating systems. It doesn't require any SAP system to be running on this host. So this agent can also by used to monitor non-SAP hosts.
If you want to monitor the content of XML files please refer to the File (ABAP) monitoring template.
Metric Name | Description | MAI Category | Since SP |
---|---|---|---|
Number of Files available |
Number of files which matches the configured pattern. |
Availability |
7.1 SP10 |
File Content Scanner (Average) |
This metric aggregates all values in a file which are found after a specific search pattern + offset. |
Exception |
7.1 SP12 |
File Content Scanner (Sum) |
This metric sums up all values in a file which are found after a specific search pattern + offset. |
Exception |
7.1 SP12 |
Age of File |
Age (in min) since last modification. If more than one file fits the pattern for the file name the time of the latest modification is returned. |
Performance |
7.1 SP10 |
Last Folder Update | This metric measures the time (in minutes) since last modification of the configured folder. Usually, the Last Modified time stamp of a folder is updated in case files within the specified folder are created or deleted. |
Performance | 7.2 SP05 |
Number of Entries within a File |
Number of entries (lines) within a file. |
Performance |
7.1 SP12 |
Number of Pattern Matches within a File |
Number of entries within a file which match a specific search pattern. |
Performance |
7.1 SP12 |
Size of File |
Total size in Byte of the configured file(s). If more than one file fits the pattern the total size of all files is returned. |
Performance |
7.1 SP10 |
The metrics are provided via the ST-A/PI-based file monitoring functionality. Be aware that the ST-A/PI-based file monitoring is only capable to monitor files located in an ABAP-based SAP system.
Metric Name | Description | MAI Category | Since SP |
---|---|---|---|
Creation time of file |
This metric monitors whether the specified file exists at the specified location at the time of the data collection or at a specified point in time. Since the time stamp checked is the stamp for “change”, the monitoring effectively determines if a file was created or updated until a certain point in time. |
Exceptions |
7.1 SP12 |
Number of Pattern Matches within a File (XML) |
Counts how often a pattern occurs between certain tags in an XML file. |
Performance |
7.1 SP12 |
File Content Scanner (XML) |
Calculates aggregates (e.g. MIN, MAX, AVG,… ) of values occurring between specified tags in an XML file. |
Exceptions |
7.1 SP12 |
This monitor uses a direct native access to the remote SFTP server. It is not necessary to have a diagnostics agent installed on the SFTP server. One of the Solution Manager Diagnostics agents will be used during the setup. The diagnostics agent will connect from the Solman network segment, only the access to the remote SFTP server is required (host, port).
Metric Name | Description | MAI Category | Since SP |
---|---|---|---|
Size of File | This metric measures the total size in Byte of the configured file(s). | Performance | 7.1 SP14 |
File exists | Availability of configured files | Availability | 7.1 SP14 |
Age of File | This metric measures the time (in min) since last modification of the configured file(s). | Performance | 7.1 SP14 |
The Interface and Connection Monitoring setup can be accessed via SAP Solution Manager Configuration (SOLMAN_SETUP).
To access the Integration Monitoring setup, go to SAP Solution Manager Configuration (SOLMAN_SETUP) → Application Operations → Integration Monitoring → Interface and Connections.
Note: If you didn't perform the infrastructure configuration yet, follow the Interface and Connection Monitoring Setup with SAP Solution Manager 7.2.
Navigate to the Define Scope step. You can create a new scenario or use an existing one. Make sure the sender and the receiver system are part of the Interface and Connection Monitoring scenario.
Create the Interface Channel:
Maintain the Interface:
Select Metrics:
On the Metrics tab, select the metrics you want to monitor. Please note that the selected metrics are collected for each file interface entered above.
Enter Metric Parameters:
You can maintain attributes as described in the Interface and Connection Monitoring Setup with SAP Solution Manager 7.2 on the Attributes tab.
Thresholds and the collection schedule are maintained in the next step of the guided procedure. Once you have maintained all your channels, click Next in the main guided procedure to move to the Activation step.
Maintain Thresholds and Schedule:
Navigate to the Define Scope step. You can create a new scenario or use an existing one. Make sure the sender and the receiver system are part of the Interface and Connection Monitoring scenario.
Create the Interface Channel:
Maintain the Interface:
Pattern: If the file can be identified by a certain pattern in its file name, you can specify the pattern here. If you want to search for a pattern without specifying the file name, enter an ‘*' in the “File name” field. If the file name contains a dynamic part in regard to the date you can use the placeholders $TODAY or $YESTERDAY to identify the right files. Note that this field is limited to 75 characters.
User (File Creator): Maintain the user that provides the file (user name as displayed in transaction AL11). Note that this field is limited to 40 characters.
Select Metrics:
On the Metrics tab, select the metrics you want to monitor. Note that the selected metrics are collected for each file interface entered above.
Enter Metric Parameters:
File Pattern: This parameter allows the definition of a pattern in the name of the file that should be monitored. It provides the same functionality as the respective parameter on managed object level. If possible, the parameter on managed object level should be used. In this case enter a ‘*' on metric level.
Expected Change Time: Maintain the point in time at which the file should have been created or updated. The format for your entry should be hhmmss or hh:mm:ss.
Stop Alerting [min.]: In case the file does not arrive or has not been updated, you can define a maximum time frame (in minutes) in which alerts are raised. Until this time has passed, each data collection for the managed object will potentially create a new alert. After this time frame has passed, alerts are no longer generated for this instance of the managed object. This value must be higher than the frequency maintained for the data collection for this managed object as otherwise alerts may not be generated.
Metric: Number of Pattern Matches within a File (XML)
Search pattern (mandatory, case sensitive): Pattern whose occurrence is counted.
Parent tag name (case sensitive): Parent tag for the pattern.
Child tag name (case sensitive): Child tag for the pattern.
Pattern is tag name: Flag to be set if the pattern is a tag name. Enter 'X' or ' '.
XML tag name (mandatory, case sensitive): Name of the XML tag between which the value occurs.
Aggregation Type (mandatory): Aggregation of the values (e.g. MIN, MAX, AVG,… ). A value help is available.
You can maintain attributes as described in the Interface and Connection Monitoring Setup on the Attributes tab.
Thresholds and the collection schedule are maintained in the next step of the guided procedure. Once you have maintained all your channels, click Next in the main guided procedure to move to the Activation step.
Maintain Thresholds and Schedule:
Create Standalone Service:
To be able to use this monitor, you need to create an (S)FTP endpoint that points to the host with the (S)FTP server on which the files are created.
The second step is to create the end-point for the cloud service.
Create the End-Point:
Navigate to the Define Scope step of Interface and Connection Monitoring. You can create a new scenario or use an existing one. Make sure the sender and the receiver system are part of the Interface and Connection Monitoring scenario.
Create the Interface Channel:
Maintain the Interface:
Select Metrics:
On the Metrics tab, select the metrics you want to monitor. Note that the selected metrics are collected for each file interface entered above.
You can maintain attributes as described in the Interface and Connection Monitoring Setup on the Attributes tab.
Thresholds and the collection schedule are maintained in the next step of the guided procedure. Once you have maintained all your channels, click Next in the main guided procedure to move to the Activation step.
Maintain Thresholds and Schedule:
Note: Advanced Configuration for Collector Context
If you select another collector context, e.g. if you have a specific agent installed on a host or system you want to use or if you need to use another agent because network restrictions on the SAP Solution Manager agents.
However to enable another host or system to collect the information you have to move the (S)FTP configuration. By default, when you maintain an (S)FTP standalone server in transaction S2S_SETUP the login and connection information to the (S)FTP server are stored in the scope of the Solution Manager diagnostic agent(s).
The easiest way to enable the complete free selection of agents and systems is to move this configuration to the Global scope where it is accessible for all agents.
If you only want to save the properties on a specific agent you could do this as well. It is done the exact same way, but instead of the Global scope you select the scope of the agent you want to change.
After saving you can select whatever agent has the configuration in the scope selection of the interface channel activation. Please note, that only hosts and systems that have SMD agents installed will work.