How to Monitor SAP Web Application Server Using eG Enterprise?
eG Enterprise is capable of monitoring the SAP Web Application server in both agent-based and agentless manners. To make the eG agent to communicate with the SAP WAS, a set of pre-requisites should be fulfilled before starting monitoring the server. These requirements are given below.
Pre-requisites for Monitoring a SAP Web AS
Before attempting to monitor a SAP Web AS, make sure that the following requirements are in place:
- Make sure that four specific ‘.jar’ files are available in the install folder for SAP WAS. To know which are these jar files and how to make them available in the install folder, refer to Configuring SAP Web Application Server.
- Starting from SAP WAS v7.5, the four '.jar' files used for monitoring are compatible with Java 1.8 only. The eG agent on the other hand is bundled with JRE 1.7. Because of this JRE mismatch, the eG agent may not be able to monitor SAP WAS v7.5 (and above). To avoid this, make sure that you replace the eG agent's JRE folder with the corresponding folder from a JRE 1.8 installation.
- Make sure you know the name of the SAP Web AS instance that needs to be monitored. To know how to figure out the instance name, refer to Determining the Name of the SAP Web AS Instance.
- The eG agent connects to the SAP Web AS instance using the P4 protocol. Find the port at which the P4 protocol listens, so that the eG agent can be configured with the same. To know where to look for the P4 protocol port, see Determining the P4 Port.
- Make sure you have the valid credentials of a user who has the right to log on to the SAP Web AS instance to be monitored. The eG agent has to be configured with the credentials of this user, so that it is able to connect to the SAP Web AS instance.
- To perform eG JVM monitoring of the SAP Web Application Server and collect additional metrics, the eG agent uses SAP JMX. To know how to enable SAP JMX and collect the required metrics, refer to the Enabling SAP JMX Support topic. If the SAP WAS instance to be monitored is in a 'multi-server' environment, then follow the steps detailed in Enabling JVM Monitoring for a Multi-server SAP Web Application Server Instance, to know how to enable JVM monitoring for that instance.