SAP
Community integration
This page describes StackState version 4.3.

What is the SAP StackPack?

The SAP StackPack is used to create a near real time synchronization with your SAP system and also pulls the metrics from it. The components supported are:
  • SAP Host
  • SAP Host instance
  • SAP Process
  • SAP Database
  • SAP Database Component

Prerequisites

To set up the StackState SAP integration you need to have:
  • โ€‹StackState Agent V2 installed on a single machine that can connect to both your SAP Instance and StackState.
  • A running SAP instance.

Networking requirements

The StackState SAP integration requires the following TCP ports:
  • 1128 for HTTP
  • 1129 for HTTPS

Enable SAP integration

To enable the SAP check and begin collecting data from your SAP host instance:
  1. 1.
    Edit the Agent integration configuration file /etc/stackstate-agent/conf.d/sap.d/conf.yaml:
    • Include details of your SAP instance:
      • host
      • url - Use http for basic authentication (user/pass) and https for client certificate authentication.
      • user
      • pass - Use secrets management to store passwords outside of the configuration file.
    • To authenticate with a client certificate and private key, add:
      • verify - Set to False to skip verification of the client certificate (default True).
      • cert - Path to the client side certificate.
      • keyfile - Path to the private key for certificate.
      1
      # Section used for global SAP check config
      2
      init_config: {}
      3
      โ€‹
      4
      instances:
      5
      - host: TEST-01 # <sap_host_name>
      6
      url: https://test-01 # <sap_host_url>
      7
      user: test # <username>
      8
      pass: test # <password>
      9
      # Extra parameters for client certificate authentication:
      10
      verify: False
      11
      cert: /path/to/cert.pem # <certificate_path>
      12
      keyfile: /path/to/key.pem # <keyfile_path>
      Copied!
  2. 2.
    โ€‹Restart the StackState Agent(s) to publish the configuration changes.
  3. 3.
    Once the Agent is restarted, wait for the Agent to collect data and send it to StackState.

Open-source

The SAP StackPack is open-source and can be found on StackState's github page.
Last modified 2mo ago